diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-27 19:37:57 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-27 19:37:57 +0000 |
| commit | 1d057396de46eab64f757d79c7996d0ca0245043 (patch) | |
| tree | 5da3202c60ee2deb02ea3a8ae22bc6fecb7e12fa /test/lib | |
| parent | 92ff7121ec656b36815b14533fba5e92c165eb08 (diff) | |
| download | puppet-1d057396de46eab64f757d79c7996d0ca0245043.tar.gz puppet-1d057396de46eab64f757d79c7996d0ca0245043.tar.xz puppet-1d057396de46eab64f757d79c7996d0ca0245043.zip | |
Switching files to use a filebucket named "puppet" by default. Also, set up MasterClient to create that default filebucket.
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1973 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'test/lib')
| -rwxr-xr-x | test/lib/puppettest.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/puppettest.rb b/test/lib/puppettest.rb index 67d1a29c9..2fc121f08 100755 --- a/test/lib/puppettest.rb +++ b/test/lib/puppettest.rb @@ -92,6 +92,9 @@ module PuppetTest Puppet[:confdir] = @configpath Puppet[:vardir] = @configpath + + # And create the default bucket + Puppet::Type.type(:filebucket).mkdefaultbucket unless File.exists?(@configpath) Dir.mkdir(@configpath) |
