From 997f48dddfeb276fbff555983587e769ca45c08d Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 12 Mar 2016 10:49:56 -0300 Subject: Newer systems are masterless --- share/hydractl/puppet-enable | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'share') 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" -- cgit v1.2.3