summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* | Requiring mocha in all cases in the test treeLuke Kanies2007-08-151-0/+1
| |
* | The new configuration handler looks to be ready for usage. Now I just need ↵Luke Kanies2007-08-151-0/+167
| | | | | | | | to convert the interpreter to use SimpleNode objects, then continue with the Configuration object.
* | Adding the necessary name/ip fields to the node methodsLuke Kanies2007-08-151-1/+1
| |
* | Adding a "none" node source, which will be the default node source and will ↵Luke Kanies2007-08-151-0/+18
| | | | | | | | just return an empty node.
* | Finalizing the node handler. It now correctly uses the different node sourcesLuke Kanies2007-08-142-137/+324
| | | | | | | | | | and knows how to retrieve data from those sources. Now I just need to fix the language stuff to use this handler instead of the existing node stuff.
* | An intermediate commit in the work towards adding multi-environment support.Luke Kanies2007-08-144-380/+578
|/ | | | | | | | This has required splitting the interpreter up considerably, which is much cleaner but is a large project. There is now a 'nodes' handler, but it is currently non-functional, although all the support structure is there. It just needs to have the individual methods fleshed out, and it needs to be connected to the 'facts' handler.
* Applying patch by Adam Jacob to make external node tools able to handle ↵Luke Kanies2007-08-131-3/+15
| | | | command-line arguments
* Fix for setting global exit code ($?) in SUIDManager testschristian2007-08-101-0/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2767 980ebf18-57e1-0310-9a29-db15c13687c0
* Broaden assert_absent so that it thinks that :purged is equivalent to :absent(no author)2007-08-091-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2766 980ebf18-57e1-0310-9a29-db15c13687c0
* Change the service name so that it is less likely to trip on a common word ↵(no author)2007-08-091-2/+2
| | | | | | and spuriously fail git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2765 980ebf18-57e1-0310-9a29-db15c13687c0
* Trivial mock cleanups(no author)2007-08-092-4/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2763 980ebf18-57e1-0310-9a29-db15c13687c0
* Highlight what I think is a problem in the test suite that I just can't solve(no author)2007-08-091-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2760 980ebf18-57e1-0310-9a29-db15c13687c0
* Refactor SUIDManager tests to run without root, change SUIDManager's ↵christian2007-08-0915-196/+111
| | | | | | behavior to not silently fail when it's not root and fix all other tests that broke as a result. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2759 980ebf18-57e1-0310-9a29-db15c13687c0
* Upgrade mocha to 0.5.1, which gives much better error messages(no author)2007-08-0928-228/+892
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2758 980ebf18-57e1-0310-9a29-db15c13687c0
* The last set of bug-fixes before the next release. This commit just fixes a ↵luke2007-08-071-1/+5
| | | | | | couple of problems that resulted when I changed the Provider#initialize method to not duplicate its argument, which was necessary for ParsedFile. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2753 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding test support for the other mongrel configuration headerluke2007-08-061-2/+23
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2752 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #749 -- environment settings no longer accumulate. Significantly ↵luke2007-08-067-90/+606
| | | | | | adding to the cron tests at the same time, such that hopefully we will no longer have these recurring bugs. I now do every combinatorial of multi-line cron jobs, including doing them all in one file. There are, unfortunately, still edge cases, but maybe we will have some peace in cron space for a while, anyway. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2750 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #751 -- the interface providers now have basic tests, at least to ↵luke2007-08-051-0/+40
| | | | | | verify that prefetching and listing works. I think these resource types need to be largely rewritten, though, and they currently have no relationship to ifconfig, which seems strange. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2747 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #731 - we are now correctly only collecting exported resourcesluke2007-08-051-0/+33
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2746 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #730 -- mounts now call flush() before trying to mountluke2007-08-051-45/+68
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2745 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #735 -- gen_config now uses a single heading, matching the name of ↵luke2007-08-041-23/+57
| | | | | | the process git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2743 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #314 and #729; here's the changelog:luke2007-08-035-441/+470
| | | | | | | | | | | | | | | Refactored how the parser and interpreter relate, so parsing is now effectively an atomic process (thus fixing #314 and #729). This makes the interpreter less prone to error and less prone to show the error to the clients. Note that this means that if a configuration fails to parse, then the previous, parseable configuration will be used instead, so the client will not know that the configuration failed to parse. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2742 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #734. The problem was that when I switched how the configs were ↵luke2007-08-031-7/+49
| | | | | | parsed, I managed to lose the ability to keep values set on the cli from being overridden by values set in config files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2738 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing test that ended up being redundantluke2007-07-311-16/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2730 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #726 -- mounts can now correctly handle mounted but absent filesystems.luke2007-07-201-0/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2723 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding some code in an attempt to fix #728, but it is all commented out ↵luke2007-07-201-1/+17
| | | | | | since I could not get it fixed in time for beaker git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2722 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #725. I was apparently not deleting the alias I was creating to the ↵luke2007-07-191-0/+15
| | | | | | components. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2718 980ebf18-57e1-0310-9a29-db15c13687c0
* Converting mount test to use mount everywhere instead of dfluke2007-07-191-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2716 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the ability to specify relationships to classes, using Class[name] ↵luke2007-07-192-1/+43
| | | | | | resource references. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2715 980ebf18-57e1-0310-9a29-db15c13687c0
* The first round of bug-fixes in preparation for beakerluke2007-07-192-4/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2714 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding documentation to the "test" scriptluke2007-07-191-38/+110
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2713 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #716 -- the package type was considering anything that was not ↵luke2007-07-191-0/+8
| | | | | | "absent" to be installed, but that included "purged", thus the problem git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2709 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #695 -- resource references will correctly serialize and unserialize ↵luke2007-07-181-2/+18
| | | | | | in the db git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2706 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #703, mostly. You still cannot do multi-condition queries, but you ↵luke2007-07-183-10/+9
| | | | | | can at least query against any parameter, and matching any value is sufficient for a match, so the tags work fine. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2705 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the rest of #705, except for the env stuff, which I was not able to ↵luke2007-07-141-0/+16
| | | | | | reproduce. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2697 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the interpreter autoloading so that it correctly loads classes even ↵luke2007-07-121-0/+6
| | | | | | when being loaded from a namespace git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2686 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the instances method. It now works when there are already managed ↵luke2007-07-121-5/+17
| | | | | | resources. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2685 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the :check metaparam so it does not try to check unsupported parametersluke2007-07-121-0/+32
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2684 980ebf18-57e1-0310-9a29-db15c13687c0
* removing the test for a method I removed yesterdayluke2007-07-121-48/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2683 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the first half of #705 -- matching no longer fails. I think this ↵luke2007-07-121-12/+60
| | | | | | also fixes #648. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2680 980ebf18-57e1-0310-9a29-db15c13687c0
* Having FileType instances automatically back their contents up to a ↵luke2007-07-111-2/+48
| | | | | | filebucket, so it is much harder to lose content. This does not yet back up crontab contents, though. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2679 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing transactions so that they do not flush resources that are in noopluke2007-07-111-2/+41
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2678 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for a "mailalias" type, with /etc/aliases support initially. ↵luke2007-07-104-6/+309
| | | | | | I have not yet figured out how to best rebuild the aliases file when necessary. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2676 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support in Property for declarating whether a given property type ↵luke2007-07-101-0/+38
| | | | | | will match all @should values or just the first. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2674 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding patch by Valentin Vidic to add the "+>" syntax for adding values to ↵luke2007-07-101-0/+25
| | | | | | parameters git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2670 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #621 -- plugins are now downloaded directly into the $libdir, and ↵luke2007-07-101-38/+13
| | | | | | autoload looks for them there. You can now easily download any reloadable file to your clients. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2669 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing some of the internals of autoloading so that there is a class-level ↵luke2007-07-101-17/+32
| | | | | | method to query whether a given file has been loaded. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2668 980ebf18-57e1-0310-9a29-db15c13687c0
* Ignore the pkg directory if it exists, and fix up a couple of tests that ↵(no author)2007-07-091-1/+1
| | | | | | were erroring out, which also will help the confinement of package types a bit more. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2663 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #687.luke2007-07-091-0/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2662 980ebf18-57e1-0310-9a29-db15c13687c0
* The parser now throws an error when a resource reference is created for an ↵luke2007-07-081-0/+70
| | | | | | unknown type. Also, resource references look up defined types and translate their type accordingly. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2660 980ebf18-57e1-0310-9a29-db15c13687c0