Advertisement
Guest User

Untitled

a guest
Nov 28th, 2014
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. key = ChefVault::Item.load("secrets", "sm_crt")['key']
  2. file node['sm-haproxy']['wildcard_ssl_file_loc'] do
  3. mode '0400'
  4. owner 'root'
  5. group 'root'
  6. content key
  7. end
  8. ca = ChefVault::Item.load("secrets", "sm_ca")['ca']
  9. file node['sm-haproxy']['wildcard_ca_file_loc'] do
  10. mode '0400'
  11. owner 'root'
  12. group 'root'
  13. content ca
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement