puppet 3.0.0 and hiera

102 views
Skip to first unread message

Henrik Lindberg

unread,
Jul 9, 2012, 12:21:58 PM7/9/12
to puppet...@googlegroups.com
Hi,
If I have understood it correctly, puppet 3.0.0 will include / require
hiera. In order to add support for hiera directly in Geppetto I
downloaded the puppet 3.0.0rc tarball expecting to find the puppet-hiera
functions, but they where not there.

What is the expected packaging going to be when 3.0.0 is released?
Where should I expect the hiera "parser functions" to be located?

(For now I can compose the result manually, but I would like to know
where they are supposed to be so I do this correctly from the start).

If you want to, you can also comment on
https://github.com/cloudsmith/geppetto/issues/282

Regards
- henrik

Kelsey Hightower

unread,
Jul 9, 2012, 1:07:22 PM7/9/12
to puppet...@googlegroups.com, puppet...@googlegroups.com
You'll need hiera-puppet, which contains the parser functions. Puppet 3.0.0 should bring in both Hiera and hiera-puppet as deps.
> --
> 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.
>

Henrik Lindberg

unread,
Jul 9, 2012, 9:18:47 PM7/9/12
to puppet...@googlegroups.com
On 2012-09-07 19:07, Kelsey Hightower wrote:
> You'll need hiera-puppet, which contains the parser functions. Puppet 3.0.0 should bring in both Hiera and hiera-puppet as deps.
>
Thanks,
that is a good start. My issue is however that I don't want to install
things in order to scan them for content as I am building an index of
functions, types, etc. in the puppet runtime.

Currently Geppetto does not offer users the ability to do these scans so
I can just mash something up to create the index, but ultimately I would
want to be able to scan an (any) installation and get all the installed
functions.

So, my questions is really, in an installation, how does puppet find
puppet-hiera and know that there are parser functions. Is it added to
the module path or is it done via some other mechanism?

Reading this:
http://puppetlabs.com/blog/first-look-installing-and-using-hiera/ It
looks like the source needs to be copied into puppet's modulepath
drectory - will this be different in 3.0.0

Regards
- henrik

Steve Traylen

unread,
Jul 12, 2012, 3:16:56 PM7/12/12
to puppet...@googlegroups.com
On Tuesday, 10 July 2012 03:18:47 UTC+2, Henrik Lindberg wrote:
On 2012-09-07 19:07, Kelsey Hightower wrote:
> You'll need hiera-puppet, which contains the parser functions. Puppet 3.0.0 should bring in both Hiera and hiera-puppet as deps.
>
Thanks,
that is a good start. My issue is however that I don't want to install
things in order to scan them for content as I am building an index of
functions, types, etc. in the puppet runtime.

Currently Geppetto does not offer users the ability to do these scans so
I can just mash something up to create the index, but ultimately I would
want to be able to scan an (any) installation and get all the installed
functions.

So, my questions is really, in an installation, how does puppet find
puppet-hiera and know that there are parser functions. Is it added to
the module path or is it done via some other mechanism?

Reading this:
http://puppetlabs.com/blog/first-look-installing-and-using-hiera/ It
looks like the source needs to be copied into puppet's modulepath
drectory - will this be different in 3.0.0

Yes that's exactly what happens. Nothing has to be done. It will "just work".
 

Regards
- henrik

> On Jul 9, 2012, at 9:21 AM, Henrik Lindberg <henrik.lindberg@cloudsmith.com> wrote:
>
>> Hi,
>> If I have understood it correctly, puppet 3.0.0 will include / require hiera. In order to add support for hiera directly in Geppetto I downloaded the puppet 3.0.0rc tarball expecting to find the puppet-hiera functions, but they where not there.
>>
>> What is the expected packaging going to be when 3.0.0 is released?
>> Where should I expect the hiera "parser functions" to be located?
>>
>> (For now I can compose the result manually, but I would like to know where they are supposed to be so I do this correctly from the start).
>>
>> If you want to, you can also comment on https://github.com/cloudsmith/geppetto/issues/282
>>
>> Regards
>> - henrik
>>
>> --
>> 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+unsubscribe@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages