Commit d858b561963e5c930918afbfbc079944930e56fa
1 parent
a3f8f787
Exists in
syslog
Creating a machine "monitor" and configuring for local usage
Showing
4 changed files
with
8 additions
and
3 deletions
Show diff stats
config/local/ips.yaml
nodes.yaml
| @@ -14,6 +14,11 @@ database: | @@ -14,6 +14,11 @@ database: | ||
| 14 | run_list: | 14 | run_list: |
| 15 | - role[server] | 15 | - role[server] |
| 16 | - role[database_server] | 16 | - role[database_server] |
| 17 | +monitor: | ||
| 18 | + run_list: | ||
| 19 | + - recipe[basics] | ||
| 20 | + - recipe[firewall] | ||
| 21 | + - role[monitoring_server] | ||
| 17 | reverseproxy: | 22 | reverseproxy: |
| 18 | run_list: | 23 | run_list: |
| 19 | - role[server] | 24 | - role[server] |
roles/monitoring_server.rb
roles/server.rb
| 1 | name 'server' | 1 | name 'server' |
| 2 | description 'Common configuration for all servers' | 2 | description 'Common configuration for all servers' |
| 3 | -run_list 'recipe[basics]', 'recipe[firewall]', 'recipe[email::client]', 'recipe[munin::node]' | 3 | +run_list 'recipe[basics]', 'recipe[firewall]', 'recipe[email::client]', 'recipe[munin::node]', 'recipe[rsyslog::node]' |
| 4 | \ No newline at end of file | 4 | \ No newline at end of file |