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

extraproperties is not idempotent #581

Open
rrod157 opened this issue Jul 13, 2020 · 1 comment
Open

extraproperties is not idempotent #581

rrod157 opened this issue Jul 13, 2020 · 1 comment

Comments

@rrod157
Copy link

rrod157 commented Jul 13, 2020

We noticed that when using extraproperties, it isn't idempotent. Leaving Puppet agent to change it on every run:

Notice: /Stage[main]/Safeway::Middleware::Wls12213::Create_datasource/Wls_datasource[testapp_Datasource_oracle_6]/extraproperties: extraproperties changed ['oracle.jdbc.fanEnabled=false', 'oracle.net.CONNECT_TIMEOUT=10000'] to ['oracle.jdbc.fanEnabled=false,oracle.net.CONNECT_TIMEOUT=10000']
Info: modify default/testapp_Datasource_oracle_6
Info: Got the right domain default script, now execute WLST
Info: Executing wls-script /tmp/wlstScript20200713-21314-182zkut.py with timeout = 120
Info: Connecting to wls on url t3s://testhostname.safeway.com:7003
Info: Disconnecting from wls on url t3s://testhostname.safeway.com:7003
Info: managedserver_status testapp_testhostname type Server output Found
Notice: Applied catalog in 44.61 seconds
[root@testhostname ~]# facter -p | grep conn6_dbprops
Albertson.conn6_dbprops => "oracle.jdbc.fanEnabled=false,oracle.net.CONNECT_TIMEOUT=10000",
[root@testhostname ~]#

Take note that the same module performed the addition of these properties. But after rerunning puppet agent, it seems that it changes that properties it sets itself.

@rrod157
Copy link
Author

rrod157 commented Jul 22, 2020

Hello,

is there any update on this? thanks for your continuous support.

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

1 participant