Commit 2554f8df868210ba2d12545eb344c681c0a2e30e
1 parent
2048b9f4
Exists in
master
and in
2 other branches
Refactoring the roles files
Showing
4 changed files
with
22 additions
and
4 deletions
Show diff stats
roles/email_server.rb
roles/monitoring_server.rb
roles/reverse_proxy_server.rb
1 | 1 | name 'database_server' |
2 | 2 | description 'Reverse proxy server' |
3 | -run_list 'recipe[basics::nginx]', 'recipe[reverse_proxy]', 'recipe[reverse_proxy::mailman]', 'recipe[reverse_proxy::documentation]' | |
3 | +run_list *[ | |
4 | + 'recipe[basics::nginx]', | |
5 | + 'recipe[reverse_proxy]', | |
6 | + 'recipe[reverse_proxy::mailman]', | |
7 | + 'recipe[reverse_proxy::documentation]' | |
8 | +] | ... | ... |
roles/server.rb
1 | 1 | name 'server' |
2 | 2 | description 'Common configuration for all servers' |
3 | -run_list 'recipe[basics]', 'recipe[firewall]', 'recipe[email::client]', 'recipe[munin::node]', 'recipe[rsyslog]' | |
3 | +run_list *[ | |
4 | + 'recipe[basics]', | |
5 | + 'recipe[firewall]', | |
6 | + 'recipe[email::client]', | |
7 | + 'recipe[munin::node]', | |
8 | + 'recipe[rsyslog]' | |
9 | +] | ... | ... |