Issue #4867 has been updated by Alexander Ustimenko.
May be it helps a little (if it's not a standalone bug):
Works ok:
user {fuck:
ensure => present,
}
file {'/var/www/fuck':
require => User[fuck],
ensure => directory,
owner => fuck,
}
Generates bug (just one error message "Could not find user fuck"):
user {fuck:
ensure => present,
}
file {'Any comment here':
path => '/var/www/fuck',
require => User[fuck],
ensure => directory,
owner => fuck,
}
Could it be something aliases-related?
---
r: ruby 1.8.7 (2010-08-16 patchlevel 302) [i486-linux]
p: 2.6.2
----------------------------------------
Bug #4867: Puppet raises error when trying to set owner to non-existant user
https://projects.puppetlabs.com/issues/4867#change-71946
Author: Brian Gallew
Status: Investigating
Priority: Normal
Assignee: Nigel Kersten
Category: agent
Target version: 2.7.x
Affected Puppet version: 2.6.6
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.