aboutsummaryrefslogtreecommitdiff
path: root/share/hydractl
diff options
context:
space:
mode:
Diffstat (limited to 'share/hydractl')
-rwxr-xr-xshare/hydractl/puppet-enable5
1 files changed, 5 insertions, 0 deletions
diff --git a/share/hydractl/puppet-enable b/share/hydractl/puppet-enable
index 8579081..b29603c 100755
--- a/share/hydractl/puppet-enable
+++ b/share/hydractl/puppet-enable
@@ -23,6 +23,11 @@ hydra_config_load
# Command line arguments
BASENAME="`basename $0`"
+# Newer systems are masterless
+if [ "$OSVERSION" != "7" ]; then
+ exit
+fi
+
# Set sudo config
if [ "`whoami`" != 'root' ]; then
sudo="sudo"