Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Make a difference between squeeze and wheezy.

  • Loading branch information...
commit 67855305a961bd4d332c2ddaceb023eda7f75e84 1 parent 25d18bf
@timstoop timstoop authored
Showing with 5 additions and 4 deletions.
  1. +5 −4 kbp_activemq/manifests/init.pp
View
9 kbp_activemq/manifests/init.pp
@@ -30,13 +30,14 @@
if $lsbdistcodename == 'wheezy' {
file {
- "/etc/activemq/site-enabled/main":
- ensure => directory;
- "/etc/activemq/site-enabled/main/activemq.xml":
+ "/etc/activemq/instances-enabled/main":
+ ensure => directory,
+ require => Package["activemq"];
+ "/etc/activemq/instances-enabled/main/activemq.xml":
content => template("kbp_activemq/activemq.xml"),
notify => Exec["/bin/rm -Rf /var/lib/activemq/*"],
require => Package["activemq"];
- "/etc/activemq/site-enabled/main/jetty.xml":
+ "/etc/activemq/instances-enabled/main/jetty.xml":
content => template("kbp_activemq/jetty.xml"),
notify => Exec["reload-activemq"],
require => Package["activemq"];
Please sign in to comment.
Something went wrong with that request. Please try again.