Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- key = ChefVault::Item.load("secrets", "sm_crt")['key']
- file node['sm-haproxy']['wildcard_ssl_file_loc'] do
- mode '0400'
- owner 'root'
- group 'root'
- content key
- end
- ca = ChefVault::Item.load("secrets", "sm_ca")['ca']
- file node['sm-haproxy']['wildcard_ca_file_loc'] do
- mode '0400'
- owner 'root'
- group 'root'
- content ca
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement