FIX(nbsp): remove non breakable spaces that caused Puppet to warn

This commit is contained in:
Charles Herlin
2019-03-12 09:58:35 +01:00
parent 75f6cce7f5
commit 1bac756dcb
4 changed files with 9 additions and 9 deletions

View File

@ -53,7 +53,7 @@ apply () {
create_config() {
cat <<EOF
status=audit
# Put here valid accounts with uid 0 separated by spaces
# Put here valid accounts with uid 0 separated by spaces
EXCEPTIONS=""
EOF
}

View File

@ -14,7 +14,7 @@ set -u # One variable unset, it's over
HARDENING_LEVEL=2
DESCRIPTION="Ensure firewall is active (iptables is installed, does not check for its configuration)."
# Quick note here : CIS recommends your iptables rules to be persistent.
# Quick note here : CIS recommends your iptables rules to be persistent.
# Do as you want, but this script does not handle this
PACKAGE='iptables'

View File

@ -5,15 +5,15 @@
#
# If you followed this CIS hardening, this script follows 8.3.1_install_tripwire.sh
# After installing tripwire, you may want to run those few commented commands to make it fully functionnal
# After installing tripwire, you may want to run those few commented commands to make it fully functionnal
echo "Generating Site key file..."
twadmin -m G -S /etc/tripwire/site.key # Generates Site key file
echo "Generating Local key file..."
twadmin -m G -S /etc/tripwire/$(hostname -f)-local.key # Generate local key file
twadmin -m G -S /etc/tripwire/$(hostname -f)-local.key # Generate local key file
echo "Generating encrypted policy..."
twadmin -m P /etc/tripwire/twpol.txt # Apply new policy with generated site key file
echo "Generating Local database with newly created key..."
/usr/sbin/twadmin --create-cfgfile -S /etc/tripwire/site.key /etc/tripwire/twcfg.txt # Init database with generated local key file
/usr/sbin/twadmin --create-cfgfile -S /etc/tripwire/site.key /etc/tripwire/twcfg.txt # Init database with generated local key file
echo "Testing tripwire database update"
tripwire -m i # Test configuration update
tripwire -m i # Test configuration update