From 1838f41cfd1098f16a78c12d1a80a7ae94eb1606 Mon Sep 17 00:00:00 2001 From: Jordi Prats Date: Thu, 4 Feb 2016 18:51:33 +0100 Subject: [PATCH] aefgit gitignore --- .gitignore | 6 ++++++ pkg/eyp-audit-0.1.0.tar.gz | Bin 3771 -> 3782 bytes pkg/eyp-audit-0.1.0/checksums.json | 4 ++-- pkg/eyp-audit-0.1.0/manifests/params.pp | 2 ++ pkg/eyp-audit-0.1.0/manifests/tty.pp | 4 ++-- 5 files changed, 12 insertions(+), 4 deletions(-) create mode 100644 .gitignore 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 83632bc8fdc64a1f6662eabd984e7103e1a5248a..15159596ecc49ca8cdced240cd25115d04511266 100644 GIT binary patch literal 3782 zcmV;%4mt53iwFQGU7l6|1MM4YbK5pDpZP0LIWx395+%O$x^psV;%hUL#-7A!r{kt7 zNP-e;iew4Uj?VS{_S*$WiIQbIX;o#~2-C(CfL-hxix-<^Em{PTXmt$J=(HdG1*HR} z=eqJQl-0lT+qAk)&vCns(|go0Ez`Ch5%;ekX0;St(43G*d76s*`aRVCH!W;M|8I_; zz4-3fmBXBDkiR201^uWcg*puHNtOrRC>=W6igWAlWb)7hp^% ztyJ=?#6tt<48Leh!Xok2XC!8Twm{$m%>_JfSjcjg_=xLSLW(3{c?+c7nxtt!GR7_l zaDKI-1CV);BDFZsBt=c;6(WWARWywRRn)Y|$y?&5(+qxl5z^2kO!x*s#fxqSS{LA6 zuuB%F8A=D>zA2)Bkuc2xJP~>16;fd$tq}uQf(6h4njWbvOw*o`G-0hNoq4P!u2RAo zS|YH^i|Lf+Gqi(M?$E;8vNFq4u;3}08BgO&#trRk0?fmIv$V*G-2sF^T0mILE~x-Q zvq<<8NwVyrP#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x@QUTKKC`eZIZ=Dr)yJ{(pXgcv) z7R)`>m1TX;2#ig#`Z{dHgc^d>$34yGb4H5{Q~(HQz)QKQ4Ry^7+Eq8nA|8s(i)1sr zgDbQrPsM_tFl#OsK&sJPtx}1;(*LIaS6jh%YGb#Z|8jh%@&5rlwOsSP0X@`5#>@k<)=9f=^XM70MI6df&2~e5%B-$+EvKr* zONb4aZ4D93zcY?AzxTZNtV)E+kH$T;SRmZb_v46Hky){hTMzgnd leEBrs)#CU94q|P~wrtC`Y|FN6%eLH8`40hMXT1PW0038+T1)@{ 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", }