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

Multiple Target Cluster #536

Open
piusranjan opened this issue Jun 17, 2018 · 2 comments
Open

Multiple Target Cluster #536

piusranjan opened this issue Jun 17, 2018 · 2 comments

Comments

@piusranjan
Copy link

Hi Biemond,
I am using puppet version 4.10.1
I wanted to deploy my application (war) to multiple Cluster. That means I wanted to target to multiple cluster. For example . I am creating 2 cluster say , prs_cluster, and nrs_cluster. Is below is the correct usage to target multiple cluster? However I am not getting expected results.

wls_deployments:
"%{hiera('domain_name')}/testapp":
ensure: "present"
deploymenttype: "AppDeployment"
stagingmode: "nostage"
versionidentifier: "%{hiera('war_version')}"
remote: "0"
upload: "0"
target: prs_cluster, nrs_cluster
targettype: "%{hiera('targettypes')}"
localpath: "/opt/mycom/demo/dmo-apps1/apps/TestWebApplication.war"
timeout: "900"

Thanks,
Pius

@biemond
Copy link
Owner

biemond commented Jun 17, 2018

Hi,

you need to check the wlst deploy operation with the targets parameters. on create I just use deploy
https://github.com/biemond/biemond-orawls/blob/puppet4/files/providers/wls_deployment/create.py.erb#L60

On modify I do the taegetting

https://github.com/biemond/biemond-orawls/blob/puppet4/files/providers/wls_deployment/modify.py.erb#L92

@piusranjan
Copy link
Author

Thanks Biemond .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants