Sha256: 6252771b96a1dc583c16410a12b4ed6be963cb87d9bf6b1380ea1ac37e29e2b5
Contents?: true
Size: 470 Bytes
Versions: 4
Compression:
Stored size: 470 Bytes
Contents
ruby_block "install daemontools" do block do directory = "/package/admin" repo = "git://github.com/MikeSofaer/daemontools.git" dir_name = "daemontools-0.76" FileUtils.mkdir_p directory system("cd #{directory} && git clone #{repo} #{dir_name}") system("cd #{File.join(directory, dir_name)} && ./package/install") end not_if "ls /command/svscanboot" end execute "make sure daemontools is installed" do command "ls /command/svscanboot" end
Version data entries
4 entries across 4 versions & 1 rubygems