Made the smtp_server configurable and defaulted it to localhost

This commit is contained in:
Tim Kuhlman 2014-05-12 16:28:47 -06:00
parent 7d9bc06542
commit ea911dfb35
3 changed files with 3 additions and 2 deletions

View File

@ -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'

View File

@ -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'

View File

@ -11,7 +11,7 @@ mysql:
db: mon
email:
server: smtp3.hp.com
server: <%= node[:mon_notification][:smtp_server] %>
port: 25
user:
password: