summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-12 10:49:56 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-12 10:49:56 -0300
commit997f48dddfeb276fbff555983587e769ca45c08d (patch)
tree5f013f98f9b52587087e007b3fa9cc9e6ad7b437 /share
parent260408a2cdb337d0c5694e4c94ef2f9a810808b4 (diff)
downloadhydra-997f48dddfeb276fbff555983587e769ca45c08d.tar.gz
hydra-997f48dddfeb276fbff555983587e769ca45c08d.tar.bz2
Newer systems are masterless
Diffstat (limited to 'share')
-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"