]> gitweb.fluxo.info Git - puppet-nodo.git/commitdiff
Adding schroot class
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 13 Sep 2011 16:14:03 +0000 (13:14 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 13 Sep 2011 16:14:03 +0000 (13:14 -0300)
manifests/init.pp
manifests/subsystems/schroot.pp [new file with mode: 0644]
manifests/subsystems/utils/debian.pp

index 74095bee31f617372afb359a8bced541246682bb..a196052d300b6439f9d98cfdbe38768aeb6a0775 100644 (file)
@@ -65,6 +65,7 @@ import "subsystems/locales.pp"
 import "subsystems/tunnel.pp"
 import "subsystems/monkeysphere.pp"
 import "subsystems/profile.pp"
+import "subsystems/schroot.pp"
 import "subsystems/utils.pp"
 import "subsystems/utils/debian.pp"
 import "subsystems/utils/desktop.pp"
diff --git a/manifests/subsystems/schroot.pp b/manifests/subsystems/schroot.pp
new file mode 100644 (file)
index 0000000..d6c4c13
--- /dev/null
@@ -0,0 +1,13 @@
+class schroot {
+  package { 'schroot':
+    ensure => installed,
+  }
+
+  file { '/etc/schroot/schroot.conf':
+    ensure  => present,
+    owner   => root,
+    mode    => 0644,
+    require => Package['schroot'],
+    source  => "puppet:///modules/site-nodo/schroot/$fqdn/schroot.conf",
+  }
+}
index 8c8006658af40cc3f28abcae48bd10911afcfe02..41218e703a7437fdf4c611f8d41ba0e1aac13da3 100644 (file)
@@ -59,7 +59,7 @@ class utils::personal::debian {
   }
 
   # Other
-  package { [ 'fortunes-br', 'unrar', 'recode', 'figlet', 'p7zip-full', 'unison', 'schroot' ]:
+  package { [ 'fortunes-br', 'unrar', 'recode', 'figlet', 'p7zip-full', 'unison' ]:
     ensure => installed,
   }