you can put this in the main section of your puppet.conf file
[main]
manifestdir = /home/puppet/manifests
that looks for your site.pp in that directory
you also can specify this in your puppet.conf for each environment.
manifest = /etc/puppet/manifests/site.pp
then in site.pp you do something like this
import ''definitions''
import ''modules''
import ''templates''
import ''nodes''
import ''classes/*''
import looks for .pp files so definitions.pp modules.pp etc
does that help?
The introductory docs cover this sort of thing.
Have a look here. http://docs.puppetlabs.com/learning/
On 6 July 2012 12:57, Hai Tao <ehaitao@gmail.com>
wrote:> Hi,
>
> is nodes.pp a default file,like sites.pp, or I have to import it in
> puppet.conf?
>
> I cannot find a paramater in "puppetmasterd genconfig | grep
nodes.pp", can
> someone advice?
>
> Thanks.
>
> --
> 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+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/puppet-users?hl=en.
--
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+unsubscribe@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/puppet-users?hl=en.