I see, this is to support puppetmaster-less. Thanks for clarifying this. Thanks, Hai
On 5/29/12, Daniel Pittman <dan...@puppetlabs.com> wrote: > On Tue, May 29, 2012 at 2:11 PM, hai wu <haiwu...@gmail.com> wrote: > > G'day. > >> Maybe I am missing something major, but why we would need to install >> both hiera and hiera-puppet packages on every puppet nodes (including >> client)? My understanding is that hiera is just for backend data, and >> is only needed on puppetmaster .. > > Hiera is the library that underlays the Data/Model Separation feature in > Telly. > > You are mostly right, in that it is only used during compilation of a > catalog - we use it while we work through the manifests and turn it > into things we can act on. > > What you have missed is that `puppet apply` also uses the compiler, > and transforms manifests into catalogs, then applies them - just like > the master and agent do, but on a single system. > > One of the supported, core ways to run Puppet is without a master. It > is an important goal that you can always use `puppet apply` to do > anything that `puppet agent` can do, without needing a central master. > > That means that anywhere puppet *apply* is installed requires Hiera - > and that is part of the same package that includes the Puppet agent. > > -- > Daniel Pittman > ⎋ Puppet Labs Developer – http://puppetlabs.com > ♲ Made with 100 percent post-consumer electrons > > -- > 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. > > -- Sent from my mobile device -- 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.