aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/fstab.pp
blob: c6f2ecd7be0e632779357ff9e876b1da491aff8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class fstab(
  $type,
  $manage = hiera('nodo::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'],
    }
  }
}