Update legacy facts syntax.
This commit is contained in:
parent
37fcac0ba8
commit
b94a601b37
1 changed files with 2 additions and 2 deletions
|
@ -839,12 +839,12 @@ class sunetops {
|
|||
}
|
||||
|
||||
# OS hardening
|
||||
if $::hostname =~ /kvm/ {
|
||||
if $facts['networking']['hostname'] =~ /kvm/ {
|
||||
class {'bastion':
|
||||
fstab_fix_shm => false,
|
||||
sysctl_net_hardening => false,
|
||||
}
|
||||
} elsif $::hostname =~ /random/ { # pollen requires exec on /tmp
|
||||
} elsif $facts['networking']['hostname'] =~ /random/ { # pollen requires exec on /tmp
|
||||
class {'bastion':
|
||||
fixperms_enable => false,
|
||||
fixperms_paranoia => false,
|
||||
|
|
Loading…
Add table
Reference in a new issue