So now my puppet agent is getting this error in messages:

  Date/Timestamp hostname[pid]: Must pass user to Class[abc::def] at 
/etc/puppet/manifests/templates.pp:2 on node hostname

The templates looks like this:

class baseclass {
  include abc::def
}

node default { 
  include baseclass
}


So the question is, how is a variable "user" passed to Class[abc::def] in 
templates.pp?

I thought that I did it in nodes.pp with:

  node 'hostname' inherits basenode {
     class { 'abc::def':
         user => "xxx"
     }
}

but obviously not.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5d9980cf-2c76-4840-a020-f8300196a9b6%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to