lib/poolparty/base_packages/poolparty.rb in auser-poolparty-0.2.48 vs lib/poolparty/base_packages/poolparty.rb in auser-poolparty-0.2.49

- old
+ new

@@ -75,10 +75,12 @@ # These are all requirements on the master execute_on_master do # TODO: Update this so it only runs when needed has_exec(:name => "start master messenger", :command => ". /etc/profile && server-start-master", :requires => [get_gempackage("poolparty-latest"), get_exec("build_messenger")], :onlyif => "ps aux | grep beam | grep master") - has_cron({:name => "maintain script", :command => ". /etc/profile && which cloud-maintain | /bin/sh", :minute => "*/3", :requires => [get_gempackage("poolparty-latest"), get_cron("puppetd runner"), get_cron("Load handler"), get_exec("start master messenger"), get_service("haproxy")]}) + has_exec(:name => "start client server", :command => ". /etc/profile && server-start-master", :requires => [get_gempackage("poolparty-latest"), get_exec("build_messenger"), get_exec("start master messenger")], :onlyif => "ps aux | grep beam | grep client") + + has_cron({:name => "maintain script", :command => ". /etc/profile && which cloud-maintain | /bin/sh", :minute => "*/3", :requires => [get_gempackage("poolparty-latest"), get_cron("puppetd runner"), get_cron("Load handler"), get_exec("start master messenger"), get_service("haproxy"), get_exec("start client server")]}) has_remotefile(:name => "/usr/bin/puppetcleaner") do mode 744 template File.join(File.dirname(__FILE__), "..", "templates/puppetcleaner") end \ No newline at end of file