Re: [Puppet Users] Check if user exist in windows OS.

2016-12-13 Thread marquitafugate via Puppet Users
On Tue, 12/13/16, Peter Kristolaitis <alte...@alter3d.ca> wrote: Subject: Re: [Puppet Users] Check if user exist in windows OS. To: puppet-users@googlegroups.com Date: Tuesday, December 13, 2016, 5:49 PM Just use the builtin 'user

Re: [Puppet Users] Check if user exist in windows OS.

2016-12-13 Thread Peter Kristolaitis
Just use the builtin 'user' type. On 12/13/2016 8:41 AM, Mariusz Gibki wrote: How to check if user exist in windows OS. If exist do nothing if not exist add user ??? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this

[Puppet Users] Check if user exist in windows OS.

2016-12-13 Thread Mariusz Gibki
How to check if user exist in windows OS. If exist do nothing if not exist add user ??? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[Puppet Users] check if user exist

2015-05-07 Thread Alfredo De Luca
Hi all. I am using puppet source with Hiera. I want to manage users but also I want to check if an user exist before doing something else and create it. I have a module prousers as follow: prousers/init.pp class prousers { create_resources(user, hiera_hash('pro_user')) } then from