Issue #4336 has been updated by James Turnbull.

Category set to installation
Status changed from Unreviewed to Accepted
Target version set to 2.6.1


----------------------------------------
Bug #4336: puppet requires puppet group on client
http://projects.puppetlabs.com/issues/4336

Author: andrew grim
Status: Accepted
Priority: High
Assigned to: 
Category: installation
Target version: 2.6.1
Affected version: 2.6.0
Keywords: 
Branch: 


I use the puppet gem on my clients, and I don't use a puppet user/group on 
those machines.  After upgrading to 2.6 puppet no longer works and complains 
about needing a puppet group.  I think a good solution would either be to have 
the puppet executable create the user (less ideal), add documentation for 
upgrading the gem about the need to add users (even less ideal), or just not 
requiring the user/group (yay!).

My hunch is that this story is related, sorry if this is just a total dup - 
http://projects.puppetlabs.com/issues/4284

Here's some output:

[r...@andrew102 ~]# puppetd -tv --trace --debug
debug: Failed to load library 'selinux' for feature 'selinux'
debug: Puppet::Type::User::ProviderDirectoryservice: file /usr/bin/dscl does 
not exist
debug: Puppet::Type::User::ProviderUser_role_add: file roleadd does not exist
debug: Puppet::Type::User::ProviderLdap: true value when expecting false
debug: Puppet::Type::User::ProviderPw: file pw does not exist
debug: Puppet::Type::File::ProviderMicrosoft_windows: feature microsoft_windows 
is missing
debug: Failed to load library 'ldap' for feature 'ldap'
debug: /File[/etc/puppet/ssl/certificate_requests]: Autorequiring 
File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl/certs/ca.pem]: Autorequiring 
File[/etc/puppet/ssl/certs]
debug: /File[/etc/puppet/ssl/private_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/state/state.yaml]: Autorequiring 
File[/var/lib/puppet/state]
debug: /File[/etc/puppet/ssl/certs]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/client_yaml]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl]: Autorequiring File[/etc/puppet]
debug: /File[/etc/puppet/ssl/private]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/state]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/private_keys/andrew102.kongregate.com.pem]: 
Autorequiring File[/etc/puppet/ssl/private_keys]
debug: /File[/var/lib/puppet/state/classes.txt]: Autorequiring 
File[/var/lib/puppet/state]
debug: /File[/var/lib/puppet/run]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/public_keys/andrew102.kongregate.com.pem]: 
Autorequiring File[/etc/puppet/ssl/public_keys]
debug: /File[/etc/puppet/ssl/crl.pem]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/etc/puppet/ssl/public_keys]: Autorequiring File[/etc/puppet/ssl]
debug: /File[/var/lib/puppet/reports]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/log]: Autorequiring File[/var/lib/puppet]
debug: /File[/etc/puppet/ssl/certs/andrew102.kongregate.com.pem]: Autorequiring 
File[/etc/puppet/ssl/certs]
debug: /File[/var/lib/puppet/clientbucket]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/facts]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/client_data]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/lib]: Autorequiring File[/var/lib/puppet]
debug: /File[/var/lib/puppet/state/graphs]: Autorequiring 
File[/var/lib/puppet/state]
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/parameter.rb:171:in 
`fail'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/type/file/group.rb:54:in
 `insync?'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/type/file/group.rb:50:in
 `each'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/type/file/group.rb:50:in
 `insync?'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:148:in
 `param_is_insync?'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:56:in
 `changes_to_perform'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:53:in
 `reject'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:53:in
 `changes_to_perform'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction/resource_harness.rb:87:in
 `evaluate'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:49:in 
`apply'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:114:in 
`eval_children_and_apply_resource'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:92:in 
`eval_resource'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:143:in 
`evaluate'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util.rb:414:in 
`thinmark'
/usr/local/lib/ruby/1.8/benchmark.rb:308:in `realtime'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util.rb:413:in 
`thinmark'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:142:in 
`evaluate'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:135:in 
`each'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/transaction.rb:135:in 
`evaluate'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/resource/catalog.rb:144:in
 `apply'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:632:in
 `use'
/usr/local/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:615:in
 `use'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application/agent.rb:220:in
 `setup'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:300:in 
`run'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:398:in 
`exit_on_fail'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:300:in 
`run'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/bin/puppetd:4
/usr/local/bin/puppetd:19:in `load'
/usr/local/bin/puppetd:19
err: /File[/var/lib/puppet/reports]: Could not evaluate: Could not find group 
puppet
debug: Finishing transaction 23763987549540
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:636:in
 `use'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/resource/catalog.rb:157:in
 `apply'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:632:in
 `use'
/usr/local/lib/ruby/1.8/sync.rb:230:in `synchronize'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/util/settings.rb:615:in
 `use'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application/agent.rb:220:in
 `setup'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:300:in 
`run'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:398:in 
`exit_on_fail'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/lib/puppet/application.rb:300:in 
`run'
/usr/local/lib/ruby/gems/1.8/gems/puppet-2.6.0/bin/puppetd:4
/usr/local/bin/puppetd:19:in `load'
/usr/local/bin/puppetd:19
Could not prepare for execution: Got 1 failure(s) while initializing: Could not 
evaluate: Could not find group puppet



-- 
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://projects.puppetlabs.com/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