On Tue, Aug 11, 2009 at 12:17 PM, Asif Iqbal <vad...@gmail.com> wrote:

>
> Hi do I apply only one class to a node?
>
> In my `site.pp' file I am saying
>
> pup...@sys-ubuntu:/etc/puppet$ cat manifests/site.pp
> #site.pp
> import "classes/*.pp"
>
> node default { include nmc-delete }
>
> But the node is also getting resources from other classes like `nmc'
>
> notice: //Nmc::Myuser[tkimpto]/User[tkimpto]/ensure: created
>
> Here is a list of classes
> pup...@sys-ubuntu:/etc/puppet$ ls -1 manifests/classes/*.pp
> manifests/classes/newungrp.pp
> manifests/classes/newuthngrp.pp
> manifests/classes/nmc2.pp
> manifests/classes/nmc-delete.pp
> manifests/classes/nmc.pp
> manifests/classes/sudo.pp
>
> How do I force a node to get resources only from one specific class
> and do not look into others?



http://reductivelabs.com/trac/puppet/wiki/UsingTags

particularly "Classes automatically tag everything in them with the class
name, so this isn't usually needed. This works the same way in nodes."




-- 
Nigel Kersten
nig...@google.com
System Administrator
Google, Inc.

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