Skip to content

Commit

Permalink
do not try to 'enable' the systemd unit template
Browse files Browse the repository at this point in the history
  • Loading branch information
fraenki committed Oct 19, 2022
1 parent 49d4640 commit 0c51981
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

### Fixed
* Fix failed validation when setting `$cluster=false`
* Do not try to 'enable' the systemd unit template (fails on recent systemd versions)

## [v1.3.0] - 2022-07-27

Expand Down
13 changes: 1 addition & 12 deletions manifests/service.pp
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,12 @@
#
# @api private
class activemq::service {
# Install service file for multi-instance support.
# Install service template file for multi-instance support.
file { $activemq::service_file:
ensure => file,
owner => 'root',
group => 0,
mode => '0644',
content => epp($activemq::service_template),
}

# Enable main service.
service { "${activemq::service_name}@":
enable => $activemq::service_enable,
subscribe => [
Class['activemq::install'],
],
require => [
File[$activemq::service_file],
],
}
}

0 comments on commit 0c51981

Please sign in to comment.