summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding a unit test for plain "nodesearch"luke2006-07-181-0/+37
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1400 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing filebucket server so that paths are not added multiple timesluke2006-07-111-3/+24
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1392 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding tests for previous config bugfixes, and updating changelogluke2006-07-111-0/+48
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1391 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing reports so that multiple host report directories can be created. ↵luke2006-07-111-0/+16
| | | | | | There was a config conflict before. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1390 980ebf18-57e1-0310-9a29-db15c13687c0
* Accepting the patch from #190.luke2006-07-051-6/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1368 980ebf18-57e1-0310-9a29-db15c13687c0
* Redoing reporting a bit, so that reports are now defined as methods. If ↵luke2006-07-042-6/+7
| | | | | | they are not methods, then they cannot use return, which makes things a bit uglier. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1359 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing some smallish bugs in preparation for 0.18.2luke2006-07-044-8/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1358 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding blastwave packaging, and doing some fixes on gem and sun packagingluke2006-07-041-13/+61
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1356 980ebf18-57e1-0310-9a29-db15c13687c0
* Some updates resulting from trying to track down a segfault introduced when ↵luke2006-07-033-5/+12
| | | | | | I upgraded to 1.8.4-5 in Debian. I never found the segfault and had ot downgrade to 1.8.4-1. I expect it will not be encountered in real life, only in testing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1355 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding Ruby Gem support to packagingluke2006-07-031-0/+80
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1354 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding minimal update checking for templates. It will only check the ↵luke2006-07-031-0/+46
| | | | | | templates that have been parsed in this process, but it is better than nothing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1353 980ebf18-57e1-0310-9a29-db15c13687c0
* Significantly redoing metrics. There are now no class variables for ↵luke2006-06-303-25/+67
| | | | | | metrics, nor no class methods for it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1350 980ebf18-57e1-0310-9a29-db15c13687c0
* committing tests for previous changesluke2006-06-303-4/+81
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1349 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #133. Added a "notify" and a "before" metaparam; notify is the ↵luke2006-06-301-0/+48
| | | | | | opposite of subscribe, and before is the opposite of require. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1344 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix a small bug in mount where parsing fails if dump and pass are missing ↵lutter2006-06-305-0/+56
| | | | | | (they are optional on Linux) Revamp the tests slightly so that they parse fstabs provided in svn rather than relying on the fstab on the system the test is running on. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1343 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving the template handling into a simple wrapper object so templates don't ↵luke2006-06-301-0/+26
| | | | | | have full access to the scope object without some real hacking. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1342 980ebf18-57e1-0310-9a29-db15c13687c0
* adding some tests for the template functionluke2006-06-292-1/+83
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1341 980ebf18-57e1-0310-9a29-db15c13687c0
* First commit of complete reporting support. The only existing report at ↵luke2006-06-291-1/+1
| | | | | | this point is the tagmail report. I expect reporting to get significantly modified from here, but it is a good start. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1339 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding reporting client, server, and tests. At this point, the server just ↵luke2006-06-291-0/+74
| | | | | | stores the report in a file as YAML. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1337 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding report collection to both statechange and transaction.luke2006-06-291-0/+29
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1336 980ebf18-57e1-0310-9a29-db15c13687c0
* For each type, adding a "new<type>" method to Puppet::Type, so instead of ↵luke2006-06-281-0/+47
| | | | | | typing Puppet::Type.type(:file).create(...) you can now type Puppet::Type.newfile(...). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1331 980ebf18-57e1-0310-9a29-db15c13687c0
* Cleaning up plugin handling a bit -- they can now be colon-separated paths, ↵luke2006-06-283-2/+61
| | | | | | and I added a separate "plugindest" setting for determining where plugins are synchronized to. The major feature I added, though, is that Puppet::Type now knows how to load plugins, and treats :pluginpath as a search path for plugins. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1330 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing zone testsluke2006-06-281-3/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1329 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing backgrounding in puppetrun; I had the bit flipped between the client ↵luke2006-06-281-12/+12
| | | | | | and the server, such that setting --foreground caused the clients to go into the background. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1325 980ebf18-57e1-0310-9a29-db15c13687c0
* Making sure fail function converts everything to stringsluke2006-06-271-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1323 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "fail" function, which will raise a ParseError if it is encountered.luke2006-06-271-0/+19
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1322 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for special freebsd @schedule crap. Also making sure that ↵luke2006-06-272-11/+41
| | | | | | cron listing works as expected. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1317 980ebf18-57e1-0310-9a29-db15c13687c0
* Largely refactored how log destinations are handled, although it is not ↵luke2006-06-272-30/+42
| | | | | | exposed externally. Most of this work is related to handling a large number of small problems related to threading. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1315 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "latest" test for rpms, since I have been told this is not working. ↵luke2006-06-261-0/+18
| | | | | | It seems to be working fine, but the test cannot hurt. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1309 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding HUP and USR1 hooksluke2006-06-261-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1308 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #178. I just added URI escaping and unescaping to file names.luke2006-06-201-0/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1307 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #175. The setpidfile setting was being ignored.luke2006-06-201-0/+27
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1306 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #182. Added a retry section to try reconnecting to ldap. Only one ↵luke2006-06-201-0/+43
| | | | | | reconnect is attempted in a given search, and LDAP produces bad enough error messages that we reconnect regardless of the error thrown. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1305 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting pluginsync default to false, and (hopefully) fixing autosign problem ↵luke2006-06-203-10/+42
| | | | | | when the file exists and autosign is set to true (#180). The problem was that the puppetmasterd script was redundantly setting autosign in the CA, when the CA already knows how to deal with autosigning, which meant that autosign was being set before the config was parsed. Thus, there was no bug when autosign was set on the command line but there was when it was set in the config. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1304 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing broken symlink behaviour mentioned on the listluke2006-06-201-0/+25
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1303 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding plugins and plugin management. The Master Client will now ↵luke2006-06-201-0/+64
| | | | | | automatically download plugins if pluginsync is enabled, and they will be automatically sourced. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1302 980ebf18-57e1-0310-9a29-db15c13687c0
* Test that setting a state to 'absent' really deletes it from the configlutter2006-06-151-0/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1289 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding test and fix for empty execs being ignoredluke2006-06-151-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1288 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing interpreter to initialize ldap in the nodesearch_ldap method, which ↵luke2006-06-151-0/+5
| | | | | | really only matters for testing (since it is already being inited in the nodesearch method git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1287 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing transaction tests to just warn when the user is not in more than one ↵luke2006-06-141-0/+9
| | | | | | group, rather than failing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1278 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding fixes for solaris zonesluke2006-06-132-14/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1271 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #173. At this point, I am just calling both "--add" and "on", or ↵luke2006-06-131-0/+4
| | | | | | "--del" and "off". This should probably be broken up into other states, but.... git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1265 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing packaging to deal with the fact that yum exits with 0 exit code even ↵luke2006-06-131-2/+3
| | | | | | when it is told to install a non-existent package. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1263 980ebf18-57e1-0310-9a29-db15c13687c0
* Correcting puppetrun docs and fixing a test so it works with older versions ↵luke2006-06-131-1/+1
| | | | | | of facter git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1262 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for default nodes as requested in #136.luke2006-06-132-1/+59
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1261 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #169. Tags are ignored during config.luke2006-06-131-0/+21
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1259 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the main bug reported on the list today relating to file sourcing ↵luke2006-06-131-0/+63
| | | | | | truncating linked-to files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1258 980ebf18-57e1-0310-9a29-db15c13687c0
* A round of bug-fixing in preparation for the next release.luke2006-06-138-9/+33
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1256 980ebf18-57e1-0310-9a29-db15c13687c0
* adding nothing test to zone testsluke2006-06-121-3/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1255 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing ldap node lookup. The test was set up badly, in that it did not ↵luke2006-06-121-6/+2
| | | | | | actually provide a way to enable ldap node support, even though there was a config option that should have worked. All works now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1254 980ebf18-57e1-0310-9a29-db15c13687c0