Last active
August 29, 2015 14:22
-
-
Save kabakaev/7638e95da7199705cd81 to your computer and use it in GitHub Desktop.
simulate Hiera run in CLI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # or hiera --hash \ | |
| hash='rkt_base::monitor::icinga2::is_server'; \ | |
| env='staging'; \ | |
| role='puppet'; \ | |
| role2='monitor'; \ | |
| role3='log'; \ | |
| countrycode='id'; \ | |
| hiera \ | |
| -c /etc/puppet/environments/production/hiera.yaml --debug "$hash" \ | |
| ::environment=production environment=production \ | |
| env=$env ::env=$env \ | |
| role=$role ::role=$role \ | |
| role2=$role2 ::role2=$role2 \ | |
| role3=$role3 ::role3=$role3 \ | |
| countrycode=$countrycode ::countrycode=$countrycode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment