summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Fixing #113. I added support in the transaction for self-refreshing, which ↵luke2007-01-282-4/+49
| | | | | | just creates a special trigger for resources that have self-refreshing enabled. Logging is a bit different for them, so it is clear why they are refreshing. I still need to verify the remount methods work in the providers. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2107 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "self_refresh" option, so resources can refresh themselves if they ↵luke2007-01-281-0/+12
| | | | | | have changed in the current transaction. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2106 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #454.luke2007-01-281-0/+23
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2105 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #441.luke2007-01-281-0/+52
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2104 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #431. Collection was always returning an array, even when only a ↵luke2007-01-281-23/+32
| | | | | | single value was passed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2103 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #455. A simple fix, fortunately.luke2007-01-271-0/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2101 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #442. You can now do: defined(File[...]) to see if a resource is ↵luke2007-01-261-0/+11
| | | | | | defined. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2097 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #434.luke2007-01-261-0/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2096 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #445. Nodes can now inherit from default.luke2007-01-261-2/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2091 980ebf18-57e1-0310-9a29-db15c13687c0
* reworking the selector case-insensitivity testluke2007-01-261-23/+29
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2089 980ebf18-57e1-0310-9a29-db15c13687c0
* Wrapping the resource generation methods in begin/rescue blocks so that ↵luke2007-01-231-0/+17
| | | | | | failures cannot kill the transaction. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2085 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #415. Configuration parsing now removes trailing whitespace.luke2007-01-231-0/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2082 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #424. The configuration compile time is now cached in the yaml cache ↵luke2007-01-232-0/+54
| | | | | | file. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2081 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #437. Transactions now check whether graphs are cyclic, with a ↵luke2007-01-232-0/+36
| | | | | | somewhat-useful error message if they are. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2079 980ebf18-57e1-0310-9a29-db15c13687c0
* Last round of fixes before the next releaseluke2007-01-051-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2058 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing puppet test task for older ruby versionsluke2007-01-051-3/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2057 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing rake test so it works with the new puppet loaderluke2007-01-052-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2056 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding #408.luke2007-01-051-1/+75
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2055 980ebf18-57e1-0310-9a29-db15c13687c0
* Messing around a bit with how tests workluke2007-01-055-7/+36
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2054 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a few testing bugs that have crept in, and fixing a self-reference ↵luke2007-01-052-2/+9
| | | | | | problem when configuring, graphing, and setting graphdir manually. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2052 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #411.luke2007-01-051-0/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2051 980ebf18-57e1-0310-9a29-db15c13687c0
* Further work on #407. I forgot to actually connect it to the interpreter ↵luke2007-01-051-11/+28
| | | | | | internals. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2050 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #407. You can use external_node to specify a command to retrieve ↵luke2007-01-051-0/+62
| | | | | | your node information. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2049 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a timeout to execs. This is not really a sufficient solution, since ↵luke2007-01-041-0/+13
| | | | | | it needs to be added throughout the system, but this is a good start. The default timeout is 5 minutes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2047 980ebf18-57e1-0310-9a29-db15c13687c0
* Re-enabling the dirchmod test and fixing its syntaxluke2007-01-042-7/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2041 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing tests so they now include descriptions with all config options, which ↵luke2007-01-041-3/+7
| | | | | | is now required. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2038 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #403.luke2007-01-041-0/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2036 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #391. Keeping track of times of compile and freshness checks.luke2007-01-043-27/+84
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2034 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting up specific allowed types for sshkeyluke2007-01-041-1/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2033 980ebf18-57e1-0310-9a29-db15c13687c0
* Handle continuation lines in inifiles properly; stick a little closer to how ↵lutter2007-01-043-0/+19
| | | | | | python's ConfigParser parses git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2032 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #394. LoadedFile was not checking to see if files went missing.luke2007-01-031-0/+22
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2026 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a check to the rakefile to throw a warning if the test task is missingluke2007-01-031-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2023 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #401. Transactions were trying to trigger every resource, even those ↵luke2007-01-031-0/+44
| | | | | | that did not respond to the specified callback. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2022 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing "sourcematch" to "sourceselect"luke2007-01-021-4/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2017 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding sourcematch parameter to file.luke2007-01-021-0/+49
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2016 980ebf18-57e1-0310-9a29-db15c13687c0
* A couple of small fixes to pass existing tests.luke2007-01-013-4/+32
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2012 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some failing tests on fedora.luke2007-01-011-3/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2011 980ebf18-57e1-0310-9a29-db15c13687c0
* Enabling debugging except when running under rake.luke2007-01-011-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2010 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing graphing tests, and correctly only using storeconfigs in tests where ↵luke2007-01-012-7/+17
| | | | | | rails is available git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2009 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #369. I was not flushing changes to disk when ensure was out of ↵luke2007-01-011-5/+23
| | | | | | sync. This is going to become a common problem, and should probably be addressed by the framework rather than by individual types, but for now, it works. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2008 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #390. You can now add --graph to produce dot files, and you can then ↵luke2006-12-311-0/+40
| | | | | | produce pngs or whatever from those. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2007 980ebf18-57e1-0310-9a29-db15c13687c0
* Create rundir in a test that needs itmpalmer2006-12-311-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2004 980ebf18-57e1-0310-9a29-db15c13687c0
* Switch the run-lock to use Pidlock instead of the ad-hoc codempalmer2006-12-312-32/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2002 980ebf18-57e1-0310-9a29-db15c13687c0
* Make Pidlock#lock return true if we currently hold the lockmpalmer2006-12-311-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2001 980ebf18-57e1-0310-9a29-db15c13687c0
* Add a Puppet::Util::Pidlock class, for use by locks and PID filesmpalmer2006-12-311-0/+124
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2000 980ebf18-57e1-0310-9a29-db15c13687c0
* Add system library directories directly in puppettest.rb, so you don't have ↵mpalmer2006-12-311-1/+6
| | | | | | to do it by hand in every single underlying directory; also change the debug check slightly so that we actually put debug stuff only when we really want it git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1999 980ebf18-57e1-0310-9a29-db15c13687c0
* Features now load dynamically using method_missing, so that undefined ↵luke2006-12-291-0/+34
| | | | | | features never throw errors. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1987 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a bit more testing to mounts, and pulling a bit of the transaction ↵luke2006-12-291-0/+7
| | | | | | into a separate method to shorten the apply() method. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1986 980ebf18-57e1-0310-9a29-db15c13687c0
* Finally writing unit tests for Transaction#trigger, and drastically ↵luke2006-12-293-4/+81
| | | | | | simplifying the method in the process. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1985 980ebf18-57e1-0310-9a29-db15c13687c0
* *whew* Okay, simplified the splice method a bit, and I am actually somewhat ↵luke2006-12-291-1/+0
| | | | | | confident that the stronger testing is correct. I have had a lot of problems with tests usually passing but sometimes failing, mostly because of ordering problems related to multiple edges. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1984 980ebf18-57e1-0310-9a29-db15c13687c0