Last active
August 29, 2015 13:56
-
-
Save woods/8848314 to your computer and use it in GitHub Desktop.
Example of conditional automount map in chef templates
This file contains 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
/dlt/repo storage. | |
/dlt/users storage. | |
<% if node['application'] %> | |
/dlt/<%= node['application'] %> -local storage.dlt/ifs/data/<%= node['application'] %> | |
/dlt/<%= node['application'] %> -local storage.dlt/ifs/data/<%= node['application'] %> | |
<% end %> |
This file contains 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
{ | |
"provider": "rackspace", | |
"environments": ["staging", "beta", "production"], | |
"passenger_ruby_version": "2.1.0", | |
"application": "dbhosting", | |
"run_list": [ | |
"role[rails_server]", | |
"role[postgresql_server]", | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment