Hi guys, I don''t know how to solve this: I want ".yaml"-files in each module''s "/data"-directory. These .yaml-files should contain data, which Hiera sould pass to the module''s manifests. How can I do that? I''m using Puppet 3.3.1 Thanks in advance! -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1ad11ee0-3e8c-4473-871a-c6bb0cc8bf02%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Start here: http://docs.puppetlabs.com/puppet/3/reference/release_notes.html#data-in-modules Which leads you here: https://github.com/puppetlabs/armatures/blob/master/arm-9.data_in_modules/index.md On Nov 30, 2013, at 9:42 AM, Steven Jonthen <coffeejunkeysteve@gmail.com> wrote:> Hi guys, > > I don''t know how to solve this: > I want ".yaml"-files in each module''s "/data"-directory. These .yaml-files should contain data, which Hiera sould pass to the module''s manifests. > How can I do that? I''m using Puppet 3.3.1 > > Thanks in advance! > > -- > You received this message because you are subscribed to the Google Groups "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1ad11ee0-3e8c-4473-871a-c6bb0cc8bf02%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/E46C8F86-1BDA-4EC5-B51B-2E2021D6C105%40comcast.net. For more options, visit https://groups.google.com/groups/opt_out.
That doesn''t help me :(. The page says: Can I set top level scope parameters using data in modules? No. Not yet at least. Isn''t there a simple way to solve this problem? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/3bf47459-699c-4ddf-987b-dd06b72d21a9%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Hiera-2? I can''t find any information on the puppet-website about Hiera-2? What do you mean with Hiera-2? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e046b0d0-df25-413d-9dac-1c6eb253de48%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Hi, I have this problem: Hiera only looks inside "data/common.yaml"-file, which is in my module-directory. When i put other data into another yaml file "data/example.yaml", then Puppet doesn''t find that data. What''s the cause for this problem? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/b3e1b520-f883-4bac-a887-c6bdd6dc5cac%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Same problem here :( On Sunday, December 1, 2013 2:27:42 AM UTC-5, Steven Jonthen wrote:> > Hi, > > I have this problem: Hiera only looks inside "data/common.yaml"-file, > which is in my module-directory. When i put other data into another yaml > file "data/example.yaml", then Puppet doesn''t find that data. > > What''s the cause for this problem? >-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/0e6b1aca-7bdb-4946-8fce-6fdf1440a11b%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Pablo Fernandez
2013-Dec-02 07:53 UTC
Re: [Puppet Users] Re: Providing hiera with module data
I recommend you run the master with --debug and --no-daemonize, you should be able to see all hiera searches for each parameter. At least that helped me a lot. On 12/02/2013 06:32 AM, Igor Berger wrote:> Same problem here > > :( > > > On Sunday, December 1, 2013 2:27:42 AM UTC-5, Steven Jonthen wrote: > > Hi, > > I have this problem: Hiera only looks inside > "data/common.yaml"-file, which is in my module-directory. When i > put other data into another yaml file "data/example.yaml", then > Puppet doesn''t find that data. > > What''s the cause for this problem? > > -- > You received this message because you are subscribed to the Google > Groups "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send > an email to puppet-users+unsubscribe@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/0e6b1aca-7bdb-4946-8fce-6fdf1440a11b%40googlegroups.com. > For more options, visit https://groups.google.com/groups/opt_out.-- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/529C3C67.9020106%40cscs.ch. For more options, visit https://groups.google.com/groups/opt_out.
I only need to know how to use different "hiera.yaml" files for different modules. How can I achieve that`? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8a201141-788e-467d-8fe1-44085293da36%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
What have you tried ? Links to all the available documentation have already been provided. I have not tried using "Data In Modules", so I cannot do more than make educated guesses and intelligent suggestions based on the available information. Have you tried directly contacting the people that wrote this feature ? Unless someone steps up and admits that they know how this works, I cannot think of anything else to suggest other than to keep re-reading the documentation provided and experiment on a test system. Other folks suggested running your puppetmaster in debug mode ( --debug --no-daemonize ) to see the hiera lookups. This is an excellent suggestion. Good luck. “Sometimes I think the surest sign that intelligent life exists elsewhere in the universe is that none of it has tried to contact us.” Bill Waterson (Calvin & Hobbes) ----- Original Message ----- From: "Steven Jonthen" <coffeejunkeysteve@gmail.com> To: puppet-users@googlegroups.com Sent: Monday, December 2, 2013 5:33:39 AM Subject: [Puppet Users] Re: Providing hiera with module data I only need to know how to use different "hiera.yaml" files for different modules. How can I achieve that`? -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8a201141-788e-467d-8fe1-44085293da36%40googlegroups.com . For more options, visit https://groups.google.com/groups/opt_out . -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/403555265.4810330.1385990195517.JavaMail.root%40sz0126a.westchester.pa.mail.comcast.net. For more options, visit https://groups.google.com/groups/opt_out.