On 12/20/2014 05:35 AM, Varun Utagikar wrote:
> Am sorry for the goof up
Never mind.
Please, as originally requested, add notice() calls and notify resources
to *all* pertinent code paths, especially the body of define users::virtual.
--
You received this message because you are subscribed to t
I am so sorry Felix
I was experimenting with different methods My manifest is as below (ignore
::localuser)
/etc/puppetlabs/puppet/modules/users/manifests/init.pp
class users {
notify { 'Adding User varun' : }
@users::virtual { 'varun':
uid => 1002,
On 12/19/2014 05:08 AM, Varun Utagikar wrote:
>
> Any idea to what mistake am I doing ?
Well, kind of.
The code you posted originally was not accurate, apparently, for you are
actually declaring a virtual resource of type users::virtual::localuser
- this cannot ever be realized by a users::virtu
Hey Felix
I tried realizing the user via :
Users::Virtual<| title == 'varun' |> and also with
realize Users::Virtual['varun']
but to no avail.
I put a notify in my manifest but it gives no significant o/p help just :
/etc/puppetlabs/puppet/modules/users/manifests/init.pp
class users {
On 12/18/2014 10:18 AM, Felix Frank wrote:
>> realize (Users::Virtual ['varun'])
Oh I just noticed - are you using parser=future now?
I seem to recall a comment from Erik that the space in the resource
reference is a problem now, i.e.
Users::Virtual ['varun'] # wrong
vs
Users::Virtual[
On 12/18/2014 08:46 AM, Varun Utagikar wrote:
> nodedefault {
> }
> ###
> node'hdpnamenode1.xor.in' {
> include users
> realize (Users::Virtual ['varun'])
> }
Weird.
Please sprinkle all the code that you pasted with notify resources
Hello All
I could successfully declare and realize virtual users in PE 3.2.3. I am
now testing the same with PE 3.7.0. Unfortunately the user is not being
realized and I am getting no warnings/errors.
I am pasting a snippet of my module manifests :
/etc/puppetlabs/puppet/modules/users/manifest