biemond-orawls
biemond-orawls copied to clipboard
extraproperties is not idempotent
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.
Hello,
is there any update on this? thanks for your continuous support.