From ad27f5dac1870369abe10e88fbb034ffa391f12c Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 24 Jan 2013 13:18:39 -0200 Subject: Lots of subsystem refactoring; minor node changes --- manifests/subsystems/schroot.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'manifests/subsystems/schroot.pp') diff --git a/manifests/subsystems/schroot.pp b/manifests/subsystems/schroot.pp index 950cc88..58d6dee 100644 --- a/manifests/subsystems/schroot.pp +++ b/manifests/subsystems/schroot.pp @@ -4,17 +4,17 @@ class schroot { } file { '/etc/schroot/default/fstab': - ensure => $ensure, + ensure => present, owner => root, group => root, mode => 0644, require => Package['schroot'], - source => [ "puppet:///modules/site_nodo/etc/schroot/default/$fqdn/fstab", + source => [ "puppet:///modules/site_nodo/etc/schroot/default/${::fqdn}/fstab", "puppet:///modules/nodo/etc/schroot/default/fstab" ] } define instance($instance_type = 'plain', $description, $directory, $users, $groups, $aliases, $ensure = present) { - file { "/etc/schroot/chroot.d/$name": + file { "/etc/schroot/chroot.d/${name}": ensure => $ensure, owner => root, group => root, -- cgit v1.2.3