Made the smtp_server configurable and defaulted it to localhost
This commit is contained in:
parent
7d9bc06542
commit
ea911dfb35
@ -2,3 +2,4 @@ default[:mon_notification][:user] = 'mon-notification'
|
||||
default[:mon_notification][:group] = 'mon-notification'
|
||||
default[:mon_notification][:conf_dir] = '/etc/mon'
|
||||
default[:mon_notification][:log_dir] = '/var/log/mon-notification'
|
||||
default[:mon_notification][:smtp_server] = 'localhost'
|
||||
|
@ -4,4 +4,4 @@ maintainer_email 'hpcs-mon@hp.com'
|
||||
license 'All rights reserved'
|
||||
description 'Installs/Configures mon_notification'
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version '0.1.7'
|
||||
version '0.1.8'
|
||||
|
@ -11,7 +11,7 @@ mysql:
|
||||
db: mon
|
||||
|
||||
email:
|
||||
server: smtp3.hp.com
|
||||
server: <%= node[:mon_notification][:smtp_server] %>
|
||||
port: 25
|
||||
user:
|
||||
password:
|
||||
|
Loading…
x
Reference in New Issue
Block a user