Oh, ok makes sense thank you :-)
On Fri, May 3, 2013 at 6:11 PM, Andy Parker <[email protected]> wrote: > On Fri, May 3, 2013 at 4:05 PM, Geronimo Orozco <[email protected]> wrote: > >> I reported the issue: >> >> https://projects.puppetlabs.com/issues/20539 >> >> I also found this: >> >> On linux: >> >> $ puppet —version >> >> 3.1.1 >> >> $ hiera —version >> >> 1.2.1 >> >> Puppet installed from apt.puppetlabs.com puppet 3.1.1-1puppetlabs1 >> >> >> On Windows: >> >> c:> puppet —version >> >> 3.1.1 >> >> c:> hiera —version >> >> 1.1.2 >> >> Puppet installed from puppet-3.1.1.msi from >> https://downloads.puppetlabs.com/windows/ >> >> > I would expect that because the MSI is a complete bundle of puppet plus > dependencies (other than the json one that you discovered). So when you > install the MSI you just get what we put in. > > However, on linux, the package manager will decide the "best" current > resolution of a dependency. So in this case puppet 3.1.1 has a dependency > on hiera >= 1.0.0 (or something like that version). When 3.1.1 was released > that was most likely hiera 1.1.2 that would have been used. Now that we > have released hiera 1.2.1 you'll get that when you install puppet because > the package system will find that newer version instead. > > >> >> >> On Fri, May 3, 2013 at 5:21 PM, Matthaus Owens >> <[email protected]>wrote: >> >>> json_pure will also work for hiera-json and won't require ruby-devel >>> to install the gem. >>> >>> On Fri, May 3, 2013 at 2:46 PM, Geronimo Orozco <[email protected]> >>> wrote: >>> > Oh thanks for you reply Andy :-) >>> > >>> > Yes I was using the PuppetLabs MSI >>> > >>> > Yes, json is not installed and it is not trivial to install the gem >>> using >>> > the puppet embedded puppet ruby, I had to download ruby developmentkit >>> and >>> > compile native :-). And I wanted to be as simple and clean as >>> possible to >>> > install and use puppet without development tools/frameworks to compile >>> it on >>> > each server. >>> > >>> > Thanks for your reply >>> > >>> > >>> > On Fri, May 3, 2013 at 1:23 PM, Andy Parker <[email protected]> >>> wrote: >>> >> >>> >> On Thu, May 2, 2013 at 6:57 PM, Geronimo Orozco <[email protected]> >>> wrote: >>> >>> >>> >>> Hello, >>> >>> >>> >>> >>> >>> Sems that hiera json backend is broken on puppet 3.1.1 for windows >>> :-( >>> >>> >>> >> >>> >> Sorry to hear that :( The error that you show below is that the json >>> >> library doesn't seem to be installed. Assuming you used the Puppet >>> Labs >>> >> produced MSI we should have that installed. I was just testing out >>> the MSI >>> >> for the upcoming 3.2 release and verified that it works there. >>> >> >>> >>> >>> >>> >>> >>> From this example: >>> >>> >>> http://www.craigdunn.org/2011/10/puppet-configuration-variables-and-hiera/ >>> >>> >>> >>> >>> >>> -- hiera.yaml -- >>> >>> >>> >>> C:\Users\Administrator\temp> >>> >>> type hiera.yaml >>> >>> :backends: - json >>> >>> >>> >>> :logger: console >>> >>> >>> >>> :hierarchy: - %{env} >>> >>> - common >>> >>> :json: >>> >>> :datadir: hieradata >>> >>> >>> >>> >>> >>> C:\Users\Administrator\temp\hieradata>type common.json >>> >>> { >>> >>> "webname": "localhost" >>> >>> } >>> >>> >>> >>> C:\Users\Administrator\temp\hieradata>type dev.json >>> >>> { >>> >>> "webname": "dev.app.local" >>> >>> } >>> >>> >>> >>> >>> >>> C:\Users\Administrator\temp>hiera -c hiera.yaml webname >>> >>> >>> >>> >>> C:/Puppet/sys/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:36:in >>> >>> `gem >>> >>> original_require': no such file to load -- json (LoadError) >>> >>> from >>> >>> C:/Puppet/sys/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require. >>> >>> b:36:in `require' >>> >>> from C:/Puppet/hiera/lib/hiera/backend/json_backend.rb:5:in >>> >>> `initialize >>> >>> >>> >>> from C:/Puppet/hiera/lib/hiera/backend.rb:158:in `new' >>> >>> from C:/Puppet/hiera/lib/hiera/backend.rb:158:in `lookup' >>> >>> from C:/Puppet/hiera/lib/hiera/backend.rb:156:in `each' >>> >>> from C:/Puppet/hiera/lib/hiera/backend.rb:156:in `lookup' >>> >>> from C:/Puppet/hiera/lib/hiera.rb:62:in `lookup' >>> >>> from C:/Puppet/hiera/bin/hiera:220 >>> >>> --- >>> >>> Any clues ? >>> >>> >>> >>> >>> >>> >>> >>> -Geronimo >>> >>> >>> >>> -- >>> >>> You received this message because you are subscribed to the Google >>> Groups >>> >>> "Puppet Developers" group. >>> >>> To unsubscribe from this group and stop receiving emails from it, >>> send an >>> >>> email to [email protected]. >>> >>> To post to this group, send email to [email protected]. >>> >>> Visit this group at http://groups.google.com/group/puppet-dev?hl=en. >>> >>> >>> >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >>> >>> >> >>> >> >>> >> >>> >> >>> >> -- >>> >> Andrew Parker >>> >> [email protected] >>> >> Freenode: zaphod42 >>> >> Twitter: @aparker42 >>> >> Software Developer >>> >> >>> >> Join us at PuppetConf 2013, August 22-23 in San Francisco - >>> >> http://bit.ly/pupconf13 >>> >> Register now and take advantage of the Early Bird discount - save 25%! >>> >> >>> >> -- >>> >> You received this message because you are subscribed to the Google >>> Groups >>> >> "Puppet Developers" group. >>> >> To unsubscribe from this group and stop receiving emails from it, >>> send an >>> >> email to [email protected]. >>> >> To post to this group, send email to [email protected]. >>> >> Visit this group at http://groups.google.com/group/puppet-dev?hl=en. >>> >> For more options, visit https://groups.google.com/groups/opt_out. >>> >> >>> >> >>> > >>> > >>> > -- >>> > You received this message because you are subscribed to the Google >>> Groups >>> > "Puppet Developers" group. >>> > To unsubscribe from this group and stop receiving emails from it, send >>> an >>> > email to [email protected]. >>> > To post to this group, send email to [email protected]. >>> > Visit this group at http://groups.google.com/group/puppet-dev?hl=en. >>> > For more options, visit https://groups.google.com/groups/opt_out. >>> > >>> > >>> >>> >>> >>> -- >>> Matthaus Owens >>> Release Manager, Puppet Labs >>> >>> Join us at PuppetConf 2013, August 22-23 in San Francisco - >>> http://bit.ly/pupconf13 >>> Register now and take advantage of the Early Bird discount - save 25%! >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Puppet Developers" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to [email protected]. >>> To post to this group, send email to [email protected]. >>> Visit this group at http://groups.google.com/group/puppet-dev?hl=en. >>> For more options, visit https://groups.google.com/groups/opt_out. >>> >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Developers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/puppet-dev?hl=en. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > > > -- > Andrew Parker > [email protected] > Freenode: zaphod42 > Twitter: @aparker42 > Software Developer > > *Join us at PuppetConf 2013, August 22-23 in San Francisco - * > http://bit.ly/pupconf13* > **Register now and take advantage of the Early Bird discount - save 25%!* > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-dev?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-dev?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
