anchor.diff:  
   function stop() {
     echo -n $"Shutting down $SERVICE: "
  -  <%= scope.lookupvar('bitbucket::webappdir') %>/bin/stop-bitbucket.sh
  +  ${sucmd} <%= scope.lookupvar('bitbucket::webappdir') %>/bin/stop-bitbucket.sh
     RETVAL=$?
     echo
   
  
positive.code: 
  export JAVA_HOME=<%= scope.lookupvar('bitbucket::javahome') %>
  export CATALINA_HOME=<%= scope.lookupvar('bitbucket::webappdir') %>
  
  
  function restart() {
  
negative.code: 
  function start() {
    echo -n $"Starting $SERVICE: "
    ${sucmd} <%= scope.lookupvar('bitbucket::webappdir') %>/bin/start-bitbucket.sh
    RETVAL=$?
    echo
  
  