Moved to using pypi to install the package

This commit is contained in:
Tim Kuhlman
2014-05-12 10:01:04 -06:00
parent 379ede515c
commit 7d9bc06542
3 changed files with 8 additions and 3 deletions

View File

@@ -4,4 +4,4 @@ maintainer_email 'hpcs-mon@hp.com'
license 'All rights reserved' license 'All rights reserved'
description 'Installs/Configures mon_notification' description 'Installs/Configures mon_notification'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md')) long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.6' version '0.1.7'

View File

@@ -1,4 +1,9 @@
package 'mon-notification' do # preferable for the OS to install then easy_install to try and compile the MySQL-python package
package 'python-mysqldb' do
action :install
end
easy_install_package 'mon-notification' do
action :upgrade action :upgrade
end end

View File

@@ -10,4 +10,4 @@ kill timeout 240
setgid <%= node[:mon_notification][:group] %> setgid <%= node[:mon_notification][:group] %>
setuid <%= node[:mon_notification][:user] %> setuid <%= node[:mon_notification][:user] %>
exec /usr/bin/mon-notification exec /usr/local/bin/mon-notification