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