Skip to content

Commit

Permalink
fixing cloud formation hiera template (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
davejrt authored and scotty-c committed Nov 9, 2017
1 parent 6833945 commit e073010
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion cloud/aws/kream_template.json
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,15 @@
"\n",
"cd /root/puppet-enterprise-* && ./puppet-enterprise-installer -c /root/pe.conf", "\n",
"\n",
"sed -i -e 's/common/global/' /etc/puppetlabs/puppet/hiera.yaml", "\n",
"cat << EOF > /etc/puppetlabs/puppet/hiera.yaml", "\n",
"version: 5", "\n",
"defaults:", "\n",
" datadir: /etc/puppetlabs/code/environments/%{environment}/hieradata", "\n",
" data_hash: yaml_data", "\n",
"hierarchy:", "\n",
"- name: \"Global path\"", "\n",
" path: \"global.yaml\"", "\n",
"EOF", "\n",
"\n",
"echo '*.kream.demo' > /etc/puppetlabs/puppet/autosign.conf", "\n",
"\n",
Expand Down

0 comments on commit e073010

Please sign in to comment.