puppet 3.6.1-x86-mingw32 → 3.6.2-x86-mingw32

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of puppet might be problematic. Click here for more details.

Files changed (38) hide show
  1. checksums.yaml +7 -0
  2. data/bin/puppet +4 -0
  3. data/ext/debian/puppetmaster-passenger.postinst +91 -41
  4. data/ext/rack/example-passenger-vhost.conf +4 -0
  5. data/lib/puppet/configurer/downloader.rb +3 -3
  6. data/lib/puppet/configurer/plugin_handler.rb +2 -1
  7. data/lib/puppet/defaults.rb +22 -3
  8. data/lib/puppet/indirector/facts/facter.rb +1 -1
  9. data/lib/puppet/network/http/webrick/rest.rb +9 -2
  10. data/lib/puppet/node/environment.rb +2 -0
  11. data/lib/puppet/parser/ast.rb +0 -1
  12. data/lib/puppet/parser/ast/collexpr.rb +1 -1
  13. data/lib/puppet/parser/functions.rb +26 -13
  14. data/lib/puppet/parser/resource.rb +11 -0
  15. data/lib/puppet/resource/catalog.rb +5 -2
  16. data/lib/puppet/settings.rb +53 -16
  17. data/lib/puppet/settings/array_setting.rb +17 -0
  18. data/lib/puppet/settings/base_setting.rb +22 -1
  19. data/lib/puppet/transaction.rb +1 -1
  20. data/lib/puppet/type/user.rb +4 -3
  21. data/lib/puppet/util/logging.rb +1 -0
  22. data/lib/puppet/util/tagging.rb +7 -6
  23. data/lib/puppet/version.rb +1 -1
  24. data/spec/integration/parser/compiler_spec.rb +28 -0
  25. data/spec/integration/parser/future_compiler_spec.rb +29 -0
  26. data/spec/integration/type/user_spec.rb +31 -0
  27. data/spec/unit/configurer/downloader_spec.rb +67 -35
  28. data/spec/unit/configurer/plugin_handler_spec.rb +1 -1
  29. data/spec/unit/indirector/facts/facter_spec.rb +2 -2
  30. data/spec/unit/node/environment_spec.rb +36 -0
  31. data/spec/unit/parser/functions_spec.rb +1 -4
  32. data/spec/unit/settings/array_setting_spec.rb +39 -0
  33. data/spec/unit/settings_spec.rb +69 -76
  34. data/spec/unit/type/user_spec.rb +13 -6
  35. data/spec/unit/util/logging_spec.rb +6 -0
  36. data/spec/unit/util/tagging_spec.rb +31 -0
  37. metadata +3131 -3163
  38. data/lib/puppet/parser/ast/tag.rb +0 -24
@@ -1,24 +0,0 @@
1
- require 'puppet/parser/ast/branch'
2
-
3
- class Puppet::Parser::AST
4
- # The code associated with a class. This is different from components
5
- # in that each class is a singleton -- only one will exist for a given
6
- # node.
7
- class Tag < AST::Branch
8
- @name = :class
9
- attr_accessor :type
10
-
11
- def evaluate(scope)
12
- types = @type.safeevaluate(scope)
13
-
14
- types = [types] unless types.is_a? Array
15
-
16
- types.each do |type|
17
- # Now set our class. We don't have to worry about checking
18
- # whether we've been evaluated because we're not evaluating
19
- # any code.
20
- scope.setclass(self.object_id, type)
21
- end
22
- end
23
- end
24
- end