mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
remove addtotab templates and move surirulelink - https://github.com/Security-Onion-Solutions/securityonion-saltstack/issues/749
This commit is contained in:
@@ -19,8 +19,12 @@ if [ ! -d $local_salt_dir/pillar/data/ ]; then
|
||||
mkdir -p $local_salt_dir/pillar/data/
|
||||
fi
|
||||
|
||||
# Create the template
|
||||
if [ ! -f $local_salt_dir/pillar/data/$TYPE.sls ]; then
|
||||
cp $default_salt_dir/pillar/data/$TYPE.sls $local_salt_dir/pillar/data/$TYPE.sls
|
||||
printf '%s\n'\
|
||||
"$TYPE:"\
|
||||
"" > "$local_salt_dir/pillar/data"/$TYPE.sls
|
||||
echo "Added $TYPE Template"
|
||||
fi
|
||||
|
||||
echo "Seeing if this host is already in here. If so delete it"
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
evaltab:
|
||||
@@ -1 +0,0 @@
|
||||
mastersearchtab:
|
||||
@@ -1 +0,0 @@
|
||||
mastertab:
|
||||
@@ -1 +0,0 @@
|
||||
nodestab:
|
||||
@@ -1 +0,0 @@
|
||||
sensorstab:
|
||||
Reference in New Issue
Block a user