Hi all!
I'm very new to puppet. I have installed a puppet master which successfully sets the IP address and manages sudo on a couple of nodes.
I'm using Puppet 3.7 with Hiera, and so far I haven't had to write any manifest files, apart from the one that pulls in Hiera. As far as I can tell, this is a best practice.
Now I would like to manage packages on my agents. I assume that in the node specific Hiera file, I should be able do something like the following:
packages:
apache2:
ensure: installed
However, nothing gets installed. I know I'm taking too simplistic of an approach, but I'm not sure where to start digging. Most things I've found say that I need a "wrapper class" to read in the Hiera data and install the packages. Is there no way to install packages purely from hiera? I've found some modules that propose to do this, but so far I can't get them to work. I'd like to do this without additional modules if possible; it seems like a pretty basic operation.
Thanks!
Brantley Hobbs