Issue #4867 has been updated by John Warburton.
As per Brian, I run puppet on my clients as the *root* user, so I have assumed
the "user" config option was ignored. The config file option for user states it
is for the puppet master:
# The user puppet master should run as.
# The default value is 'puppet'.
# user = puppet
I have always generated my config files at jumpstart time per note #9
r...@warbjohn# /opt/local/sbin/puppetd --version
0.25.5
r...@warbjohn# /opt/local/sbin/puppetd --config
/var/puppet/etc/puppetd.conf --configprint user
puppet
corwadm010# /opt/local/sbin/puppetd --version
2.6.3
corwadm010# /opt/local/sbin/puppetd --config /var/puppet/etc/puppetd.conf
--configprint user
puppet
If I change my 2.6.3rc2 config to make "user" root, I still get the same error
corwadm010# /opt/local/sbin/puppetd --config /var/puppet/etc/puppetd.conf
--configprint user
root
corwadm010# /opt/local/sbin/puppetd --environment prod --verbose --logdest
/var/log/puppet_client/puppet_client.log --onetime --no-daemonize --debug
--trace --config /var/puppet/etc/puppetd.conf --color=false
/opt/local/lib/puppet/type/file/owner.rb:37:in `retrieve'
/opt/local/lib/puppet/type/file/owner.rb:32:in `collect'
/opt/local/lib/puppet/type/file/owner.rb:32:in `retrieve'
/opt/local/lib/puppet/type.rb:695:in `retrieve'
/opt/local/lib/puppet/type.rb:690:in `each'
/opt/local/lib/puppet/type.rb:690:in `retrieve'
/opt/local/lib/puppet/type/file.rb:634:in `retrieve'
/opt/local/lib/puppet/type.rb:703:in `retrieve_resource'
/opt/local/lib/puppet/type.rb:1861:in `to_trans'
/opt/local/lib/puppet/type/file.rb:701:in `to_trans'
/opt/local/lib/puppet/type.rb:1886:in `to_resource'
/opt/local/lib/puppet/type.rb:203:in `uniqueness_key'
/opt/local/lib/puppet/resource/catalog.rb:83:in `add_resource'
/opt/local/lib/puppet/resource/catalog.rb:72:in `each'
/opt/local/lib/puppet/resource/catalog.rb:72:in `add_resource'
/opt/local/lib/puppet/resource/catalog.rb:561:in `to_catalog'
/opt/local/lib/puppet/resource/catalog.rb:531:in `each'
/opt/local/lib/puppet/resource/catalog.rb:531:in `to_catalog'
/opt/local/lib/puppet/resource/catalog.rb:468:in `to_ral'
/opt/local/lib/puppet/configurer.rb:117:in `convert_catalog'
/opt/local/lib/puppet/configurer.rb:112:in `retrieve_catalog'
/opt/local/lib/puppet/configurer.rb:143:in `run'
/opt/local/lib/puppet/agent.rb:39
/opt/local/lib/puppet/agent/locker.rb:21:in `lock'
/opt/local/lib/puppet/agent.rb:39
/opt/local/pkgs/ruby-1.8.7-p249/lib/ruby/1.8/sync.rb:230:in `synchronize'
/opt/local/lib/puppet/agent.rb:39
/opt/local/lib/puppet/agent.rb:103:in `with_client'
/opt/local/lib/puppet/agent.rb:37
/opt/local/lib/puppet/application.rb:171:in `call'
/opt/local/lib/puppet/application.rb:171:in `controlled_run'
/opt/local/lib/puppet/agent.rb:35:in `run'
/opt/local/lib/puppet/application/agent.rb:114:in `onetime'
/opt/local/lib/puppet/application/agent.rb:88:in `run_command'
/opt/local/lib/puppet/application.rb:287:in `run'
/opt/local/lib/puppet/application.rb:393:in `exit_on_fail'
/opt/local/lib/puppet/application.rb:287:in `run'
/opt/local/sbin/puppetd:4
err: Could not run Puppet configuration client: Could not find user puppet
----------------------------------------
Bug #4867: On Solaris, puppet client requires the puppet user to exist before
running
https://projects.puppetlabs.com/issues/4867
Author: Brian Gallew
Status: Investigating
Priority: Normal
Assignee: Nick Lewis
Category: agent
Target version: 2.6.x
Affected Puppet version: 2.6.1
Keywords:
Branch:
WHen I ran 0.25.5, I relied on the puppet client to create the puppet user.
Since I've upgraded to 2.6.1, the puppet user must already exist before the
puppet client will run, otherwise the puppet client bails with an error:
err: Could not run Puppet configuration client: Could not find user puppet
This seems to be a fairly major regression.
--
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.