diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2011-06-30 16:21:19 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2011-06-30 16:21:19 -0300 |
commit | ad027cc28c60bcaca2392336e5555bfd823a2af1 (patch) | |
tree | d46277cafccbb9888a74b96fcc2d6621ea266230 | |
parent | 2b377786f8bf2133019c43df9376e0363093e50d (diff) | |
download | puppet-ekeyd-ad027cc28c60bcaca2392336e5555bfd823a2af1.tar.gz puppet-ekeyd-ad027cc28c60bcaca2392336e5555bfd823a2af1.tar.bz2 |
Adding ekeyd::host::debian class
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | manifests/host/debian.pp | 3 | ||||
-rw-r--r-- | manifests/init.pp | 3 |
3 files changed, 5 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1377554 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +*.swp diff --git a/manifests/host/debian.pp b/manifests/host/debian.pp new file mode 100644 index 0000000..a457ae7 --- /dev/null +++ b/manifests/host/debian.pp @@ -0,0 +1,3 @@ +class ekeyd::host::debian inherits ekeyd::host::base { + package { "usbutils": ensure => installed } +} diff --git a/manifests/init.pp b/manifests/init.pp index b3b780d..b337d5b 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -3,8 +3,6 @@ class ekeyd( $ekeyd_masterkey ){ - package { "usbutils": ensure => installed } - if $ekeyd_key_present != 'true' { fail("Can't find an ekey key plugged into usb on ${fqdn}") } include ekeyd::base @@ -12,6 +10,7 @@ class ekeyd( if $ekeyd_host { case $operatingsystem { centos: { include ekeyd::host::centos } + debian: { include ekeyd::host::debian } default: { include ekeyd::host::base } } |