Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Sean Griffin updated an issue Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: Sean Griffin QA Risk Assessment: Medium QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at https://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title John Duarte commented on PUP-5035 Re: undefined method `keys' for nil:NilClass in static_compiler This passes manual testing on RedHat-7 using puppet-agent at SHA cab8ee5 containing puppet at SHA 5080ce5. 1. Install puppetserver and puppet-agent on SUT puppetserver-2.1.3-0.1SNAPSHOT.2015.11.02T0209 puppet-agent-1.2.7.363.gcab8ee5 2. Create test module with recursive file resource with source pointing to file. mkdir -p /etc/puppetlabs/code/environments/production/modules/hello/files mkdir /etc/puppetlabs/code/environments/production/modules/hello/manifests echo 'Hello world' > /etc/puppetlabs/code/environments/production/modules/hello/files/hello.txt cat > /etc/puppetlabs/code/environments/production/modules/hello/manifests/init.pp << EOS class hello {
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title John Duarte commented on PUP-5035 Re: undefined method `keys' for nil:NilClass in static_compiler Thanks Josh Cooper. The --catalog_terminus==static_compiler option reproduces the error. Using puppet-agent from master at SHA cab8ee5 containing puppet at SHA 5080ce5, I get the following error. Is the expected behavior? [root@it682jaw1ji9q86 ~]# /opt/puppetlabs/bin/puppet apply compiler.pp --catalog_terminus=static_compiler --trace Notice: Compiled catalog for it682jaw1ji9q86.delivery.puppetlabs.net in environment production in 0.03 seconds Error: Could not retrieve content for {md5}f0ef7081e1539ac00ef5b761b4fb01b3 from filebucket: File not found /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/file_bucket/dipper.rb:111:in `get_bucket_file' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/file_bucket/dipper.rb:103:in `getfile' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/content.rb:240:in `read_file_from_filebucket' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/content.rb:187:in `each_chunk_from' /opt/puppetlabs/puppet/lib/ruby/vendor_ruby/puppet/type/file/content.rb:174:in `block in write'
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title John Duarte assigned an issue to John Duarte Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: John Duarte Assignee: qa John Duarte Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Josh Cooper assigned an issue to qa Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: Josh Cooper Status: Ready for CI Test Assignee: Josh Cooper qa Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Josh Cooper assigned an issue to Josh Cooper Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: Josh Cooper Assignee: Josh Cooper Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Josh Cooper updated an issue Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: Josh Cooper Release Notes Summary: The static compiler would raise a NoMethodError exception if it tried to inline metadata for a file resource where recurse was true, but the source parameter referred to a file , e.g. `source => 'puppet:///modules/puppet/puppet.conf'` , referred to a file on the master. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Josh Cooper updated an issue Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: Josh Cooper Release Notes Summary: The static compiler would raise a NoMethodError exception if it tried to inline metadata for a file resource where recurse was true, but the source parameter referred to a file, e.g. `source => 'puppet:///modules/puppet/puppet.conf'` Release Notes: Bug Fix Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Steve Barlow updated an issue Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: Steve Barlow Sprint: Client 2015-11-11 Scrum Team: Language Client Platform Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Steve Barlow updated an issue Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: Steve Barlow Sprint: Language Triage Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Michael Smith updated an issue Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: Michael Smith Story Points: 2 Sprint: Language Triage Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Change By: Henrik Lindberg Scrum Team: Language Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To post to this group, send email to puppet-bugs@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-5035) undefined method `keys' for nil:NilClass in static_compiler
Title: Message Title Taylan Develioglu created an issue Puppet / PUP-5035 undefined method `keys' for nil:NilClass in static_compiler Issue Type: Bug Assignee: Unassigned Created: 2015/08/13 12:55 AM Priority: Normal Reporter: Taylan Develioglu get_child_resources() can return nil if the source attribute of the file resource points to a file instead of a directory. This results in a raised NoMethodError with the static compiler set as the catalog terminus and a file resource declared that has the recurse parameter set to true, e.g.: file { '/etc/puppet.conf': recurse => true, source => 'puppet:///modules/puppet/puppet.conf', }