Re: [Puppet Users] Re: Announce: Puppet 3.3.0 Available
On 2013-15-09 3:11, William Van Hevelingen wrote: Hi Henrik or Eric, Is it possible to error on failed lookups? This is useful for replacing the fail('osfamily not supported') lines in most params.pp files. Ryan mentioned the same thing in the ticket and I wasn't sure if it was resolved. It currently returns undef if the value is not found. It should error if a parameterized class does not get a value for a parameter (and it has no default value), but it does not do that for an explicit lookup. It has been brought up earlier that it is a bit klunky to lookup a value and use a default as a check is needed. I can imagine changing the lookup signature to take name, type and default. If no default is given it could be made to raise an error if name does not exist. Regards - henrik -- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: Announce: Puppet 3.3.0 Available
On 2013-14-09 9:05, Robin Powell wrote: In the announcement, http://projects.puppetlabs.com/issues/16856 is introduced as data in modules, and that we should see ARM-9 ( https://github.com/puppetlabs/armatures/blob/master/arm-9.data_in_modules/index.md ). But #16856 itself never references ARM-9 that I can see, but only references ARM-8 ( https://github.com/puppetlabs/armatures/blob/master/arm-8.puppet_bindings/index.md ). Please tell me, which of ARM-8 and ARM-9 are actually implemented in 3.3.0? I understand in either case it's not considered a completed work, but I'd like to know at least what to be looking at. ARM-9 ('data in modules') is fully implemented as described and is included in 3.3.0. It is considered to be a complete work. It is based on the ideas in ARM-8 'puppet bindings' (which thus is partially implemented; usage of the bindings system for an updated ENC, the concrete Puppet DSL syntax, and a couple of the more exotic types of bindings are not implemented in 3.3.0) I updated issue 16856 with links to ARM-9 and to the example that was just posted from ProPuppet. It is experimental in the respect that we want to get it in-front of people to get feedback on usability and to find issues. Based on that feedback and when later released it may change in a backwards incompatible way compared to the experimental version. We will do our best to not introduce such breakage. Hope that better explains the status of ARM-9 (data in modules) and the difference between it and ARM-8. Regards - henrik -- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
Re: [Puppet Users] Re: Announce: Puppet 3.3.0 Available
Hi Henrik or Eric, Is it possible to error on failed lookups? This is useful for replacing the fail('osfamily not supported') lines in most params.pp files. Ryan mentioned the same thing in the ticket and I wasn't sure if it was resolved. It currently returns undef if the value is not found. On Sat, Sep 14, 2013 at 8:26 AM, Henrik Lindberg henrik.lindb...@cloudsmith.com wrote: On 2013-14-09 9:05, Robin Powell wrote: In the announcement, http://projects.puppetlabs.**com/issues/16856http://projects.puppetlabs.com/issues/16856is introduced as data in modules, and that we should see ARM-9 ( https://github.com/puppetlabs/**armatures/blob/master/arm-9.** data_in_modules/index.mdhttps://github.com/puppetlabs/armatures/blob/master/arm-9.data_in_modules/index.md). But #16856 itself never references ARM-9 that I can see, but only references ARM-8 ( https://github.com/puppetlabs/**armatures/blob/master/arm-8.** puppet_bindings/index.mdhttps://github.com/puppetlabs/armatures/blob/master/arm-8.puppet_bindings/index.md). Please tell me, which of ARM-8 and ARM-9 are actually implemented in 3.3.0? I understand in either case it's not considered a completed work, but I'd like to know at least what to be looking at. ARM-9 ('data in modules') is fully implemented as described and is included in 3.3.0. It is considered to be a complete work. It is based on the ideas in ARM-8 'puppet bindings' (which thus is partially implemented; usage of the bindings system for an updated ENC, the concrete Puppet DSL syntax, and a couple of the more exotic types of bindings are not implemented in 3.3.0) I updated issue 16856 with links to ARM-9 and to the example that was just posted from ProPuppet. It is experimental in the respect that we want to get it in-front of people to get feedback on usability and to find issues. Based on that feedback and when later released it may change in a backwards incompatible way compared to the experimental version. We will do our best to not introduce such breakage. Hope that better explains the status of ARM-9 (data in modules) and the difference between it and ARM-8. Regards - henrik -- 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.compuppet-users%2bunsubscr...@googlegroups.com . To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/**group/puppet-usershttp://groups.google.com/group/puppet-users . For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out . -- Thanks, William -- 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+unsubscr...@googlegroups.com. To post to this group, send email to puppet-users@googlegroups.com. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.