diff options
-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 } } |