diff options
| -rw-r--r-- | manifests/init.pp | 1 | ||||
| -rw-r--r-- | manifests/subsystems/schroot.pp | 13 | ||||
| -rw-r--r-- | manifests/subsystems/utils/debian.pp | 2 | 
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,    } | 
