Remove now unneeded systemd sysv compat hack
With the upgrade to the wildfly puppet module we should no longer need this hack to get systemd sysv compat working. Remove it as it is now dead code and conflicts with the wildfly update. Change-Id: I39453506821ff7073290a4e5696eda8575b6cb06
This commit is contained in:
parent
f4dde552a2
commit
794780091a
@ -25,17 +25,6 @@ class zanata::wildfly(
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
if ($::operatingsystem == 'Ubuntu') and ($::operatingsystemrelease >= '16.04') {
|
||||
# This is a hack to make sure that systemd is aware of the new service
|
||||
# before we attempt to start it.
|
||||
exec { 'wildfly-systemd-daemon-reload':
|
||||
command => '/bin/systemctl daemon-reload',
|
||||
before => Service['wildfly'],
|
||||
subscribe => File['/etc/init.d/wildfly'],
|
||||
refreshonly => true,
|
||||
}
|
||||
}
|
||||
|
||||
class { '::wildfly':
|
||||
version => $wildfly_version,
|
||||
install_source => $wildfly_install_source,
|
||||
|
Loading…
x
Reference in New Issue
Block a user