lib/poolparty/plugins/runit.rb in auser-poolparty-0.2.67 vs lib/poolparty/plugins/runit.rb in auser-poolparty-0.2.68

- old
+ new

@@ -1,10 +1,10 @@ module PoolParty class Runit define_resource(:runitservice) do def has_runit_service(name="runitservice", downif="", templatedir="") path = copy_templates_from_templatedir(templatedir) - call_function <<-EOC + call_custom_function <<-EOC runit_service { "#{name}": directory => "/etc/sv", downif => "/bin/ps aux | grep -v grep | grep -q #{downif}", templatedir => "#{path}"; \ No newline at end of file