summaryrefslogtreecommitdiff
path: root/ext/puppet-test
AgeCommit message (Collapse)AuthorFilesLines
2014-02-18(maint) Banish "configuration parameter"Nick Fagerlund1-2/+2
They are called settings! Note: Two spec files relied on the wording of an error message I changed. I revised them to find the new wording.
2014-02-06(maint) Change name from from_pson to from_data_hashErik Dalén1-1/+1
This is because these methods are also used for deserialization from other formats than PSON. The method for serializing a object is called to_data_hash, so makes sense to call this from_data_hash.
2012-04-26(#13429) refactor some settings initializationChris Price1-1/+1
This commit does the following: * Move some of the settings initialization logic from Puppet::Util::CommandLine into the Puppet::Util::Settings class, so that it can be called by non-CommandLine code * Rename / deprecate / clean up some methods related to parsing config files to try to promote a cleaner API for interacting with settings. * Clean up / improve options for external tools to request puppet settings initialization.
2011-04-11Fixed #5684 - Move to Apache 2.0 licenseJames Turnbull1-5/+11
For details of why we're moving please see: https://groups.google.com/d/topic/puppet-users/NuspYhMpE5o/discussion Removed explicit GPL licenses where appropriate Replaced selected GPL licenses with Apache 2.0 Replaced LICENSE with Apache 2.0 Updated README
2010-11-29Renamed Reductive to PuppetJames Turnbull1-1/+1
I swear I've done this before. *confused*
2010-02-17Adding indirector support to Resource TypesLuke Kanies1-0/+24
Also adding JSON support. This is so that we can remotely retrieve information about resource types and classes, such as what arguments are required. Signed-off-by: Luke Kanies <luke@puppetlabs.com>
2010-02-17Feature #3347 REST-ified FileBucketJesse Wolfe1-1/+1
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"
2009-06-06Removed extra whitespace from end of linesIan Taylor1-2/+2
2009-06-06Changed tabs to spaces without interfering with indentation or alignmentIan Taylor1-15/+15
2009-04-06Adding #2122 - you can specify the node to test with puppet-testLuke Kanies1-13/+21
This commat adds a --node option to puppet-test, so that you can use locally cached node and fact data for testing local and remote compiles. Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-18Renaming Puppet::Node::Catalog to Puppet::Resource::CatalogLuke Kanies1-1/+1
Signed-off-by: Luke Kanies <luke@madstop.com>
2008-12-06Fix #1483 - use REST to transmit reports over the wireBrice Figureau1-0/+43
Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
2008-03-21Found all instances of methods where split() is used withoutLuke Kanies1-1/+2
any local variables and added a local variable -- see http://snurl.com/21zf8. My own testing showed that this caused memory growth to level off at a reasonable level. Note that the link above says the problem is only with class methods, but my own testing showed that it's any method that meets these criteria. This is not a functional change, but should hopefully be the last nail in the coffin of #1131.
2008-03-16Adding a filebucket test to puppet-testLuke Kanies1-8/+17
2008-03-16Adding a test for local compilingLuke Kanies1-4/+13
2008-03-16Using the indirected facts rather than master.getfacts, so no factsync is usedLuke Kanies1-2/+4
2008-01-30Significantly refactoring the lexer, including adding Token and TokenListLuke Kanies1-2/+2
classes for managing how the tokens work. I also moved they tests to RSpec, but I didn't rewrite all of them.
2008-01-18Adding a parse test to puppet-test.Luke Kanies1-5/+28
2007-12-11Renaming 'configuration' to 'catalog', fixing #954.Luke Kanies1-2/+2
2007-07-31Adding a test for railsluke1-1/+68
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2731 980ebf18-57e1-0310-9a29-db15c13687c0
2007-06-19More updates to puppet-testluke1-111/+183
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2628 980ebf18-57e1-0310-9a29-db15c13687c0
2007-06-19Updating puppet-test with clearer options around describe and retrieveluke1-13/+23
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2627 980ebf18-57e1-0310-9a29-db15c13687c0
2007-06-19Refactoring puppet-test -- it now supports specifying a fork level (so you ↵luke1-48/+139
can get multiple tests running in parallel from one host), and tests are modeled explicitly, so it will be easier to add new tests. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2623 980ebf18-57e1-0310-9a29-db15c13687c0
2007-06-18Adding puppet-test, which is useful for performance testingluke1-0/+201
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2601 980ebf18-57e1-0310-9a29-db15c13687c0