Skip to content

Commit f87c52b

Browse files
author
mendoncaangelo
committed
Made params true by default
1 parent 995bf24 commit f87c52b

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

manifests/init.pp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@
1515
# Configuration:
1616
# system-auth, shell, profile, tty, useradd, pam, banner
1717
#
18-
class cis ($secure_grub = $cis::params::secure_grub, $aide = $cis::params::aide, $nat_box = $cis::params::nat_box, $ssh = $cis::params::ssh, $postfix = $cis::params::postfix) inherits
19-
cis::params {
18+
class cis ($secure_grub = $cis::params::secure_grub, $aide = $cis::params::aide, $nat_box = $cis::params::nat_box, $ssh = $cis::params::ssh,
19+
$postfix = $cis::params::postfix) inherits cis::params {
20+
2021
if $secure_grub {
2122
include cis::grub
2223
}
@@ -26,8 +27,8 @@
2627
}
2728

2829
if $aide {
29-
package { 'aide': ensure => 'installed', } ->
30-
cron { 'aide_watch':
30+
package { 'aide': ensure => 'installed', }
31+
-> cron { 'aide_watch':
3132
command => '/usr/sbin/aide --check',
3233
user => root,
3334
hour => 5,

manifests/params.pp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
$sender_hostname = 'sender.example.org'
2020
$masquerade_domains = 'example.org'
2121
$relayhost = 'receiver.example.org'
22-
$ssh = false
23-
$postfix = false
22+
$ssh = true
23+
$postfix = true
2424

2525
case $::operatingsystem {
2626
'RedHat', 'CentOS', 'Fedora' : {

0 commit comments

Comments
 (0)