Puppet Class: wildfly::service::systemd
- Defined in:
- manifests/service/systemd.pp
Overview
Wildfly systemd configuration
3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
# File 'manifests/service/systemd.pp', line 3
class wildfly::service::systemd {
# Use native script
file { "${wildfly::dirname}/bin/launch.sh" :
ensure => file,
mode => '0755',
owner => $wildfly::user,
group => $wildfly::group,
# need to manage this until it's fixed in the upstream
content => epp('wildfly/launch.sh.epp'),
before => File["/etc/systemd/system/${wildfly::service::service_name}.service"],
}
file { "/etc/systemd/system/${wildfly::service::service_name}.service":
ensure => file,
mode => '0644',
content => epp($wildfly::service::systemd_template),
before => Service['wildfly'],
}
}
|