summaryrefslogtreecommitdiffstats
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
...
* Cron is now fully functional and tested on 3 platforms. In order to make it ↵luke2005-09-164-56/+160
| | | | | | work, I had to do some modifications to TransObject#to_type and Type.create, but all tests pass now. Type.create is now handling errors on creating objects, so if you try to create an invalid object you will just get nil returned, rather than receiving an error. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@680 980ebf18-57e1-0310-9a29-db15c13687c0
* cron is working, but i want to write quite a few more test casesluke2005-09-161-6/+125
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@677 980ebf18-57e1-0310-9a29-db15c13687c0
* making "Type.new" private, and switching to "Type.create", so that i can ↵luke2005-09-1623-135/+113
| | | | | | merge new objects with existing objects and such; converted all files, and tested them git-svn-id: https://reductivelabs.com/svn/puppet/trunk@674 980ebf18-57e1-0310-9a29-db15c13687c0
* switching FileTesting to a class, and modifying test suites as appropriateluke2005-09-169-308/+253
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@673 980ebf18-57e1-0310-9a29-db15c13687c0
* adding extra checks to make sure networking is secure, and refactoring a ↵luke2005-09-1513-865/+638
| | | | | | heckuva lot of test git-svn-id: https://reductivelabs.com/svn/puppet/trunk@671 980ebf18-57e1-0310-9a29-db15c13687c0
* cleaning up tests a bit; mostly just making sure tests clean up after ↵luke2005-09-155-18/+16
| | | | | | themselves, but also doing some rearrangement and fixing a list() call git-svn-id: https://reductivelabs.com/svn/puppet/trunk@669 980ebf18-57e1-0310-9a29-db15c13687c0
* debugged ignore in fileserver, added tests to ignore tc and fixed ↵shafer2005-09-154-37/+114
| | | | | | server.list in tc for filesources and fileserver git-svn-id: https://reductivelabs.com/svn/puppet/trunk@668 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing some testsluke2005-09-153-34/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@667 980ebf18-57e1-0310-9a29-db15c13687c0
* moving some testing and debugging aroundluke2005-09-151-22/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@666 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing non-netinfo groupluke2005-09-151-2/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@664 980ebf18-57e1-0310-9a29-db15c13687c0
* modifications to eliminate code duplication in state creation, mostly to ↵luke2005-09-153-25/+28
| | | | | | support cron git-svn-id: https://reductivelabs.com/svn/puppet/trunk@663 980ebf18-57e1-0310-9a29-db15c13687c0
* switching groups back to having namevar be a parameter instead of a stateluke2005-09-151-14/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@661 980ebf18-57e1-0310-9a29-db15c13687c0
* adding cron stuff; it does not work at all yetluke2005-09-141-0/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@658 980ebf18-57e1-0310-9a29-db15c13687c0
* adding globbing to importluke2005-09-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@657 980ebf18-57e1-0310-9a29-db15c13687c0
* removed comp.sync and replaced system mkdir -pshafer2005-09-141-7/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@656 980ebf18-57e1-0310-9a29-db15c13687c0
* added test case for ignoreshafer2005-09-131-0/+140
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@655 980ebf18-57e1-0310-9a29-db15c13687c0
* tracked down some sticky bugs related to having false values and empty ↵luke2005-09-132-0/+29
| | | | | | strings; all fixed now, and all tests pass again, including the new tests that cover the bugs i found git-svn-id: https://reductivelabs.com/svn/puppet/trunk@652 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing error handling so that failed objects are completely destroyed; they ↵luke2005-09-132-161/+61
| | | | | | were receiving events even though they were supposed to be gone git-svn-id: https://reductivelabs.com/svn/puppet/trunk@651 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing component flattening and sorting; it was not working for cases where ↵luke2005-09-131-3/+102
| | | | | | objects inside of components had dependencies from other components git-svn-id: https://reductivelabs.com/svn/puppet/trunk@650 980ebf18-57e1-0310-9a29-db15c13687c0
* adding snippet test to verify correct behaviour with missing exec path; ↵luke2005-09-132-17/+29
| | | | | | also, adding "creates" parameter to exec git-svn-id: https://reductivelabs.com/svn/puppet/trunk@649 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing groups again after getting them to work with netinfoluke2005-09-091-7/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@641 980ebf18-57e1-0310-9a29-db15c13687c0
* group management now works on os x, although it is six shades of really ↵luke2005-09-081-15/+151
| | | | | | nasty. Netinfo is a nightmare. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@640 980ebf18-57e1-0310-9a29-db15c13687c0
* adding debug setting to the top-level test classluke2005-09-081-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@639 980ebf18-57e1-0310-9a29-db15c13687c0
* making states capable of being the namevarluke2005-09-071-14/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@636 980ebf18-57e1-0310-9a29-db15c13687c0
* all tests now pass on solaris 10x86; i had to do some stupid hacking with ↵luke2005-09-075-6/+52
| | | | | | base64 for it to work, and i am working getting a much better base class for all test classes git-svn-id: https://reductivelabs.com/svn/puppet/trunk@635 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a break if randomization takes too longluke2005-09-071-0/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@634 980ebf18-57e1-0310-9a29-db15c13687c0
* finishing up user and group support for nowluke2005-09-073-75/+329
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@633 980ebf18-57e1-0310-9a29-db15c13687c0
* adding scopetestluke2005-09-071-0/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@631 980ebf18-57e1-0310-9a29-db15c13687c0
* adding user and group classes (although user class is not yet functional), ↵luke2005-09-072-0/+197
| | | | | | and added "is(state)" and "should(state)" methods for retrieving the respective values on a specified state git-svn-id: https://reductivelabs.com/svn/puppet/trunk@630 980ebf18-57e1-0310-9a29-db15c13687c0
* adding simple newcomp() method to base test classluke2005-09-071-0/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@628 980ebf18-57e1-0310-9a29-db15c13687c0
* adding all of the work necessary for tidyingluke2005-09-062-4/+58
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@627 980ebf18-57e1-0310-9a29-db15c13687c0
* removing DEFAULTPORT stuffluke2005-09-061-4/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@626 980ebf18-57e1-0310-9a29-db15c13687c0
* committing initial tidy stuff, so i can move to the laptopluke2005-09-021-0/+78
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@622 980ebf18-57e1-0310-9a29-db15c13687c0
* defining $name in each component scope, and adding test caseluke2005-09-021-1/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@620 980ebf18-57e1-0310-9a29-db15c13687c0
* adding file reread to master, although it is plenty hackishluke2005-08-301-0/+52
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@611 980ebf18-57e1-0310-9a29-db15c13687c0
* fileserver config file now reloads when it is more than 60 seconds out of dateluke2005-08-301-0/+64
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@610 980ebf18-57e1-0310-9a29-db15c13687c0
* correcting documentation on autosign in puppetmasterd, and switching the ↵luke2005-08-301-4/+1
| | | | | | autosign.conf file to use the same authstore as fileserver.conf git-svn-id: https://reductivelabs.com/svn/puppet/trunk@609 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a "--noop" option along with a test case for itluke2005-08-291-7/+21
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@607 980ebf18-57e1-0310-9a29-db15c13687c0
* changing default hostname to "puppet", and adding --parseonly option along ↵luke2005-08-291-2/+20
| | | | | | with a test case for it git-svn-id: https://reductivelabs.com/svn/puppet/trunk@606 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing puppet to use correct method and adding a real test case for itluke2005-08-291-0/+27
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@605 980ebf18-57e1-0310-9a29-db15c13687c0
* As Christian requested, I am no longer downcasing facts I receive from ↵Luke Kanies2005-08-291-1/+1
| | | | | | Facter. Also, removing some outdated files git-svn-id: https://reductivelabs.com/svn/puppet/trunk@599 980ebf18-57e1-0310-9a29-db15c13687c0
* I did not have good puppetd tests, so I missed the fact that I was calling ↵Luke Kanies2005-08-292-17/+51
| | | | | | the wrong class in puppetd. Fixed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@597 980ebf18-57e1-0310-9a29-db15c13687c0
* This should be the commit that brings us to Beta 1. All tests pass, ↵Luke Kanies2005-08-289-33/+146
| | | | | | although I get some (gracefully handled) failures in tc_metrics.rb, and there is now a config file for the fileserver module, including authorization specification for it. I have also reworked error handling in the xmlrpc client and server so errors should propagate more correctly. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@594 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding authorization store, initially just used for file serving but ↵Luke Kanies2005-08-281-0/+185
| | | | | | eventually for all authorization, most likely git-svn-id: https://reductivelabs.com/svn/puppet/trunk@593 980ebf18-57e1-0310-9a29-db15c13687c0
* adding config file parsingLuke Kanies2005-08-271-22/+102
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@592 980ebf18-57e1-0310-9a29-db15c13687c0
* making array-as-name work in the language, and adding some more test snippetsLuke Kanies2005-08-252-3/+66
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@589 980ebf18-57e1-0310-9a29-db15c13687c0
* Certificates now verify!Luke Kanies2005-08-241-4/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@588 980ebf18-57e1-0310-9a29-db15c13687c0
* replacing if statements with case statement, and adding defaults for both ↵Luke Kanies2005-08-244-9/+38
| | | | | | selectors and case statements git-svn-id: https://reductivelabs.com/svn/puppet/trunk@587 980ebf18-57e1-0310-9a29-db15c13687c0
* remote filecopying now worksLuke Kanies2005-08-232-41/+134
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@586 980ebf18-57e1-0310-9a29-db15c13687c0
* Have done a significant reorganization of how clients work, also, along with ↵Luke Kanies2005-08-2313-99/+138
| | | | | | some interesting trouble shooting on components git-svn-id: https://reductivelabs.com/svn/puppet/trunk@585 980ebf18-57e1-0310-9a29-db15c13687c0