aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-09-13 13:14:03 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-09-13 13:14:03 -0300
commit066aed3b86377004786972b6dccfbc631011a6f2 (patch)
tree1a855c1cc6a87634ed7566146fe8c7c7b32f7c57
parentc37ef44f267075ec52b3e3ed0f236eed235ee863 (diff)
downloadpuppet-nodo-066aed3b86377004786972b6dccfbc631011a6f2.tar.gz
puppet-nodo-066aed3b86377004786972b6dccfbc631011a6f2.tar.bz2
Adding schroot class
-rw-r--r--manifests/init.pp1
-rw-r--r--manifests/subsystems/schroot.pp13
-rw-r--r--manifests/subsystems/utils/debian.pp2
3 files changed, 15 insertions, 1 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 74095be..a196052 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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
index 0000000..d6c4c13
--- /dev/null
+++ b/manifests/subsystems/schroot.pp
@@ -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",
+ }
+}
diff --git a/manifests/subsystems/utils/debian.pp b/manifests/subsystems/utils/debian.pp
index 8c80066..41218e7 100644
--- a/manifests/subsystems/utils/debian.pp
+++ b/manifests/subsystems/utils/debian.pp
@@ -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,
}