diff options
author | Luke Kanies <luke@madstop.com> | 2007-12-22 21:44:37 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-12-22 21:44:37 -0600 |
commit | 1deb7fd487dca1046beb933dca2cccadf44fa6f5 (patch) | |
tree | 06343d67499adecb28c4465fd15c92ad9336e109 /lib/puppet/util | |
parent | f3fd7091d3db9dff1b177867589289890e9a3a66 (diff) | |
parent | c4ed43c2a1ad9ab865e3da6b8b7fad28222c3451 (diff) | |
download | puppet-1deb7fd487dca1046beb933dca2cccadf44fa6f5.tar.gz puppet-1deb7fd487dca1046beb933dca2cccadf44fa6f5.tar.xz puppet-1deb7fd487dca1046beb933dca2cccadf44fa6f5.zip |
Merge branch '0.24.x'
Conflicts:
conf/redhat/puppet.spec
Diffstat (limited to 'lib/puppet/util')
-rwxr-xr-x | lib/puppet/util/filetype.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/puppet/util/filetype.rb b/lib/puppet/util/filetype.rb index 81d93a924..1c7734cc4 100755 --- a/lib/puppet/util/filetype.rb +++ b/lib/puppet/util/filetype.rb @@ -74,7 +74,8 @@ class Puppet::Util::FileType # Pick or create a filebucket to use. def bucket - Puppet::Type.type(:filebucket).mkdefaultbucket.bucket + filebucket = Puppet::Type.type(:filebucket) + (filebucket["puppet"] || filebucket.mkdefaultbucket).bucket end def initialize(path) |