Fred,

This does indeed make sense and yes, you will need to 'inherit' the
default node to have other nodes apply the settings.

Trevor

On Mon, Dec 22, 2008 at 08:22, Fred Clausen <ftclau...@gmail.com> wrote:
>
> Hello,
>
> We are making an initial, small scale Puppet deployment to test Puppet
> and also to learn more of how Puppet can be used in our environment.
>
> My question is regarding the default node and how it applies when a
> defined node connects - this is perhaps best explained with a few
> examples, to start with a very basic nodes.pp -
>
> --- nodes.pp ---
> node default {
>    include unix
> }
> --- eof ---
>
> The "unix" class is just the permissions and ownership policy for the
> passwd, group and shadow files - a fairly standard example.
>
> I wish to expand the nodes.pp to look like this -
>
> --- nodes.pp ---
> node default {
>    include unix
> }
>
> node freebsd-box {
>    File["/etc/passwd"] { group => wheel }
>    File["/etc/shadow"] { group => wheel }
> }
> --- eof ---
>
> Does the default node apply to all nodes, including those with their
> own node entry or only nodes without an explicit node entry? That is,
> will I need to make the "freebsd-box" explicitly inherit the "default"
> node?
>
> I hope this makes sense - feel free to ask for clarification.
>
> Cheers,
>
> Fred.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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