blob: 749569c91f0edca4c51b2a5f7b63925d5221c93f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
class nodo::subsystem::crypttab(
$type,
$manage = hiera('nodo::crypttab::manage', false)
) {
if $manage == true {
file { "/etc/crypttab":
source => "puppet:///modules/nodo/etc/crypttab/${type}",
owner => "root",
group => "root",
mode => 0644,
ensure => present,
notify => Exec['update-initramfs'],
}
}
}
|