Getting Close

This commit is contained in:
Mike Reeves committed 2018-10-11 19:38:25 -04:00
1 parent 7982f8ffff
commit 9ee87a92e9
9 files changed
+52 -3

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
#!/usr/bin/env bash
# This script adds sensors/nodes/etc to the nodes tab
TYPE=$1
NAME=$2
IPADDRESS=$3
if grep -q $3 "/opt/so/saltstack/pillar/data/$1.sls"; then
echo "Storage Node Already in There"
else
echo " $2:" >> /opt/so/saltstack/pillar/data/$1.sls
echo " - $3" >> /opt/so/saltstack/pillar/data/$1.sls
fi
+3
View File
@@ -0,0 +1,3 @@
nodestab: