Puppet Class: clevis::hook

Defined in:
manifests/hook.pp

Summary

clevis::hook class used by clevis main class only.

Overview



3
4
5
6
7
8
9
10
11
12
13
# File 'manifests/hook.pp', line 3

class clevis::hook {
  assert_private()
  exec { '/sbin/dracut -f --regenerate -all':
    path     => [
      '/usr/sbin',
      '/sbin',
    ],
    onlyif   => 'test ! -f /usr/lib/dracut/modules.d/60clevis/clevis-hook.sh',
    provider => 'shell',
  }
}