On 2015-16-12 14:58, R.I.Pienaar wrote:
----- Original Message -----
From: "Henrik Lindberg" <henrik.lindb...@cloudsmith.com>

- use type system
- use EPP instead of ERB
- transition from using hira functions to using lookup (and next step to
use 'data in environments and modules').
- namespace all functions you create
- whenever possible write functions in puppet instead of ruby
- iterate and use regular resource syntax instead of create_resources

Seeing this reminded me I wanted to blog about iteration in 3 and 4, see:

https://www.devco.net/archives/2015/12/16/iterating-in-puppet.php


That sums it up nicely.

--

Visit my Blog "Puppet on the Edge"
http://puppet-on-the-edge.blogspot.se/

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/n4rvcs%24lv1%242%40ger.gmane.org.
For more options, visit https://groups.google.com/d/optout.

Reply via email to