I'm working on architecting Puppet, from scratch, for our data center and trying to keep our Hiera hierarchy to a minimum. One of the things we do with our current home-grown configuration management system is have different settings for different OS levels. For example, if we're running Solaris 10, then "ntp" should be running. If Solaris 11, then "ntp4" should be running. In fact, they both have widely different services to be enabled/disabled.
I'm wondering whether or not this should all be handled within the modules or whether or not its an ok practice to configure this in Hiera. It would be much easier to do it all in Hiera where I could just have an array of expected services enabled/disabled.
↧