Normally /etc/puppetlabs/puppet/manifests would contain the main entry
point ''site.pp''. These days though with, Exported Node
Classification
(ie. the dashboard ENC) not everyone uses it and its now become
optional.
If you don''t use an ENC, you can create a site.pp for example - and
include a bunch of node classifications:
node ''myfoonode.foo.com'' {
include apache
}
Some people prefer this approach over using an ENC as it gives
benefits like: a) you can use a VCS b) you can comment sections within
a node definition. However its less desirable once your node
definitions get too unruly and you need something more programmatic
:-).
The ''site.pp'' can even contain other Puppet top-level
declarations if
you so desire. There is even the ability to store other ''pp''
files in
''manifests'' and import them from site.pp, however its best to
stick to
creating things in classes where possible. There is a brief mention of
this here:
http://docs.puppetlabs.com/guides/language_guide.html#importing-manifests
But like it says, best to avoid ''import''. People keep talking
about
removing it :-).
ken.
On Wed, Jan 9, 2013 at 4:32 PM, jim <stravze@gmail.com>
wrote:> Hello all,
>
> Can someone please explain why there is a manifests folder in
> /etc/puppetlabs/puppet
> e.g. /etc/puppetlabs/puppet/manifests
>
> If there is a manifests folder within each modules folder in
> /etc/puppetlabs/puppet
> e.g. /etc/puppetlabs/puppet/modules/ntp/manifests
>
>
> Is this directory /etc/puppetlabs/puppet/manifests for building out your
> config tree''s and calling modules etc.
>
> if so how would you do this ?
>
> regards
>
> James
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Puppet Users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/puppet-users/-/5F0mAzP1N0QJ.
> 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.