From: Silvio Rhatto Date: Tue, 13 Sep 2011 16:14:03 +0000 (-0300) Subject: Adding schroot class X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=066aed3b86377004786972b6dccfbc631011a6f2;p=puppet-nodo.git Adding schroot class --- 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, }