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

hiera doesn't work

$
0
0
Hi all! I have puppetmaster 4 + puppetdb 4.1 and i try to use hiera... In puppet master: puppet nodes # cat /etc/puppetlabs/code/hiera.yaml --- :backends: - yaml :yaml: :datadir: "/etc/puppetlabs/code/environments/%{environment}/hieradata" :hierarchy: - "nodes/%{::trusted.certname}" - "nodes/%{::hostname}" - common puppet nodes # cat /etc/puppetlabs/code/environments/production/hieradata/nodes/puppetdb.yaml # /etc/puppetlabs/code/production/hieradata/web01.example.com.yaml --- ntp::restrict: - ntp::autoupdate: false ntp::enable: true ntp::servers: - 0.us.pool.ntp.org iburst - 1.us.pool.ntp.org iburst - 2.us.pool.ntp.org iburst - 3.us.pool.ntp.org iburst Why if i run in puppetdb **puppet agent -t** Info: Using configured environment 'production' Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for puppetdb Info: Applying configuration version '1464975833' Notice: Applied catalog in 0.03 seconds Nothing happens... Maybe i must do anything else?

Viewing all articles
Browse latest Browse all 6104

Trending Articles