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'],
    }
  }
}