aboutsummaryrefslogtreecommitdiff
path: root/manifests/kvm.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-04-14 21:02:29 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-04-14 21:02:29 -0300
commit328cad06f7f49d842b356a941f3c1d7c3eeb94cd (patch)
treea817a07a04abb489ce5316a196cd914dc91784ee /manifests/kvm.pp
parent927889a4d8e3c2a4f908fb4aa7ec746237b37f14 (diff)
downloadpuppet-nodo-328cad06f7f49d842b356a941f3c1d7c3eeb94cd.tar.gz
puppet-nodo-328cad06f7f49d842b356a941f3c1d7c3eeb94cd.tar.bz2
Adding kvm class
Diffstat (limited to 'manifests/kvm.pp')
-rw-r--r--manifests/kvm.pp21
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/kvm.pp b/manifests/kvm.pp
new file mode 100644
index 0000000..09af17f
--- /dev/null
+++ b/manifests/kvm.pp
@@ -0,0 +1,21 @@
+class nodo::kvm inherits nodo::physical {
+ # 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'],
+ }
+}