From 712dc6b27740f29563bfd033f89e2efe8435daf3 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Wed, 21 Oct 2020 16:47:48 -0400 Subject: [PATCH] fix grabbing soversion in so-features-enable --- salt/common/tools/sbin/so-features-enable | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/salt/common/tools/sbin/so-features-enable b/salt/common/tools/sbin/so-features-enable index ae8981fe9..0f2d694fe 100755 --- a/salt/common/tools/sbin/so-features-enable +++ b/salt/common/tools/sbin/so-features-enable @@ -51,7 +51,7 @@ manager_check() { } manager_check -VERSION=$(grep soversion $local_salt_dir/pillar/global.sls | cut -d':' -f2|sed 's/ //g') +VERSION=$(lookup_pillar soversion) # Modify global.sls to enable Features sed -i 's/features: False/features: True/' $local_salt_dir/pillar/global.sls SUFFIX="-features"