From 066aed3b86377004786972b6dccfbc631011a6f2 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Tue, 13 Sep 2011 13:14:03 -0300 Subject: Adding schroot class --- manifests/subsystems/schroot.pp | 13 +++++++++++++ manifests/subsystems/utils/debian.pp | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 manifests/subsystems/schroot.pp (limited to 'manifests/subsystems') 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, } -- cgit v1.2.3