You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 25, 2018. It is now read-only.
I'm upgrading a fleet of machines from 2.2 to 2.4 and in order to maintain compatibility with existing tools I'd like to keep the service name as "httpd", so all configuration would go in /etc/httpd/, and the init.d script would be /etc/init.d/httpd instead of /etc/init.d/httpd-<whatever>.
Judging by the following helper method that's used by httpd_service and httpd_config I don't think that's currently possible:
defapache_name"httpd-#{instance}"end
Ideally I'd like something like this:
# installs default 2.4 in /etc/httpdhttpd_servicedoaction"create"end# adds vhost config in /etc/httpd/conf.dhttpd_config"example"doinstance""source ...
template ...
end# drop off the wsgi.load in /etc/init.d/conf.modules.dhttpd_module"wsgi"doinstance""action"create"end
The text was updated successfully, but these errors were encountered:
This seems like it would be the default as well. It's not very clear in the documentation that its creating a separate process and config path httpd-default as the default instance. I'm not sure what the reasoning behind making it separate for a default install.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Cookbook version
0.6.1
Chef-client version
12.x
Platform Details
RHEL
Scenario:
I'm upgrading a fleet of machines from 2.2 to 2.4 and in order to maintain compatibility with existing tools I'd like to keep the service name as "httpd", so all configuration would go in
/etc/httpd/
, and the init.d script would be/etc/init.d/httpd
instead of/etc/init.d/httpd-<whatever>
.Judging by the following helper method that's used by httpd_service and httpd_config I don't think that's currently possible:
Ideally I'd like something like this:
The text was updated successfully, but these errors were encountered: