Created
November 30, 2016 08:14
-
-
Save marzzz21/7a6e1c838a1d7b7a5f36b2ae2b0c2351 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Recipe: apache2::default | |
* service[apache2] action enable | |
================================================================================ | |
Error executing action `enable` on resource 'service[apache2]' | |
================================================================================ | |
Errno::ENOENT | |
------------- | |
No such file or directory - /usr/sbin/httpd.worker | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cache/cookbooks/apache2/recipes/default.rb | |
206: service 'apache2' do | |
207: service_name apache_service_name | |
208: case node['platform_family'] | |
209: when 'rhel' | |
210: if node['platform_version'].to_f < 7.0 | |
211: restart_command "/sbin/service #{apache_service_name} restart && sleep 1" | |
212: reload_command "/sbin/service #{apache_service_name} graceful && sleep 1" | |
213: end | |
214: when 'debian' | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cache/cookbooks/apache2/recipes/default.rb:206:in `from_file' | |
service("apache2") do | |
action [:enable, :start] | |
supports {:restart=>true, :reload=>true, :status=>true, :start=>true} | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
service_name "httpd" | |
pattern "apache2" | |
declared_type :service | |
cookbook_name "apache2" | |
recipe_name "default" | |
only_if "/usr/sbin/httpd.worker -t" | |
end | |
Platform: | |
--------- | |
x86_64-linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment