Hi guys, I am experiencing with Puppet 4 and have the following issue:
In my **site.pp** manifest i have defined the following default node:
node default {
include(hiera_array('classes', []))
}
In my **common.yaml** file i have entered the following:
---
classes:
- motd
packages:
- htop
The motd class is picked up just fine by my single node but the htop package does not.
But when I add the " htop " package resource to my **site.pp** it install no problem:
node default {
include(hiera_array('classes', []))
package { 'htop':
ensure => 'present',
}
}
How can i make hiera install the package htop?
I am using Puppet 4.10.6
Thanks
↧