Hiera and 3.0 Confused..

57 views
Skip to first unread message

j a

unread,
Nov 29, 2012, 2:36:01 PM11/29/12
to puppet...@googlegroups.com
I am confused, it was my understanding that hiera is necessary on all of the agent nodes with puppet 3.0
However, after reading the docs, they seem to indicate this is not the case...
 
Would someone kindly verify this requirement for me?
 
My understanding is now that we do NOT need to install hiera on the agent nodes.
Is this correect?
 
Thank you!

jcbollinger

unread,
Nov 29, 2012, 4:44:44 PM11/29/12
to puppet...@googlegroups.com

Hiera is used during catalog compilation, therefore the master requires it, as does the "apply" face.  The agent does not compile catalogs, so in principle clients do not require hiera.  On the other hand, now that hiera is integrated into the core, it may depend on how you install Puppet whether you even have an option to omit it.


John

Josh Cooper

unread,
Nov 29, 2012, 4:45:10 PM11/29/12
to puppet...@googlegroups.com
Starting with Puppet 3, hiera is included in puppet, so you do not
need to install it[1]. The confusion is likely because Hiera had to be
installed separately when used with Puppet 2.7. There was also a
dependency on hiera-puppet, but that too is unnecessary in Puppet 3.

Note puppet uses hiera to retrieve data during catalog compilation. In
agent/master setups, compilation occurs on the master. The install (if
on Puppet 2.7) and configuration (2.7 & 3.x) need to be done on the
master[2]
Josh

[1] http://docs.puppetlabs.com/#hierahiera1
[2] http://docs.puppetlabs.com/hiera/1/installing.html
--
Josh Cooper
Developer, Puppet Labs

Matthaus Owens

unread,
Nov 29, 2012, 5:16:03 PM11/29/12
to puppet...@googlegroups.com
Hiera is a dependency of Puppet 3 in all of its packaged forms.
Hiera-puppet (the puppet backend for hiera), is included in Puppet for
3.0, but is available as a separate package for Puppet 2.7.x.

As Josh and John mentioned, Hiera is required for Puppet 3.0 on the
master, and is also needed on any agents if using `puppet apply`.
> --
> You received this message because you are subscribed to the Google Groups "Puppet Users" group.
> To post to this group, send email to puppet...@googlegroups.com.
> To unsubscribe from this group, send email to puppet-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
>



--
Matthaus Owens
Release Manager, Puppet Labs
Reply all
Reply to author
Forward
0 new messages