Quantcast
Viewing latest article 33
Browse Latest Browse All 101

Stop People Calling Private Puppet Classes

When writing puppet modules sometimes you need to ensure that certain classes are only used within your module itself. For example a class that implements functionality based on the local operating system that should only be used by your public class. While reading though the new puppetlabs-mcollective modules source I came across a new pattern I’d not seen used in puppet before that achieves this in a very elegant way and i thought it was worth a second look.

Viewing latest article 33
Browse Latest Browse All 101

Trending Articles