Sha256: 4f1ebf2ef62d918bb85bb381d4bb9fb86af4160b60126ae762203b17360705d4

Contents?: true

Size: 425 Bytes

Versions: 9

Compression:

Stored size: 425 Bytes

Contents

version = ENV['PASSENGER_VERSION'] || ItamaePluginRecipeDaddy::PASSENGER_VERSION
nginx_version = ENV['NGINX_VERSION'] || ItamaePluginRecipeDaddy::NGINX_VERSION
  
gem_package 'passenger' do
  user 'root'
  version version
  options ['--verbose'] # to avoid read timeout error on docker
end

execute "rm -Rf /opt/nginx/nginx-#{nginx_version}" do
  user 'root'
  subscribes :run, 'gem_package[passenger]'
  action :nothing
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
itamae-plugin-recipe-daddy-0.1.19 lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb
itamae-plugin-recipe-daddy-0.1.18 lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb
itamae-plugin-recipe-daddy-0.1.17 lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb
itamae-plugin-recipe-daddy-0.1.16 lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb
itamae-plugin-recipe-daddy-0.1.15 lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb
itamae-plugin-recipe-daddy-0.1.14 lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb
itamae-plugin-recipe-daddy-0.1.13 lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb
itamae-plugin-recipe-daddy-0.1.12 lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb
itamae-plugin-recipe-daddy-0.1.11 lib/itamae/plugin/recipe/daddy/nginx/modules/passenger.rb