Issue #2096 has been reported by TrevorHemsley.

----------------------------------------
Bug #2096: ConfigurationReference example on permissions does not work
http://projects.reductivelabs.com/issues/2096

Author: TrevorHemsley
Status: Unreviewed
Priority: Normal
Assigned to: 
Category: documentation
Target version: 
Complexity: Unknown
Affected version: 0.24.7
Keywords: 


I checked the ConfigurationReference and even cut and pasted the example it 
gives and amended the path to point to /etc/puppet/puppet.conf so it said

myfile = /etc/puppet/puppet.conf {owner = root, mode = 644}

and it does not work but I also tried

configfile = /etc/puppet/puppet.conf {owner = root, mode = 644}

# puppetd --test --trace --tags puppetperms
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:1070:in `send':undefined 
method `owner=' for nil:NilClass (NoMethodError)
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:1070:in`set_metadata'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:1069:in`each'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:1069:in`set_metadata'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:1068:in`each'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:1068:in`set_metadata'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:381:in`unsafe_parse'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:379:in`each'
        from 
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:379:in`unsafe_parse'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:344:in`parse'
        from /usr/lib/ruby/1.8/sync.rb:229:in `synchronize'
        from /usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:343:in`parse'
        from /usr/lib/ruby/site_ruby/1.8/puppet.rb:177:in `parse_config'
        from /usr/sbin/puppetd:274


----------------------------------------
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/puppet-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to