As a result I obtained a list of error and warnings which in many cases
are easy to solve, for example the use of $fqdn instead of $::fqdn
What I'm wondering is what are the real best practices you guys adopt
writing your puppet code, for example you use the :: on topscope
variables? You yse puppet-lint (or a similar tool) to check your style?
Thanks
--
Andrea Cappelli
Kurt Wall
unread,
Jan 29, 2014, 1:10:28 PM1/29/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
you are on the right track. We enforce the style guide using commit
hooks. if the code is not conform the guide, you can not check in your
code, and everyone benefits when you do this. especially you ..
--
Johan De Wit
Open Source Consultant
Red Hat Certified Engineer (805008667232363)
Puppet Certified Professional 2013 (PCP0000006)
_________________________________________________________