aboutsummaryrefslogtreecommitdiff
path: root/manifests/kvm.pp
blob: 2f4d6320be7bca9cc8518329dec3d8cdda128060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
class nodo::kvm inherits nodo::host {
  # fstab
  file { "/etc/fstab":
    source  => "puppet://$server/modules/nodo/etc/fstab/kvm",
    owner   => "root",
    group   => "root",
    mode    => 0644,
    ensure  => present,
    notify  => Exec['update-initramfs'],
  }

  # crypttab
  file { "/etc/crypttab":
    source  => "puppet://$server/modules/nodo/etc/crypttab/kvm",
    owner   => "root",
    group   => "root",
    mode    => 0644,
    ensure  => present,
    notify  => Exec['update-initramfs'],
  }
}