Sha256: bf53e627a4da6f3b3b201385a19806cc780ee0e5451136e66e900185126ba2b1

Contents?: true

Size: 666 Bytes

Versions: 22

Compression:

Stored size: 666 Bytes

Contents

package 'sl' do
  version '3.03-17'
end

######

gem_package 'ast' do
  version '2.0.0'
  options ['--no-ri', '--no-rdoc']
end

######

service "cron" do
  action :stop
end

execute "ps -C cron > /tmp/cron_stopped; true"

service "cron" do
  action :start
end

execute "ps -C cron > /tmp/cron_running; true"

######

package "nginx" do
  options "--force-yes"
end

service "nginx" do
  action [:enable, :start]
end

execute "test -f /etc/rc3.d/S20nginx" # test
execute "test $(ps h -C nginx | wc -l) -gt 0" # test

service "nginx" do
  action [:disable, :stop]
end

execute "test ! -f /etc/rc3.d/S20nginx" # test
execute "test $(ps h -C nginx | wc -l) -eq 0" # test

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
itamae-1.14.1 spec/integration/recipes/docker.rb
itamae-1.14.0 spec/integration/recipes/docker.rb
itamae-1.13.1 spec/integration/recipes/docker.rb
itamae-1.13.0 spec/integration/recipes/docker.rb
itamae-1.12.6 spec/integration/recipes/docker.rb
itamae-1.12.5 spec/integration/recipes/docker.rb
itamae-1.12.4 spec/integration/recipes/docker.rb
itamae-1.12.3 spec/integration/recipes/docker.rb
itamae-1.12.2 spec/integration/recipes/docker.rb
itamae-1.12.1 spec/integration/recipes/docker.rb
itamae-1.12.0 spec/integration/recipes/docker.rb
itamae-1.11.2 spec/integration/recipes/docker.rb
itamae-1.11.1 spec/integration/recipes/docker.rb
itamae-1.11.0 spec/integration/recipes/docker.rb
itamae-1.10.10 spec/integration/recipes/docker.rb
itamae-1.10.9 spec/integration/recipes/docker.rb
itamae-1.10.8 spec/integration/recipes/docker.rb
itamae-1.10.7 spec/integration/recipes/docker.rb
itamae-1.10.6 spec/integration/recipes/docker.rb
itamae-1.10.5 spec/integration/recipes/docker.rb