mkdir -p './php/embed-php5.6/ext-active'
mkdir -p './php/fpm-php5.6/ext'
mkdir -p './php/fpm-php5.6/ext-active'
-mkdir -p './puppetlabs/code'
+mkdir -p './puppetlabs/code/environments'
mkdir -p './puppetlabs/puppet/ssl/ca/requests'
mkdir -p './puppetlabs/puppet/ssl/certificate_requests'
mkdir -p './puppetlabs/puppet/ssl/private'
maybe chgrp 'puppet' 'puppetlabs'
maybe chmod 0750 'puppetlabs'
maybe chmod 0755 'puppetlabs/code'
+maybe chmod 0755 'puppetlabs/code/environments'
maybe chgrp 'puppet' 'puppetlabs/puppet'
maybe chmod 0750 'puppetlabs/puppet'
+maybe chmod 0644 'puppetlabs/puppet/hiera.yaml'
maybe chown 'puppet' 'puppetlabs/puppet/ssl'
maybe chgrp 'puppet' 'puppetlabs/puppet/ssl'
maybe chmod 0771 'puppetlabs/puppet/ssl'
--- /dev/null
+---
+:backends:
+ - yaml
+ - json
+:yaml:
+ :datadir: "/etc/puppetlabs/code/environments/%{::environment}/hieradata"
+:json:
+ :datadir: "/etc/puppetlabs/code/environments/%{::environment}/hieradata"
+:hierarchy:
+ - "nodes/%{::trusted.certname}"
+ - "virtual/%{::virtual}"
+ - "common"
+# :merge_behavior: deeper
+# :deep_merge_options:
+# :knockout_prefix: '--'
autocmd FileType sh set tabstop=4 expandtab shiftwidth=4 softtabstop=4
autocmd FileType perl set tabstop=4 noexpandtab shiftwidth=4
autocmd FileType fstab set tabstop=8 noexpandtab shiftwidth=8 softtabstop=8 list
+autocmd FileType yaml set tabstop=2 expandtab shiftwidth=2 softtabstop=2 list
set listchars=tab:»·,trail:·
"set list