Jertel Compliance

This commit is contained in:
Mike Reeves
2021-05-03 15:23:34 -04:00
parent 074fe46e90
commit a489b369d7
3 changed files with 15 additions and 14 deletions

View File

@@ -122,6 +122,14 @@ check_elastic_license() {
fi
}
copy_new_files() {
# Copy new files over to the salt dir
rsync -a salt $DEFAULT_SALT_DIR/
rsync -a pillar $DEFAULT_SALT_DIR/
chown -R socore:socore $DEFAULT_SALT_DIR/
chmod 755 $DEFAULT_SALT_DIR/pillar/firewall/addfirewall.sh
}
disable_fastestmirror() {
sed -i 's/enabled=1/enabled=0/' /etc/yum/pluginconf.d/fastestmirror.conf
}