Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More detailed way to handle deployment states for jboss_deploy type & provider #32

Open
Cosaquee opened this issue Jan 15, 2016 · 0 comments
Labels

Comments

@Cosaquee
Copy link
Contributor

Correct the way that system checks if deployment is present in the system and the way the states of deployments are handled

  • jboss_deploy ensure property should accept values: present, absent, enabled, assigned, uploaded
  • jboss_deploy provider should manage the state of server to one of the following states:
    • present =>
      • if current state is absent, provider should deploy and enable artifacts
      • if current state is one of enabled, added or uploaded it should not modify state
    • absent =>
      • always undeploy the artifacts from any state
    • enabled =>
      • always deploy the deployment and activate it in specified server groups
      • if list of server groups are different deployment should be adjusted to expected server groups
    • assigned =>
      • always ensure that deployment is not active but uploaded and assigned to specified server groups
      • if list of server groups are different deployment should be adjusted to expected server groups
    • uploaded =>
      • if state is absent should only upload deployment but should not be assigned and activated in any server groups
      • otherwise deployment should be unassigned from any server group
@cardil cardil removed their assignment Jan 21, 2016
@cardil cardil changed the title enhancements for jboss_deploy More detailed way to handle deployment states for jboss_deploy type & provider Jan 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants