aboutsummaryrefslogtreecommitdiff
path: root/manifests/kvm.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/kvm.pp')
-rw-r--r--manifests/kvm.pp18
1 files changed, 4 insertions, 14 deletions
diff --git a/manifests/kvm.pp b/manifests/kvm.pp
index 2f4d632..293d753 100644
--- a/manifests/kvm.pp
+++ b/manifests/kvm.pp
@@ -1,21 +1,11 @@
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'],
+ class { 'fstab':
+ type => 'kvm',
}
# crypttab
- file { "/etc/crypttab":
- source => "puppet://$server/modules/nodo/etc/crypttab/kvm",
- owner => "root",
- group => "root",
- mode => 0644,
- ensure => present,
- notify => Exec['update-initramfs'],
+ class { 'crypttab':
+ type => 'kvm',
}
}