On Wed, May 4, 2011 at 12:24 PM, takrishnan <takrish...@yahoo.com> wrote:
> Can I use the define directly within a node specification?
> For example:
>
> node abc {
>      include sudoers::config {"group1":}
> }

Defines result in a custom resource type, and the sytax is the same as
any other puppet resource:
type { 'title':
  attribute => value,
}

In your example above simply:
node abc {
     sudoers::config { "group1":
     }
}

Thanks,

Nan

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to