-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all A new release candidate for 0.24.5 in the stable branch, 0.24.5, is ready for testing. You can download it at: http://reductivelabs.com/downloads/puppet/puppet-0.24.5rc2.tar.gz (this one is minus the .git directory and therefore closer to normal size) Please test and report any bugs to: http://reductivelabs.com/redmine/ This will be the last release candidate (barring any major bugs) before the GA release of 0.24.5 so I encourage you to test and report any issues. Thanks James Turnbull - -- Author of: * Pulling Strings with Puppet (http://www.amazon.com/gp/product/1590599780/) * Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) * Hardening Linux (http://www.amazon.com/gp/product/1590594444/) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfBvu9hTGvAxC30ARAiCBAKChQJPAguTbO9fsAsndhhb2a4k6RwCeMd1k IjgmEGJ9KF0fKcHfBw5XHQ0=uniG -----END PGP SIGNATURE----- --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
So, after tripping up over my own install procedures and a couple of my shoddily-written types (now happily fixed), I''ve got this 100% working with our fiendishly large and complicated configuration. Only one gotcha (and fair enough, I even read the CHANGELOG so it wasn''t exactly a surprise): Variables defined as true in the External Node Classifier (and presumably false too) now come across as strings instead of booleans. Since we use the ENC extensively to declare what a host should get, I needed to alter a good few lines to deal with this. As it''s a behaviour change I''m now checking for "true" and well as true so our manifest works under 0.23 and 0.24. I reckon it''s definitely worth making this crystal clear in the doco. Good work James, nice to see things moving, Derek On Jul 15, 4:39 am, James Turnbull <ja...@lovedthanlost.net> wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all > > A new release candidate for 0.24.5 in the stable branch, 0.24.5, is > ready for testing. > > You can download it at: > > http://reductivelabs.com/downloads/puppet/puppet-0.24.5rc2.tar.gz > > (this one is minus the .git directory and therefore closer to normal size) > > Please test and report any bugs to: > > http://reductivelabs.com/redmine/ > > This will be the last release candidate (barring any major bugs) before > the GA release of 0.24.5 so I encourage you to test and report any issues. > > Thanks > > James Turnbull > > - -- > Author of: > * Pulling Strings with Puppet > (http://www.amazon.com/gp/product/1590599780/) > * Pro Nagios 2.0 > (http://www.amazon.com/gp/product/1590596099/) > * Hardening Linux > (http://www.amazon.com/gp/product/1590594444/) > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (MingW32) > Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > iD8DBQFIfBvu9hTGvAxC30ARAiCBAKChQJPAguTbO9fsAsndhhb2a4k6RwCeMd1k > IjgmEGJ9KF0fKcHfBw5XHQ0> =uniG > -----END PGP SIGNATURE-------~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
Yea I was confused by that changelog entry too... what does this mean exactly? Does it mean no more arrays from an ENC? Does it mean that instead of testing like this: if $ENC-provided-parameter { } I test like this: if $ENC-provided-parameter == ''mystring'' { } ? On Tue, Jul 15, 2008 at 11:09 AM, DerekW <whaymand@gmail.com> wrote:> > So, after tripping up over my own install procedures and a couple of > my shoddily-written types (now happily fixed), I''ve got this 100% > working with our fiendishly large and complicated configuration. > > Only one gotcha (and fair enough, I even read the CHANGELOG so it > wasn''t exactly a surprise): > > Variables defined as true in the External Node Classifier (and > presumably false too) now come across as strings instead of booleans. > Since we use the ENC extensively to declare what a host should get, I > needed to alter a good few lines to deal with this. As it''s a > behaviour change I''m now checking for "true" and well as true so our > manifest works under 0.23 and 0.24. > > I reckon it''s definitely worth making this crystal clear in the doco. > > Good work James, nice to see things moving, > Derek > > > On Jul 15, 4:39 am, James Turnbull <ja...@lovedthanlost.net> wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi all >> >> A new release candidate for 0.24.5 in the stable branch, 0.24.5, is >> ready for testing. >> >> You can download it at: >> >> http://reductivelabs.com/downloads/puppet/puppet-0.24.5rc2.tar.gz >> >> (this one is minus the .git directory and therefore closer to normal size) >> >> Please test and report any bugs to: >> >> http://reductivelabs.com/redmine/ >> >> This will be the last release candidate (barring any major bugs) before >> the GA release of 0.24.5 so I encourage you to test and report any issues. >> >> Thanks >> >> James Turnbull >> >> - -- >> Author of: >> * Pulling Strings with Puppet >> (http://www.amazon.com/gp/product/1590599780/) >> * Pro Nagios 2.0 >> (http://www.amazon.com/gp/product/1590596099/) >> * Hardening Linux >> (http://www.amazon.com/gp/product/1590594444/) >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.7 (MingW32) >> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org >> >> iD8DBQFIfBvu9hTGvAxC30ARAiCBAKChQJPAguTbO9fsAsndhhb2a4k6RwCeMd1k >> IjgmEGJ9KF0fKcHfBw5XHQ0>> =uniG >> -----END PGP SIGNATURE----- > > >--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
I''ve not tried that construct, I''ve had to change multiple cases of: case $enc_var { true: { blah } default: { bleh } } to case $enc_var { "true": { blah} default: { bleh } } Your second stanza is sadly not permitted in the Puppet language, but the first will continue to work in 0.24.5. In your case, Puppet is checking for non-false values. In mine, Puppet is checking for the boolean value of true. Regards, Derek On Jul 15, 6:07 pm, "Sam Rowe" <s...@samrowe.com> wrote:> Yea I was confused by that changelog entry too... what does this mean exactly? > > Does it mean no more arrays from an ENC? > > Does it mean that instead of testing like this: > > if $ENC-provided-parameter { > > } > > I test like this: > > if $ENC-provided-parameter == ''mystring'' { > > } > > ? > > On Tue, Jul 15, 2008 at 11:09 AM, DerekW <whaym...@gmail.com> wrote: > > > So, after tripping up over my own install procedures and a couple of > > my shoddily-written types (now happily fixed), I''ve got this 100% > > working with our fiendishly large and complicated configuration. > > > Only one gotcha (and fair enough, I even read the CHANGELOG so it > > wasn''t exactly a surprise): > > > Variables defined as true in the External Node Classifier (and > > presumably false too) now come across as strings instead of booleans. > > Since we use the ENC extensively to declare what a host should get, I > > needed to alter a good few lines to deal with this. As it''s a > > behaviour change I''m now checking for "true" and well as true so our > > manifest works under 0.23 and 0.24. > > > I reckon it''s definitely worth making this crystal clear in the doco. > > > Good work James, nice to see things moving, > > Derek > > > On Jul 15, 4:39 am, James Turnbull <ja...@lovedthanlost.net> wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > > >> Hi all > > >> A new release candidate for 0.24.5 in the stable branch, 0.24.5, is > >> ready for testing. > > >> You can download it at: > > >>http://reductivelabs.com/downloads/puppet/puppet-0.24.5rc2.tar.gz > > >> (this one is minus the .git directory and therefore closer to normal size) > > >> Please test and report any bugs to: > > >>http://reductivelabs.com/redmine/ > > >> This will be the last release candidate (barring any major bugs) before > >> the GA release of 0.24.5 so I encourage you to test and report any issues. > > >> Thanks > > >> James Turnbull > > >> - -- > >> Author of: > >> * Pulling Strings with Puppet > >> (http://www.amazon.com/gp/product/1590599780/) > >> * Pro Nagios 2.0 > >> (http://www.amazon.com/gp/product/1590596099/) > >> * Hardening Linux > >> (http://www.amazon.com/gp/product/1590594444/) > >> -----BEGIN PGP SIGNATURE----- > >> Version: GnuPG v1.4.7 (MingW32) > >> Comment: Using GnuPG with Mozilla -http://enigmail.mozdev.org > > >> iD8DBQFIfBvu9hTGvAxC30ARAiCBAKChQJPAguTbO9fsAsndhhb2a4k6RwCeMd1k > >> IjgmEGJ9KF0fKcHfBw5XHQ0> >> =uniG > >> -----END PGP SIGNATURE-------~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
On Jul 16, 2008, at 2:28 AM, DerekW wrote:> I''ve not tried that construct, I''ve had to change multiple cases of: > > case $enc_var { > true: { blah } > default: { bleh } > } > > to > case $enc_var { > "true": { blah} > default: { bleh } > } > > Your second stanza is sadly not permitted in the Puppet language, but > the first will continue to work in 0.24.5. In your case, Puppet is > checking for non-false values. In mine, Puppet is checking for the > boolean value of true.Hrm. This wasn''t my intent, and I''m kinda surprised at this behaviour. Should it be changed back? This seems like a bad idea, given that the whole point was to correct a problem with external nodes in the first place. -- I was an only child... eventually. -- Stephen Wright --------------------------------------------------------------------- Luke Kanies | http://reductivelabs.com | http://madstop.com --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---