diff options
author | mh <mh@immerda.ch> | 2011-03-01 22:40:43 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2011-03-01 22:40:43 +0100 |
commit | 56a1d47b3e72c2acf83894ea12a944c604b1c094 (patch) | |
tree | 3974b5739f0d4ce41791d5e5cdb6e8071eb84662 /manifests/client.pp | |
parent | bd9fa966f4bbd46693548a95d818adb3dc8ef3eb (diff) | |
download | puppet-ekeyd-56a1d47b3e72c2acf83894ea12a944c604b1c094.tar.gz puppet-ekeyd-56a1d47b3e72c2acf83894ea12a944c604b1c094.tar.bz2 |
also do the client with a parametrized class and cleanup/finish the host part
Diffstat (limited to 'manifests/client.pp')
-rw-r--r-- | manifests/client.pp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/manifests/client.pp b/manifests/client.pp index 89fd253..e7df4c4 100644 --- a/manifests/client.pp +++ b/manifests/client.pp @@ -1,5 +1,6 @@ -class ekeyd::client { - if !$ekeyd_host { fail("\$ekeyd_host is not set for $fqdn") } +class ekeyd::client( + $ekeyd_host +) { case $operatingsystem { centos: { include ekeyd::client::centos } default: { include ekeyd::client::base } |