aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/schroot.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems/schroot.pp')
-rw-r--r--manifests/subsystems/schroot.pp6
1 files changed, 3 insertions, 3 deletions
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,