puppet-jboss icon indicating copy to clipboard operation
puppet-jboss copied to clipboard

Resolve artifact to be undeployed based on artifact name to be deployed

Open Cosaquee opened this issue 8 years ago • 1 comments

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.

Cosaquee avatar Mar 21 '16 14:03 Cosaquee

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

naefhe avatar Mar 23 '16 08:03 naefhe