Hi all,

Recently upgraded one of our puppet servers from 2.6.4 to 2.7.5, and
we're noticing some rather odd behaviour.
What's always traditionally worked for creating ini files and the
like, is now creating directories instead of files (indeed, replacing
my existing files with directories, which had some rather catastrophic
consequences for the poor poor test systems).

Even when hard coding ensure => file, instead of a passing a
parameter... it creates a directory.
The type parameter just doesn't seem to be doing as it's told.  Roll
back to previous version of puppet server, it's all happy again
(though it can't convert the directory back to a file, but that'll be
a separate issue entirely).

Anybody have any clues as where else would be worth looking in trying
to resolve this?


relevant section of files:

file { $name:
                name => "${path}${name}",
                mode => $mode,
                owner => $owner,
                group => $group,
                backup => $backup,
                recurse => $recurse,
                ensure => $ensure,
                source => [
                        
"puppet://puppet/modules/standalone-configs/$folder/$name-$type-
$fqdn",
                        
"puppet://puppet/modules/standalone-configs/$folder/$name-$type-
$operatingsystem",
                        
"puppet://puppet/modules/standalone-configs/$folder/$name-$type-
$default",
                        
"puppet://puppet/modules/standalone-configs/$folder/$name-$fqdn",
                        
"puppet://puppet/modules/standalone-configs/$folder/$name-
$operatingsystem",
                        
"puppet://puppet/modules/standalone-configs/$folder/$name-default"
                ],
                notify => $notify


Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to