Try to avoid reserved site keyword
[mirror/dsa-puppet.git] / modules / entropykey / manifests / init.pp
1 class entropykey {
2
3         if getfromhash($deprecated::nodeinfo, 'entropy_key') {
4                 include entropykey::provider
5         }
6
7         $entropy_provider  = entropy_provider($::fqdn, $deprecated::nodeinfo)
8         case $entropy_provider {
9                 false:   {}
10                 local:   { include entropykey::local_consumer }
11                 default: {
12                         class { 'entropykey::remote_consumer':
13                                 entropy_provider => $entropy_provider,
14                         }
15                 }
16         }
17
18 }