title: How to return custom exit code status in puppet apply using biemond orawls module
body: <p>I am using puppet module "Biemond orawls" <a href="https://github.com/biemond/biemond-orawls" rel="nofollow noreferrer">orawls </a>to install and orchestrate weblogic server, in orawls for successful configuration change puppet returns 
   exit code and i restart the weblogic server for every successful "Change" to update the changed configuration which is not good every time, because during changing anything in weblogic from weblogic admin console we get the indication that server restart required which is only applicable for particular selected attribute or resource changes, and orawls do not give any option to get status of restart required like WLST, so i want to use WLST command <code>isRestartRequired([attributeName])</code> during every edit session inside orawls code which will tell me if restart is required or not instead of restarting server for every successful change in weblogic server and i want this status to be returned from orawls to puppet apply command.</p>
  
  <p>i am using puppet apply command to change any weblogic server resources like - </p>
  
  <pre><code>apply -e 'include amd_wls_cluster' ${PUPPET_COMMON_OPTS} ${IS_NOOP}
  </code></pre>
  
  <p>which returns few specific code like - <a href="https://puppet.com/docs/puppet/5.5/man/apply.html" rel="nofollow noreferrer">Puppet apply exit code</a></p>
  
  <pre><code>--detailed-exitcodes: Provide extra information about the run via exit codes. If enabled, 'puppet apply' will use the following exit codes:
  0: The run succeeded with no changes or failures; the system was already in the desired state.
  1: The run failed.
  2: The run succeeded, and some resources were changed.
  4: The run succeeded, and some resources failed.
  6: The run succeeded, and included both changes and failures.
  </code></pre>
  
  <p>Here i want to add my own custom status code may be 7 if WLST <code>isRestartRequired([attributeName])</code> return true</p>
  
  <p>i tried searching a lot but could not find anything, is this possible to return custom exit code from biemond orawls to puppet.</p>
  
  <p>or is there any such option which i can use to identify if server restart is required using puppet's biemond orawls module.</p>
  
  <p>Thank you in advance.</p>