lib/poolparty/base_packages/poolparty.rb in auser-poolparty-0.2.77 vs lib/poolparty/base_packages/poolparty.rb in auser-poolparty-0.2.78
- old
+ new
@@ -100,9 +100,11 @@
has_exec(:name => "start master messenger", :command => ". /etc/profile && server-start-master") #, :ifnot => "/bin/ps aux | /bin/grep -q pm_master"
has_exec(:name => "start client server", :command => ". /etc/profile && server-start-client") #, :ifnot => "/bin/ps aux | /bin/grep -q client_server"
has_cron({:name => "maintain script", :command => ". /etc/profile && cloud-maintain -n #{cloud.name}", :minute => "*/3", :requires => [get_gempackage("poolparty"), get_cron("puppetd runner"), get_cron("Load handler"), get_service("haproxy")]})
+ has_cron(:name => "ensure puppetmaster is running", :command => ". /etc/profile && puppetmasterd --verbose", :hour => "0")
+
end
# has_host(:name => "puppet", :ip => (self.respond_to?(:master) ? self : parent).master.ip)
end
end
\ No newline at end of file