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

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