diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0a8938e --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*~ +pkg/ +.vagrant +junit +log +spec/fixtures/ diff --git a/pkg/eyp-audit-0.1.0.tar.gz b/pkg/eyp-audit-0.1.0.tar.gz index 83632bc..1515959 100644 Binary files a/pkg/eyp-audit-0.1.0.tar.gz and b/pkg/eyp-audit-0.1.0.tar.gz differ diff --git a/pkg/eyp-audit-0.1.0/checksums.json b/pkg/eyp-audit-0.1.0/checksums.json index 9435f5e..d68a7ca 100644 --- a/pkg/eyp-audit-0.1.0/checksums.json +++ b/pkg/eyp-audit-0.1.0/checksums.json @@ -3,8 +3,8 @@ "README.md": "75380476b39aa10e921b53429d3d274f", "Rakefile": "f0fb635c344dc3e9edb9ec6cbd2e4a02", "manifests/init.pp": "d8b8b0ddccd0fbe2dbf65016dee275c1", - "manifests/params.pp": "5e15bea52cac3aef66e78a1b3a59d7fe", - "manifests/tty.pp": "284880c63a818e450664a045b218ba60", + "manifests/params.pp": "2c57c6fee3e2d5131f9d5839521f11bd", + "manifests/tty.pp": "cdb4e90863581cf08f230e165034b917", "metadata.json": "7bed79421cdda9c780b1d7545f81472b", "spec/classes/init_spec.rb": "723f8e27314e3e23d9e56884a212ace8", "spec/spec_helper.rb": "0db89c9a486df193c0e40095422e19dc", diff --git a/pkg/eyp-audit-0.1.0/manifests/params.pp b/pkg/eyp-audit-0.1.0/manifests/params.pp index 148674d..853a385 100644 --- a/pkg/eyp-audit-0.1.0/manifests/params.pp +++ b/pkg/eyp-audit-0.1.0/manifests/params.pp @@ -1,3 +1,5 @@ +# == Class: audit::params +# class audit::params { case $::osfamily diff --git a/pkg/eyp-audit-0.1.0/manifests/tty.pp b/pkg/eyp-audit-0.1.0/manifests/tty.pp index 5de3ba7..5429974 100644 --- a/pkg/eyp-audit-0.1.0/manifests/tty.pp +++ b/pkg/eyp-audit-0.1.0/manifests/tty.pp @@ -7,8 +7,8 @@ } exec { 'afegint pam_tty_audit sshd': - command => "sed '/pam_tty_audit.so/d' -i /etc/pam.d/sshd; echo 'session required pam_tty_audit.so enable =${enable}' >> /etc/pam.d/sshd", - unless => "grep pam_tty_audit.so /etc/pam.d/sshd", + command => "sed '/pam_tty_audit.so/d' -i /etc/pam.d/sshd; echo 'session required pam_tty_audit.so enable=${enable}' >> /etc/pam.d/sshd", + unless => "grep 'session required pam_tty_audit.so enable=${enable}' /etc/pam.d/sshd", }