mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-24 01:43:11 +01:00
setup no longer add patch pillar to minion
This commit is contained in:
@@ -148,20 +148,6 @@ function add_sensoroni_to_minion() {
|
||||
" " >> $PILLARFILE
|
||||
}
|
||||
|
||||
# Patch pillar settings.
|
||||
function add_patch_pillar_to_minion() {
|
||||
|
||||
printf '%s\n'\
|
||||
"patch:"\
|
||||
" os:"\
|
||||
" source: '$source'"\
|
||||
" schedule_name: '$PATCHSCHEDULENAME'"\
|
||||
" enabled: True"\
|
||||
" splay: 300"\
|
||||
"" >> $PILLARFILE
|
||||
|
||||
}
|
||||
|
||||
# Sensor settings for the minion pillar
|
||||
function add_sensor_to_minion() {
|
||||
echo "sensor:" >> $PILLARFILE
|
||||
@@ -253,7 +239,6 @@ if [[ "$OPERATION" = 'add' || "$OPERATION" = 'setup' ]]; then
|
||||
fi
|
||||
create_minion_files
|
||||
add_host_to_minion
|
||||
add_patch_pillar_to_minion
|
||||
add_sensoroni_to_minion
|
||||
create$NODETYPE
|
||||
echo "Minion file created for $MINION_ID"
|
||||
|
||||
Reference in New Issue
Block a user