Hi everyone, I have a few boolean vars i use in a couple of modules I am updating to work with hiera. I noticed there is currently an issue with using booleans in hiera and puppet doesn''t set them properly when it imports them as variables. I also noticed those bugs seem to have fixes and they also seem to have been committed. I am currently considering rewriting the modules that use booleans but I would prefer to wait for the fixes. Can anyone tell me when they will be released and which version will they go into? Thanks. Pete. -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
3.0.2 should have fixed this issue for the puppet backend. I think the YAML backend had this fixed ages ago. Go ahead and give it a try, perhaps on a test machine. It should work. On Thursday, January 17, 2013 5:50:21 PM UTC-8, Pete wrote:> > Hi everyone, > > I have a few boolean vars i use in a couple of modules I am updating to > work with hiera. > I noticed there is currently an issue with using booleans in hiera and > puppet doesn''t set them properly when it imports them as variables. > I also noticed those bugs seem to have fixes and they also seem to have > been committed. > I am currently considering rewriting the modules that use booleans but I > would prefer to wait for the fixes. > Can anyone tell me when they will be released and which version will they > go into? > > Thanks. > > Pete. >-- 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/-/xkzYnOnufWwJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
On Thu, Jan 17, 2013 at 7:50 PM, Peter Brown <rendhalver@gmail.com> wrote:> I have a few boolean vars i use in a couple of modules I am updating to work > with hiera. > I noticed there is currently an issue with using booleans in hiera and > puppet doesn''t set them properly when it imports them as variables. > I also noticed those bugs seem to have fixes and they also seem to have been > committed. > I am currently considering rewriting the modules that use booleans but I > would prefer to wait for the fixes. > Can anyone tell me when they will be released and which version will they go > into?I recently ran into Bug #18234 [1], wherein boolean values in hashes don''t work as expected. There''s a patch available for that. No idea when it''s expected to be merged, but I can confirm it''s *not* in 3.0.2. 1. http://projects.puppetlabs.com/issues/18234 -- Brad -- 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+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.
Hmm, I didn''t know that. I think I missed that by passing the hash wholesale to my template and accessing it there. On Friday, January 18, 2013 12:25:51 PM UTC-8, Brad Ison wrote:> > On Thu, Jan 17, 2013 at 7:50 PM, Peter Brown <rendh...@gmail.com<javascript:>> > wrote: > > I have a few boolean vars i use in a couple of modules I am updating to > work > > with hiera. > > I noticed there is currently an issue with using booleans in hiera and > > puppet doesn''t set them properly when it imports them as variables. > > I also noticed those bugs seem to have fixes and they also seem to have > been > > committed. > > I am currently considering rewriting the modules that use booleans but I > > would prefer to wait for the fixes. > > Can anyone tell me when they will be released and which version will > they go > > into? > > I recently ran into Bug #18234 [1], wherein boolean values in hashes > don''t work as expected. > > There''s a patch available for that. No idea when it''s expected to be > merged, but I can confirm it''s *not* in 3.0.2. > > > 1. http://projects.puppetlabs.com/issues/18234 > > -- > Brad >-- 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/-/7mrEKNkJXQYJ. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.