I know this is ancient history but I just had the same thing happen. I have 
not been able to reproduce it. Do you remember any resolution?




On Tuesday, November 29, 2011 at 9:06:25 AM UTC-5, jasper.h...@m-w.co.uk 
wrote:
>
> 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 unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/f39c2e0c-a7e4-44ae-9454-4f492640cb8a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to