Quantcast
Channel: Ask Puppet: Puppet DevOps Q&A Community - RSS feed
Viewing all articles
Browse latest Browse all 6104

Hiera not picking up packages resource

$
0
0
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

Viewing all articles
Browse latest Browse all 6104

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>