blob: e4d572d051dcf22905bf8be1dc1d01b71a8f1d59 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
class ekeyd::base {
package{'ekeyd':
ensure => installed,
}
service{'ekeyd':
ensure => running,
enable => true,
require => Package['ekeyd'],
}
exec{'configure_ekey_key':
command => "ekey-rekey `ekeydctl list | grep \"/dev/entropykey\" | awk -F, '{ print \$5}'` ${ekey_masterkey}",
unless => "ekeydctl list | grep -q 'Running OK'",
require => Service['ekeyd'],
}
}
|