biemond / biemond-orawls

Puppet 3/4 module for WebLogic provisioning module ( Linux & Solaris )
Apache License 2.0
63 stars 104 forks source link

Can 'refreshonly' and 'subscribe' be triggered by file-level changes within the domain? #448

Open rrod157 opened 7 years ago

rrod157 commented 7 years ago

Can the 'refreshonly' and 'subscribe' be triggered with a file-level changes inside the domain specified?

refreshonly => true, subscribe => Wls_domain['Wls1036'],

I'm asking this because I've imported the certificate reply inside my custom identity.jks but succeeding run of puppet do not detect this change in identity.jks and it do not issue an admin and/or managed server restart. Hence. accessing our server via https still has warnings.

Note: my wls_adminserver and wls_managedserver have these 'refreshonly' and 'subscribe' arguments.

biemond commented 7 years ago

Hi,

on the exec import action like a good puppet admin you can subscribe to this change, or did you do this manual ( not the puppet way)

thanks

userMar2017 commented 7 years ago

Hi Ed,

If I simply "touch" the config.xml file will it trigger a restart ?

biemond commented 7 years ago

Never because else it will take weeks to do provisioning , you have to define this on some puppet type and admin will listen for that event

userMar2017 commented 7 years ago

I see. Can you think of a way to perform a domain restart without really making any change to WebLogic ?

biemond commented 7 years ago

I guess if you make something which monitors or detect changes and do puppet apply instead of agent, but you need to know if puppet not already runs , disable it and do it with a puppet manifest.

or make some plugin for puppet enterprise agent and push it from the dashboard.

but the bottom line is , never do it manually do it with puppet, use some type and subscribe on this action