Issue #21746 has been reported by Josh Partlow.
----------------------------------------
Bug #21746: Interacting with user type on centos 5/6 requires root
https://projects.puppetlabs.com/issues/21746
* Author: Josh Partlow
* Status: Unreviewed
* Priority: Normal
* Assignee:
* Category:
* Target version:
* Affected Puppet version: 3.2.3
* Keywords: centos
* Branch:
----------------------------------------
[vagrant@localhost ~]$ puppet apply -e 'user { "vagrant": }'
Error: Could not find a suitable provider for user
Notice: Finished catalog run in 0.02 seconds
[vagrant@localhost ~]$ puppet resource user vagrant
Error: Could not run: undefined method `exists?' for nil:NilClass
[vagrant@localhost ~]$ sudo puppet resource user vagrant
user { 'vagrant':
ensure => 'present',
gid => '500',
groups => ['wheel'],
home => '/home/vagrant',
password => '$1$.O1dmsfg$ckUSouJmCUOh3/l859paQ0',
password_max_age => '99999',
password_min_age => '0',
shell => '/bin/bash',
uid => '500',
}
[vagrant@localhost ~]$ sudo puppet apply -e 'user { "vagrant": }'
Notice: Finished catalog run in 0.04 seconds
--
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.