example42 / puppet-jboss

Jboss Puppet Module
http://www.example42.com
Other
15 stars 25 forks source link

order problem in jboss::instance #33

Closed st33v closed 10 years ago

st33v commented 10 years ago

I think line 188-194 in manifests/instance.pp should be more like:

  service { "jboss-$name":
    ensure => $service_ensure,
    enable => $bool_enable,
    hasrestart => true,
    hasstatus => true,
    require => Exec["Clone_Jboss_Instance_$name"]
  }

because the service should only run after the clone.