summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #2173 - fix running RSpec test by handBrice Figureau2009-04-221-1/+1
| | | | | | | | | | | | | Since the introduction of fixing RSpec to 1.2.2, we don't support anymore running RSpec directly ala: ruby spec/unit/type.rb or spec/unit/type.rb This patch fixes this. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Fix #2174 - Fix RSpec rake targetsBrice Figureau2009-04-191-2/+2
| | | | | | | | | | | | | | | | | | | | The target generation was wrong, as it created some strange target for isolated test files. It now creates two types of targets: * directory targets, like: rake integration/network/server or rake unit/network Those run all tests in a specific directory * spec targets like: rake unit:indirector:catalog:yaml or rake unit:parser:ast:definition Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Fixing #2112 - Transactions handle conflicting generated resourcesLuke Kanies2009-04-1710-91/+54
| | | | | | | | | | This commit rips out all of the 'implicit resource' crap, replacing it with a simple system that just skips resources that the catalog says are in conflict. Removes a bunch of code, and fixes the bug to boot. Signed-off-by: Luke Kanies <luke@madstop.com>
* Adding another stacktrace for debuggingLuke Kanies2009-04-171-0/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing puppet -e; it got broken in the move to ApplicationLuke Kanies2009-04-172-2/+9
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Partially fixing #2029 - failed caches doesn't throw an exceptionLuke Kanies2009-04-172-7/+32
| | | | | | | If the main terminus fails you get an exception, but not if a cache terminus fails. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing #2111 - SimpleGraph only creates valid adjacenciesLuke Kanies2009-04-122-1/+10
| | | | | | | | | | | The way this class was testing edges was causing them to appear adjacencies to appear magically, because it was only testing that a hash had a key, not that the value had any edges. This fixes the infinite recursion mentioned in #2111. Signed-off-by: Luke Kanies <luke@madstop.com>
* Switching to new() in the Puppet::Type.instances() class methodLuke Kanies2009-04-121-1/+1
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Removing duplicate method definition from SimpleGraphLuke Kanies2009-04-121-8/+0
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge branch '0.24.x'Luke Kanies2009-04-112-1/+2
|\
| * Fixed rspec gem at version 1.2.2James Turnbull2009-04-061-0/+1
| |
| * Add @options to test run call, for compatibility with more recent rspec ↵Ethan Rowe2009-04-061-1/+1
| | | | | | | | versions.
* | mini daemon to trigger puppetrun on clients without puppet listen modeOhad Levy2009-04-122-0/+115
| |
* | Merge branch '0.24.x'Luke Kanies2009-04-072-54/+25
|\|
| * Adding #2122 - you can specify the node to test with puppet-testLuke Kanies2009-04-061-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>
| * More RST fixesJames Turnbull2009-03-301-44/+22
| |
| * Fixed RST for functionsJames Turnbull2009-03-272-12/+5
| |
| * In order for ReST formatting to work properly, newlines andJames Turnbull2009-03-271-1/+1
| | | | | | | | | | | | indentation of doc strings must be retained. Signed-off-by: Thomas Bellman <bellman@nsc.liu.se>
| * Added rake ci:all taskJames Turnbull2009-03-261-0/+3
| |
* | Fix #2113 - Make temp directoryPaul Nasrat2009-04-051-0/+2
| | | | | | | | | | Tests were failing this patch makes the temporary directory in line with other integration tests.
* | Merge branch 'master' of git://reductivelabs.com/puppetJames Turnbull2009-04-0660-241/+887
|\ \
| * | Fixing all tests that were apparently broken in the 0.24.x merge.Luke Kanies2009-04-028-18/+13
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Fixing Rakefile; apparently there was a rake or gem incompatibilityLuke Kanies2009-04-021-3/+4
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * | Merge branch '0.24.x'Luke Kanies2009-04-0256-230/+880
| |\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: bin/ralsh lib/puppet/executables/client/certhandler.rb lib/puppet/parser/functions/versioncmp.rb lib/puppet/parser/resource/reference.rb lib/puppet/provider/augeas/augeas.rb lib/puppet/provider/nameservice/directoryservice.rb lib/puppet/provider/ssh_authorized_key/parsed.rb lib/puppet/type.rb lib/puppet/type/file/checksum.rb spec/integration/defaults.rb spec/integration/transaction/report.rb spec/unit/executables/client/certhandler.rb spec/unit/indirector/ssl_rsa/file.rb spec/unit/node/catalog.rb spec/unit/provider/augeas/augeas.rb spec/unit/rails.rb spec/unit/type/ssh_authorized_key.rb spec/unit/type/tidy.rb test/executables/filebucket.rb test/executables/puppetbin.rb
| | * Updated to version 0.24.8Luke Kanies2009-03-241-1/+1
| | |
| | * Fixing #1631 - adding /sbin and /usr/sbin to PATHLuke Kanies2009-03-242-0/+18
| | | | | | | | | | | | | | | | | | | | | This is a trivial fix but seems to crop up more often than it should. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Fixed #2004 - ssh_authorized_key fails if no target is definedFrancois Deppierraz2009-03-244-44/+48
| | | | | | | | | | | | | | | | | | | | | This commit depends on 7f291afdacf59f762c3b78481f5420ec8919e46d (fixing #1629) which was cherry-picked from master. Signed-off-by: Francois Deppierraz <francois@ctrlaltdel.ch>
| | * Changelog entries for #1629 and #2004Francois Deppierraz2009-03-241-0/+4
| | | | | | | | | | | | Signed-off-by: Francois Deppierraz <francois@ctrlaltdel.ch>
| | * Fix Bug #1629Francois Deppierraz2009-03-242-12/+116
| | | | | | | | | | | | | | | A refactoring of ssh_authorized_key parsed provider was needed and tests were improved. flush method has been split for clarity.
| | * Fix #1807 - make Puppet::Util::Package.versioncmp a module functionBrice Figureau2009-03-242-0/+23
| | | | | | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| | * Fix #1829 - Add puppet function versioncmp to compare versionsBrice Figureau2009-03-242-0/+39
| | | | | | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| | * Fixed install.rb typoJames Turnbull2009-03-241-1/+1
| | |
| | * Updated lib install permissions to 0644James Turnbull2009-03-241-1/+1
| | |
| | * Fixes incorrect detail variable in OS X version check, re-patches ralsh to ↵Nigel Kersten2009-03-203-3/+9
| | | | | | | | | | | | work with Facter values and adds error check for missing password hash files.
| | * Fix #1828 - Scope.number? wasn't strict enough and could produce wrong resultsBrice Figureau2009-03-142-3/+17
| | | | | | | | | | | | | | | | | | | | | Some invalid numbers were treated as numbers and conversion to Integer was failing returning 0 (for instance 0.24.7). Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| | * Fixed #2000 - No default specified for checksumJames Turnbull2009-03-092-1/+9
| | |
| | * Fixing change printing when list properties are absentLuke Kanies2009-03-072-1/+9
| | | | | | | | | | | | | | | | | | | | | They were throwing an exception when the 'is' value was 'absent'. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Fixed #2026 - Red Hat ignoring stop methodJames Turnbull2009-03-072-4/+6
| | |
| | * Bring in the documentation changes from the master branchBryan Kearney2009-03-041-3/+2
| | |
| | * Added a force option to ensure the change is always applied, and call augeas ↵Bryan Kearney2009-03-043-146/+197
| | | | | | | | | | | | twice to reduce the chance that data is lost
| | * Backport the fix for #1835Bryan Kearney2009-03-042-4/+102
| | |
| | * First cut at the not running if augeas does not change any of the ↵Bryan Kearney2009-03-042-34/+92
| | | | | | | | | | | | underlieing files
| | * Bug 1948: Added patch by jab to support the correct ins syntax. Updated the ↵Bryan Kearney2009-03-041-5/+3
| | | | | | | | | | | | test cases as well
| | * Fixing #1991 - ldap booleans get converted to booleansLuke Kanies2009-03-052-0/+45
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Refactored a method: extracted about five other methodsLuke Kanies2009-03-051-39/+50
| | | | | | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| | * dbfix - fix typo and close another possible inconsistencyBrice Figureau2009-03-041-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a typo in one request producing a SQL error. It also close an issue where param_values could point to inexistant param_names after the deduplications of those. It does this by rewriting the param_values to point to the highest id of the param_names of the same name. The same operation is performed on the tags. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| | * Fix #2010 - add protection code for some storeconfig corruptionBrice Figureau2009-03-041-14/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds a more robust and self-healing storedconfig in case of logically corrupted database as the one in #2010 (where multiple resources of same references are present in the database for the same host). The problem is that the resources are stored in a hash with the resource ref as the key, so we collapse resource of different id but same reference. The patch fixed this by using a hash by resource id, and maintaining a list of old extraneous resource in the db that are removved after the storeconfig pass. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| | * Further fix to #1910James Turnbull2009-03-041-1/+1
| | |
| | * Fixing #2013 - prefetching had a mismatch between type and titleLuke Kanies2009-03-042-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | The ParsedFile types seem to be the main one that suffers from this, but the transactions were using the resource titles, not names, so resources were often not getting prefetched correctly. Signed-off-by: Luke Kanies <luke@madstop.com>
| | * Fixed to rake tests for reductivelabs buildJames Turnbull2009-03-041-3/+3
| | |