HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/local/bin/run-puppet
#!/bin/bash

if [ "$1" == "-n" ]; then
  /opt/puppetlabs/puppet/bin/puppet agent -t --noop
else
  /opt/puppetlabs/puppet/bin/puppet agent -t
fi

case $? in
  0)
    exit 0
    ;;
  2)
    exit 0
    ;;
  *)
    exit $?
    ;;
esac