Sha256: f406e5f250af5dbb3f6fdcf29b318d58a43ff4a8c39d261e7900e4dd9514979f

Contents?: true

Size: 422 Bytes

Versions: 17

Compression:

Stored size: 422 Bytes

Contents

package 'nginx'

service 'nginx' do
  action :start
  supports :restart => true
end

file '/etc/nginx/sites-enabled/default' do
  action :delete
end

template '/etc/nginx/sites-available/integration-test'

link '/etc/nginx/sites-enabled/integration-test' do
  to '/etc/nginx/sites-available/integration-test'
  notifies :restart, 'service[nginx]'
end

cookbook_file '/usr/share/nginx/www/index.html' do
  mode '0644'
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
infrataster-0.2.2 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.2.1 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.2.0 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.2.0.beta1 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.13 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.12 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.11 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.10 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.9 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.8 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.7 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.6 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.5 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.4 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.3 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.2 spec/integration/vm/cookbooks/proxy/recipes/default.rb
infrataster-0.1.1 spec/integration/vm/cookbooks/proxy/recipes/default.rb