Issue #4867 has been updated by Nigel Kersten.
Keith Minkler wrote:
> Yes, all the resources require the centralauth class, additionally, I've
> tried using tagged install to only do the centralauth setup in a first run,
> but this fails as well (e.g. the dependency fails even though I'm not
> installing those classes)
I can't reproduce that behavior at all Keith on 2.6.6, which makes me think
something else might be going on.
Given this manifest:
<pre>
file { "/tmp/bar":
ensure => present,
owner => noonehere,
tag => ["tag1"],
}
file { "/tmp/foo":
ensure => present,
tag => ["tag2"],
}
</pre>
<pre>
demo5:~# rm -f /tmp/{foo,bar}
demo5:~# puppet apply -v /tmp/test.pp
info: Applying configuration version '1299792969'
err: /Stage[main]//File[/tmp/bar]/ensure: change from absent to present failed:
Could not set 'present on ensure: Could not find user noonehere at
/tmp/test.pp:5
notice: /Stage[main]//File[/tmp/foo]/ensure: created
notice: Finished catalog run in 0.02 seconds
demo5:~# rm -f /tmp/{foo,bar}
demo5:~# puppet apply --tags tag2 -v /tmp/test.pp
info: Applying configuration version '1299792977'
notice: /Stage[main]//File[/tmp/foo]/ensure: created
notice: Finished catalog run in 0.01 seconds
</pre>
You see that it continues on with the non-problematic resource even though it
can't find the owner, and that excluding that resource using tags doesn't
report a problem at all.
----------------------------------------
Bug #4867: Puppet raises error when trying to set owner to non-existant user
https://projects.puppetlabs.com/issues/4867
Author: Brian Gallew
Status: Investigating
Priority: Normal
Assignee: Nigel Kersten
Category: agent
Target version: 2.6.x
Affected Puppet version: 2.6.1
Keywords:
Branch: http://github.com/MarkusQ/puppet/tree/ticket/2.6.x/4867
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.