Re: [Puppet Users] checking if a user exists

2010-07-23 Thread Rob McBroom
On Jul 22, 2010, at 3:30 PM, Don Harden wrote: err: //zabbix_agentd/User[zabbix]/uid: change from 489 to 109 failed: Could not set uid on user[zabbix]: Execution of '/usr/sbin/usermod -u 109 zabbix' returned 8: usermod: user zabbix is currently logged in If you want the UID to be the same on

[Puppet Users] checking if a user exists

2010-07-22 Thread Don Harden
Hi Folks, Ive been trying to figure this out on Puppet 2.5.5 but just upgraded to 2.6 I have this in a module to make sure zabbix is installed, configured and running: class zabbix_agentd { user { zabbix: name = 'zabbix', ensure = present,

Re: [Puppet Users] checking if a user exists

2010-07-22 Thread Patrick Mohr
What about just not setting the uid? It sounds like that's what you are trying to do. On Jul 22, 2010, at 12:30 PM, Don Harden wrote: Hi Folks, Ive been trying to figure this out on Puppet 2.5.5 but just upgraded to 2.6 I have this in a module to make sure zabbix is installed,