summaryrefslogtreecommitdiffstats
path: root/lib/puppet/application/filebucket.rb
Commit message (Collapse)AuthorAgeFilesLines
* Feature #2276 Single Executable: Pass a commandline object to the applicationJesse Wolfe2010-02-171-1/+1
| | | | | | Refactor so that the command line options only get parsed once Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
* Refactor #3706 Reify eigenclasses of ApplicationsJesse Wolfe2010-02-171-10/+10
| | | | | | | | | | The Puppet::Application DSL is complicated by the fact that it operates on eigenclasses of instances of Puppet::Application, rather than subclassing it. This patch reifies the eigenclasses as subclasses of Puppet::Application. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
* feature #2276 Single Executable: subcommand methodJesse Wolfe2010-02-171-5/+10
| | | | | | Extract the logic to determine the subcommand name into a method. Signed-off-by: Jesse Wolfe <jes5199@gmail.com>
* REST FileBucket: REST barfs on relative pathsJesse Wolfe2010-02-171-1/+0
| | | | Force FileBucket to always send absolute (real) paths
* Feature #3347 REST-ified FileBucketJesse Wolfe2010-02-171-4/+5
| | | | | | | | | | | | | | | | FileBucket Files have been reimplemented as an indirector terminus so that they can be transmitted over REST. The old Network::Client.dipper has been replaced with a compatibility later in FileBucket::Dipper that uses the indirector to access filebucket termini. Slightly revised patch: * No longer allows nil contents in FileBucket outside of initialization * Uses File.exist? instead of the deprecated File.exists? * Tweaks JSON serialization and de-serialization to include "path" Deferred issues: * Feature #3371 "FileBucket should not keep files in memory". * Feature #3372 "Replace FileBucket Dipper with more idiomatic calls"
* Move --version handling to Puppet::ApplicationBrice Figureau2009-02-161-5/+0
| | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Move filebucket to the Application Controller paradigmBrice Figureau2009-02-161-0/+92
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>