summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:12:53 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-04-12 17:12:53 -0300
commit61229cbadb2e29ebca29ebac0f7495c197f17f95 (patch)
treead4d7e7c788ecdf87b44a3aac8d487951ffe67f6 /manifests/init.pp
downloadpuppet-schroot-61229cbadb2e29ebca29ebac0f7495c197f17f95.tar.gz
puppet-schroot-61229cbadb2e29ebca29ebac0f7495c197f17f95.tar.bz2
Initial import
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp15
1 files changed, 15 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
new file mode 100644
index 0000000..dae71db
--- /dev/null
+++ b/manifests/init.pp
@@ -0,0 +1,15 @@
+class schroot {
+ package { 'schroot':
+ ensure => installed,
+ }
+
+ file { '/etc/schroot/default/fstab':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ require => Package['schroot'],
+ source => [ "puppet:///modules/site_schroot/default/${::fqdn}/fstab",
+ "puppet:///modules/schroot/default/fstab" ]
+ }
+}