[Puppet Users] Puppet 3.0.0 and Hiera
I've been using Hiera and Hiera-Puppet with Puppet 2.7 for a while now, and I've been quite enjoying it. I just noticed the available update for Puppet and saw that Hiera was now part of core Puppet. However, I've been unable to parse exactly what parts made it over, and every source of information I read seems to have different info. My confusion includes: 1. The Hiera-Puppet functions, hiera() and the array, hash and include versions. They appear in the 3.0.0 doc, but I've read they may be deprecated, changed or even unnecessary, their functionality having been incorporated into things like lookup() and include(). Since I've been making fairly heavy use of them, I need to know if I should migrate my modules to something else. 2. The hierarchy itself. How much of the configurability made it over? I've been using a custom fact or two in mine, and I'm wondering if that's still supported. Also, I've been using a combination of YAML on disk and a puppet data module to store variables, is that still supported? Basically, I've been having trouble finding consistent documentation on the subject of what changed and what didn't, so if someone could explain or point me to the correct docs, that would be greatly appreciated, as I really want to upgrade to take advantage of the other new features. -- 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/-/rbwWoB1WDGEJ. 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.
Re: [Puppet Users] puppet 3.0.0 and hiera
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.lindb...@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-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. -- 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/-/bQXKaarut08J. 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.
[Puppet Users] puppet 3.0.0 and hiera
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-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.
Re: [Puppet Users] puppet 3.0.0 and hiera
You'll need hiera-puppet, which contains the parser functions. Puppet 3.0.0 should bring in both Hiera and hiera-puppet as deps. On Jul 9, 2012, at 9:21 AM, Henrik Lindberg henrik.lindb...@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-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. -- 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.
Re: [Puppet Users] puppet 3.0.0 and hiera
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 On Jul 9, 2012, at 9:21 AM, Henrik Lindberg henrik.lindb...@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-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. -- 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.