Moved to using pypi to install the package
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user