Sha256: 158d2dab5b6d07c97756f1d505891d556deaf296c53130bae88727d39669740c

Contents?: true

Size: 464 Bytes

Versions: 5

Compression:

Stored size: 464 Bytes

Contents

# Recipe aegir::default attempts to notify service "php5-fpm", which is 
# actually defined under the name "php-fpm" in cookbook php-fpm::default.
# --> hence, define it under the new name here!
php_fpm_service_name = "php5-fpm"
if platform_family?("rhel")
  php_fpm_service_name = "php-fpm"
end
service "php5-fpm" do
  service_name php_fpm_service_name
  supports :start => true, :stop => true, :restart => true, :reload => true
  action [ :enable, :restart ]
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cloud-toaster-1.1.6 chef/cookbooks/toaster/recipes/pre__aegir__default.rb
cloud-toaster-1.1.5 chef/cookbooks/toaster/recipes/pre__aegir__default.rb
cloud-toaster-1.1.4 chef/cookbooks/toaster/recipes/pre__aegir__default.rb
cloud-toaster-1.1.3 chef/cookbooks/toaster/recipes/pre__aegir__default.rb
cloud-toaster-1.1.2 chef/cookbooks/toaster/recipes/pre__aegir__default.rb