puppet-jboss
puppet-jboss copied to clipboard
Resolve artifact to be undeployed based on artifact name to be deployed
Add a system that will search every deployment and undeploy every occurrence of name that was given to deploy. Such system would guaranty that we won`t deploy same application twice.
Behavior should be started by flag in manifest, ex: undeploy_same.
Hi, Ideally, this should somehow be version-based. In our case, deployments have a fixed name but a changing version number (version.release.level). Maybe a fact returning the running version would help for idempotency using 'onlyif' or 'unless' with the jboss::deploy resource. Furthermore, there should be a mechanism to serialize deployments in a cluster environment with multiple server instances running the same deployment to guarantee continuous service. Cheers, Heinz