biemond-orawls icon indicating copy to clipboard operation
biemond-orawls copied to clipboard

extraproperties is not idempotent

Open rrod157 opened this issue 3 years ago • 1 comments

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 avatar Jul 13 '20 08:07 rrod157

Hello,

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

rrod157 avatar Jul 22 '20 02:07 rrod157