Skip to content

Commit

Permalink
aefgit gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed Feb 4, 2016
1 parent eafa792 commit 1838f41
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 4 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*~
pkg/
.vagrant
junit
log
spec/fixtures/
Binary file modified pkg/eyp-audit-0.1.0.tar.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions pkg/eyp-audit-0.1.0/checksums.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions pkg/eyp-audit-0.1.0/manifests/params.pp
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# == Class: audit::params
#
class audit::params {

case $::osfamily
Expand Down
4 changes: 2 additions & 2 deletions pkg/eyp-audit-0.1.0/manifests/tty.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
}


Expand Down

0 comments on commit 1838f41

Please sign in to comment.