Mostly because the to_sym method seems to be missing and digest
seems not be loading? I am very puzzled.
$ ruby --version
ruby 1.8.6 (2009-08-04 patchlevel 383) [x86_64-linux]
1)
'Puppet::Indirector::Yaml when choosing file location
Puppet::Indirector::Yaml when choosing file location should use the
server_datadir if the process name is 'puppetmasterd'' FAILED
expected: /^\/server\/data\/dir/,
got: "fakesettingdata/my_yaml/me.yaml" (using =~)
./spec/unit/indirector/yaml.rb:33:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
2)
Puppet::Error in 'RDoc::Parser should parse to RDoc data structure'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b9a9210> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/integration/util/rdoc/parser.rb:45:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
3)
Puppet::Error in 'RDoc::Parser should get a PuppetClass for the main
class'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b969188> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/integration/util/rdoc/parser.rb:49:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
4)
Puppet::Error in 'RDoc::Parser should produce a PuppetClass whose
name is test'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/integration/util/rdoc/parser.rb:53:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
5)
Puppet::Error in 'RDoc::Parser should produce a PuppetClass whose
comment is 'comment''
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b90efd0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/integration/util/rdoc/parser.rb:57:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
6)
'Puppet::Type::Package::ProviderPkg should fail to list a package
when it can't parse the output line' FAILED
expected: {},
got: {:error=>"ok", :name=>"dummy", :status=>"missing",
:ensure=>:absent} (using ==)
./spec/unit/provider/package/pkg.rb:54:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
7)
'Puppet::Type::Package::ProviderPkg should fail to list a missing
package' FAILED
expected Puppet::Error but nothing was raised
./spec/unit/provider/package/pkg.rb:60:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
8)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should use the content of the provided key if the key is a
Puppet::SSL::Key instance'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:105:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
9)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should log that it is creating a new certificate request'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:110:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
10)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should set the subject to [CN, name]'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:117:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
11)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should set the CN to the CSR name when the CSR is not for a CA'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:124:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
12)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should set the CN to the :ca_name setting when the CSR is for a CA'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:132:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
13)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should set the version to 0'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:137:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
14)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should set the public key to the provided key's public key'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:145:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
15)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should sign the csr with the provided key and a digest'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:152:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
16)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should verify the generated request using the public key'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:158:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
17)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should return the generated request'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:180:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
18)
NoMethodError in 'Puppet::SSL::CertificateRequest when generating
should set its content to the generated request'
undefined method `hexdigest' for OpenSSL::Digest:Module
./spec/unit/ssl/certificate_request.rb:184:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
19)
Puppet::Error in 'Puppet::Node::Environment when managing known
resource types should reuse any existing resource type collection'
Could not parse for environment dev: undefined method `to_sym' for
#<Puppet::Node::Environment:0x7f673b685980> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/node/environment.rb:59:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
20)
Puppet::Error in 'Puppet::Node::Environment when managing known
resource types should create and return a new collection rather than
returning a stale collection'
Could not parse for environment dev: undefined method `to_sym' for
#<Puppet::Node::Environment:0x7f673b66a0e0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/node/environment.rb:70:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
21)
'Puppet::Node::Environment when modeling a specific
environment.modules should return a module named for every directory
in each module path' FAILED
expected: ["bar", "baz", "bee", "foo"],
got: [] (using ==)
./spec/unit/node/environment.rb:178:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
22)
'Puppet::Node::Environment when modeling a specific
environment.modules should remove duplicates' FAILED
expected: ["foo"],
got: [] (using ==)
./spec/unit/node/environment.rb:187:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
23)
Puppet::Error in 'Puppet::Parser::Compiler should have a class
method that compiles, converts, and returns a catalog'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
24)
Puppet::Error in 'Puppet::Parser::Compiler should fail intelligently
when a class-level compile fails'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673ba03df0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
25)
Puppet::Error in 'Puppet::Parser::Compiler should use the node's
environment as its environment'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
26)
Puppet::Error in 'Puppet::Parser::Compiler should include the
resource type collection helper'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b996bb0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
27)
Puppet::Error in 'Puppet::Parser::Compiler should be able to store
references to class scopes'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b9651f0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
28)
Puppet::Error in 'Puppet::Parser::Compiler should be able to
retrieve class scopes by name'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
29)
Puppet::Error in 'Puppet::Parser::Compiler should be able to
retrieve class scopes by object'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b90f8e0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
30)
Puppet::Error in 'Puppet::Parser::Compiler should be able to return
a class list containing all set classes'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b8e6418> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
31)
Puppet::Error in 'Puppet::Parser::Compiler when initializing should
set its node attribute'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
32)
Puppet::Error in 'Puppet::Parser::Compiler when initializing should
detect when ast nodes are absent'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b89e438> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
33)
Puppet::Error in 'Puppet::Parser::Compiler when initializing should
detect when ast nodes are present'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b879980> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
34)
Puppet::Error in 'Puppet::Parser::Compiler when initializing should
copy the known_resource_types version to the catalog'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
35)
Puppet::Error in 'Puppet::Parser::Compiler when initializing should
copy any node classes into the class list'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b8145d0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
36)
Puppet::Error in 'Puppet::Parser::Compiler when managing scopes
should create a top scope'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b7ef3c0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
37)
Puppet::Error in 'Puppet::Parser::Compiler when managing scopes
should be able to create new scopes'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
38)
Puppet::Error in 'Puppet::Parser::Compiler when managing scopes
should correctly set the level of newly created scopes'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b7a6b48> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
39)
Puppet::Error in 'Puppet::Parser::Compiler when managing scopes
should set the parent scope of the new scope to be the passed-in parent'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b787e00> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
40)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should set
node parameters as variables in the top scope'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
41)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should set
the client and server versions on the catalog'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b7478a0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
42)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
evaluate any existing classes named in the node'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b72cc08> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
43)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
evaluate the main class if it exists'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
44)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
create a new, empty 'main' if no main class exists'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b6eeef8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
45)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
evaluate any node classes'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b6d61f0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
46)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
evaluate all added collections'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
47)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
ignore builtin resources'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b69d710> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
48)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
evaluate unevaluated resources'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b680160> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
49)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should not
evaluate already-evaluated resources'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
50)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
evaluate unevaluated resources created by evaluating other resources'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b64ea48> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
51)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
call finish() on all resources'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b62ea18> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
52)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
call finish() in add_resource order'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
53)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
return added resources in add order'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b5fdbe8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
54)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should add
resources that do not conflict with existing resources'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b5de360> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
55)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
fail to add resources that conflict with existing resources'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
56)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should add
an edge from the scope resource to the added resource'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b5adc60> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
57)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should add
edges from the class resources to the main class'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673c3a2d98> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
58)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
just add edges to the scope resource for the class resources when no
main class can be found'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
59)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should
have a method for looking up resources'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673bf227c8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
60)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should be
able to look resources up by type and title'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673be0f110> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
61)
Puppet::Error in 'Puppet::Parser::Compiler when compiling should not
evaluate virtual defined resources'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
62)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating
collections should evaluate each collection'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673bcc3b80> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
63)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating
collections should not fail when there are unevaluated resource
collections that do not refer to specific resources'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673bc5d128> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
64)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating
collections should fail when there are unevaluated resource
collections that refer to a specific resource'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
65)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating
collections should fail when there are unevaluated resource
collections that refer to multiple specific resources'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673bb42928> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
66)
Puppet::Error in 'Puppet::Parser::Compiler when told to evaluate
missing classes should fail if there's no source listed for the scope'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
67)
Puppet::Error in 'Puppet::Parser::Compiler when told to evaluate
missing classes should tag the catalog with the name of each
not-found class'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673bab9330> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
68)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating found
classes should evaluate each class'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673ba873d0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
69)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating found
classes should not evaluate the resources created for found classes
unless asked'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
70)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating found
classes should immediately evaluate the resources created for found
classes when asked'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673ba1fde8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
71)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating found
classes should skip classes that have already been evaluated'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b9e9748> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
72)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating found
classes should skip classes previously evaluated with different
capitalization'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
73)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating found
classes should return the list of found classes'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b973c00> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
74)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating AST nodes
with no AST nodes present should do nothing'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b94a378> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
75)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating AST nodes
with AST nodes present should fail if the named node cannot be found'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
76)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating AST nodes
with AST nodes present should evaluate the first node class matching
the node name'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b8f8c08> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
77)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating AST nodes
with AST nodes present should match the default node if no matching
node can be found'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b8d1ba8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
78)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating AST nodes
with AST nodes present should evaluate the node resource immediately
rather than using lazy evaluation'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
79)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating AST nodes
with AST nodes present should set the node's scope as the top scope'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b887170> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
80)
Puppet::Error in 'Puppet::Parser::Compiler when managing resource
overrides should be able to store overrides'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b8587f8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
81)
Puppet::Error in 'Puppet::Parser::Compiler when managing resource
overrides should apply overrides to the appropriate resources'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
82)
Puppet::Error in 'Puppet::Parser::Compiler when managing resource
overrides should accept overrides before the related resource has
been created'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b7face8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
83)
Puppet::Error in 'Puppet::Parser::Compiler when managing resource
overrides should fail if the compile is finished and resource
overrides have not been applied'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b7dad58> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
84)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating nodes and
classes with the same name (
exists with the same name as the class being evaluated'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
85)
Puppet::Error in 'Puppet::Parser::Compiler when evaluating nodes and
classes with the same name (#620) should fail if a class already
exists with the same name as the node being evaluated'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b7927b0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/compiler.rb:40:in `new'
./spec/unit/parser/compiler.rb:40:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
86)
Puppet::Error in 'Puppet::Parser::Scope when looking up a variable
and the variable is qualified should be able to look up explicitly
fully qualified variables from main'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b73d738> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/scope.rb:56:in `new'
./spec/unit/parser/scope.rb:56:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
87)
Puppet::Error in 'Puppet::Parser::Scope when looking up a variable
and the variable is qualified should be able to look up explicitly
fully qualified variables from other scopes'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/scope.rb:56:in `new'
./spec/unit/parser/scope.rb:56:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
88)
Puppet::Error in 'Puppet::Parser::Scope when looking up a variable
and the variable is qualified should be able to look up deeply
qualified variables'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b7070e8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/scope.rb:56:in `new'
./spec/unit/parser/scope.rb:56:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
89)
Puppet::Error in 'Puppet::Parser::Scope when looking up a variable
and the variable is qualified should return an empty string for
qualified variables that cannot be found in other classes'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b6f14a0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/scope.rb:56:in `new'
./spec/unit/parser/scope.rb:56:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
90)
Puppet::Error in 'Puppet::Parser::Scope when looking up a variable
and the variable is qualified should warn and return an empty string
for qualified variables whose classes have not been evaluated'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/scope.rb:56:in `new'
./spec/unit/parser/scope.rb:56:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
91)
Puppet::Error in 'Puppet::Parser::Scope when looking up a variable
and the variable is qualified should warn and return an empty string
for qualified variables whose classes do not exist'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b6c7e20> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/scope.rb:56:in `new'
./spec/unit/parser/scope.rb:56:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
92)
Puppet::Error in 'Puppet::Parser::Scope when looking up a variable
and the variable is qualified should return ':undefined' when asked
for a non-string qualified variable from a class that does not exist'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b6aecb8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/scope.rb:56:in `new'
./spec/unit/parser/scope.rb:56:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
93)
Puppet::Error in 'Puppet::Parser::Scope when looking up a variable
and the variable is qualified should return ':undefined' when asked
for a non-string qualified variable from a class that has not been
evaluated'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/scope.rb:56:in `new'
./spec/unit/parser/scope.rb:56:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
94)
Puppet::Error in 'The require function should add a dependency
between the 'required' class and our class'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673bfa0d30> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/integration/parser/functions/require.rb:8:in `new'
./spec/integration/parser/functions/require.rb:8:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
95)
Puppet::Error in 'Puppet::Resource::Type when evaluating its code
should set all of its parameters in a subscope'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b9b6668> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:325:in `new'
./spec/unit/resource/type.rb:325:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
96)
Puppet::Error in 'Puppet::Resource::Type when evaluating its code
should store the class scope'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:325:in `new'
./spec/unit/resource/type.rb:325:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
97)
Puppet::Error in 'Puppet::Resource::Type when evaluating its code
should evaluate the code if any is provided'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b95ee18> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:325:in `new'
./spec/unit/resource/type.rb:325:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
98)
Puppet::Error in 'Puppet::Resource::Type when evaluating its code
should noop if there is no code'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b9355e0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:325:in `new'
./spec/unit/resource/type.rb:325:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
99)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should create a resource instance'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
100)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should set its resource type to 'class' when it is a hostclass'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b8f75b0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
101)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should set its resource type to 'node' when it is a node'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b8d8db8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
102)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should fail when it is a definition'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
103)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should add the created resource to the scope's catalog'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b899668> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
104)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should evaluate the parent class if one exists'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b87cbd0> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
105)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should fail to evaluate if a parent class is defined but cannot be
found'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
106)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should not create a new resource if one already exists'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b829610> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
107)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should return the existing resource when not creating a new one'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b802e70> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
108)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should not create a new parent resource if one already exists and it
has a parent class'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
109)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should tag the catalog with the resource tags when it is evaluated'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b7ca070> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
110)
Puppet::Error in 'Puppet::Resource::Type when creating a resource
should tag the catalog with the parent class tags when it is evaluated'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b7a8df8> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/resource/type.rb:367:in `new'
./spec/unit/resource/type.rb:367:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
111)
Puppet::Error in 'Puppet::Parser::Resource::Reference when modeling
defined types should be able to find defined types'
Could not parse for environment production: undefined method
`to_sym' for
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/resource/reference.rb:93:in `new'
./spec/unit/parser/resource/reference.rb:93:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
112)
Puppet::Error in 'Puppet::Parser::Resource::Reference when modeling
defined types should be able to find classes'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b686038> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/resource/reference.rb:93:in `new'
./spec/unit/parser/resource/reference.rb:93:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'
113)
Puppet::Error in 'Puppet::Parser::Resource::Reference when modeling
defined types should be able to find nodes'
Could not parse for environment production: undefined method
`to_sym' for #<Puppet::Node::Environment:0x7f673b66f518> at
/etc/puppet/manifests/site.pp:13
grammar.ra:633:in `_reduce_156'
grammar.ra:632:in `each'
grammar.ra:632:in `_reduce_156'
./spec/unit/parser/resource/reference.rb:93:in `new'
./spec/unit/parser/resource/reference.rb:93:
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:22:in
`run'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`each'
./spec/monkey_patches/add_confine_and_runnable_to_rspec_dsl.rb:17:in
`run'