Sha256: 083bb602047f53f1db1e214e947aeaa42212300801592179bc0e7e337dab156b

Contents?: true

Size: 459 Bytes

Versions: 3

Compression:

Stored size: 459 Bytes

Contents

namespace :monit do
  
  desc "Install monit"
  task :install do
    # Dependencies: "flex", "byacc"
    
    put load_template("monit/monit.initd.centos.erb", binding), "/tmp/monit.initd"
    put load_template("monit/monitrc.erb", binding), "/tmp/monitrc"
    put load_file("monit/monit.cnf"), "/tmp/monit.cnf"
    
    script_install("monit/install.sh")      
    script_install("monit/patch_inittab.sh")
    script_install("monit/cert.sh")
  end
      
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
capigen-0.1.1 recipes/monit.rb
capigen-0.1.2 lib/recipes/monit.rb
capigen-0.1.3 lib/recipes/monit.rb