mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-21 16:39:30 +00:00
test(httpd): require SLES service unit
This commit is contained in:
@@ -32,6 +32,9 @@ like( $xcat_spec,
|
||||
my $xcatsn_spec = read_file('xCATsn/xCATsn.spec');
|
||||
like( $xcatsn_spec, qr{a2enmod headers},
|
||||
'service-node RPM enables mod_headers where Apache requires it' );
|
||||
like( $xcatsn_spec,
|
||||
qr{apacheserviceunit='httpd\.service'.*?apacheserviceunit='apache2\.service'}s,
|
||||
'service-node RPM covers both EL and SUSE Apache service units' );
|
||||
like( $xcatsn_spec,
|
||||
qr{# for install or upgrade restart the daemon.*?/etc/init\.d/\$apachedaemon reload.*?systemctl reload \$apacheserviceunit}s,
|
||||
'service-node RPM reloads Apache after installs and upgrades' );
|
||||
|
||||
Reference in New Issue
Block a user