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

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CADOnTnNoFwD4X%2BGb11n2OEPSd-uUu%2BOXtBHHkZtzU%2BbS7L9pwA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to