summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* fixing "ignore" documentation to parse RST correctly.luke2005-09-221-2/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@699 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, all tests pass again. The work done on nodes will take a little while ↵luke2005-09-2210-38/+100
| | | | | | to clarify and such, but it should work pretty well. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@698 980ebf18-57e1-0310-9a29-db15c13687c0
* I am still somewhat in mid-change, but I have made the biggest changes to ↵luke2005-09-2110-305/+464
| | | | | | making nodes work correctly. The core code works, but I still need to fix my various test cases git-svn-id: https://reductivelabs.com/svn/puppet/trunk@697 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a ParsedFile class to handle figuring out whether a file has changedluke2005-09-212-0/+66
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@696 980ebf18-57e1-0310-9a29-db15c13687c0
* converting tc_relationships.rb to the test base classluke2005-09-211-14/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@695 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, significant change -- classes no longer accept arguments (which makes ↵luke2005-09-2110-358/+720
| | | | | | things simpler but encourages the user of global variables, which is bad), and classes are finally singletons, meaning they will only ever be evaluated for each node a single time. I still need to make nodes work correctly, but that is going to involve modifying the parsing system and a bit more git-svn-id: https://reductivelabs.com/svn/puppet/trunk@694 980ebf18-57e1-0310-9a29-db15c13687c0
* adding stinkloads of comments to ast.rb (I am trying to go through and ↵luke2005-09-203-516/+590
| | | | | | better comment my code over time), refactoring some of the AST classes, and working towards a more sensible class/definition/node distinction git-svn-id: https://reductivelabs.com/svn/puppet/trunk@693 980ebf18-57e1-0310-9a29-db15c13687c0
* adding some new language testsluke2005-09-193-1/+27
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@692 980ebf18-57e1-0310-9a29-db15c13687c0
* added log, metaloglevel and @metaparams to support setting loglevelsshafer2005-09-191-9/+40
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@691 980ebf18-57e1-0310-9a29-db15c13687c0
* switching log.rb to raise Puppet::DevError eventsluke2005-09-192-5/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@690 980ebf18-57e1-0310-9a29-db15c13687c0
* My cfengine2puppet config now entirely parses. The biggest problem I ran ↵luke2005-09-185-39/+82
| | | | | | into is that my glob-based parsing was only returning the results of the last parsed file, instead of collecting all of the results. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@689 980ebf18-57e1-0310-9a29-db15c13687c0
* adding --noop to puppet executable, and removing some extraneous commentsluke2005-09-172-1/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@688 980ebf18-57e1-0310-9a29-db15c13687c0
* Successfully parsed my entire converted cfengine configuration; these are ↵luke2005-09-1711-291/+398
| | | | | | all fixes for bugs i found as a result. I have not tried to execute the configuration yet. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@687 980ebf18-57e1-0310-9a29-db15c13687c0
* Users and groups now work on OS X. I had to make some key changes to how ↵luke2005-09-177-42/+72
| | | | | | transactions and state changes work -- the most important is that it is no longer an error to try to sync a state that is already in sync. I could not find another way to handle all user states being out of sync but the first state actually syncs everything. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@686 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing users on normal machinesluke2005-09-172-4/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@685 980ebf18-57e1-0310-9a29-db15c13687c0
* Users and groups now nearly work on normal machines and on os x, and I think ↵luke2005-09-1710-145/+323
| | | | | | I have a decent platform for expansion to some of the other important elements like hosts (probably most important after users and groups). Some tests are still failing on os x, because netinfo sucks, but I will hopefully be able to figure out a solution soon. Stupid OS X and NetInfo. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@684 980ebf18-57e1-0310-9a29-db15c13687c0
* all tests for users and groups pass again on fedora, debian, and solarisluke2005-09-167-96/+147
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@683 980ebf18-57e1-0310-9a29-db15c13687c0
* temporary commit so i can move to my workstation; groups and users are way ↵luke2005-09-165-464/+512
| | | | | | b0rked git-svn-id: https://reductivelabs.com/svn/puppet/trunk@682 980ebf18-57e1-0310-9a29-db15c13687c0
* Creating a "change_to_s" method on State, so individual states can override ↵luke2005-09-162-16/+26
| | | | | | and and determine how they get printed git-svn-id: https://reductivelabs.com/svn/puppet/trunk@681 980ebf18-57e1-0310-9a29-db15c13687c0
* Cron is now fully functional and tested on 3 platforms. In order to make it ↵luke2005-09-1610-160/+460
| | | | | | 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
* adding keywordsluke2005-09-161-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@679 980ebf18-57e1-0310-9a29-db15c13687c0
* adding keywordsluke2005-09-161-2/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@678 980ebf18-57e1-0310-9a29-db15c13687c0
* cron is working, but i want to write quite a few more test casesluke2005-09-162-58/+329
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@677 980ebf18-57e1-0310-9a29-db15c13687c0
* small fixing to merge(), and changing output of statechangeluke2005-09-162-3/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@676 980ebf18-57e1-0310-9a29-db15c13687c0
* finishing up merge methodluke2005-09-161-14/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@675 980ebf18-57e1-0310-9a29-db15c13687c0
* making "Type.new" private, and switching to "Type.create", so that i can ↵luke2005-09-1633-190/+335
| | | | | | 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
* removed directory outputshafer2005-09-151-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@672 980ebf18-57e1-0310-9a29-db15c13687c0
* adding extra checks to make sure networking is secure, and refactoring a ↵luke2005-09-1521-902/+781
| | | | | | heckuva lot of test git-svn-id: https://reductivelabs.com/svn/puppet/trunk@671 980ebf18-57e1-0310-9a29-db15c13687c0
* fixed problem using arraysshafer2005-09-151-2/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@670 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-156-48/+132
| | | | | | 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-157-71/+35
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@667 980ebf18-57e1-0310-9a29-db15c13687c0
* moving some testing and debugging aroundluke2005-09-152-23/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@666 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing non-netinfo groupluke2005-09-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@665 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-157-190/+177
| | | | | | support cron git-svn-id: https://reductivelabs.com/svn/puppet/trunk@663 980ebf18-57e1-0310-9a29-db15c13687c0
* preparations for supporting netinfo in usersluke2005-09-151-0/+27
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@662 980ebf18-57e1-0310-9a29-db15c13687c0
* switching groups back to having namevar be a parameter instead of a stateluke2005-09-152-18/+23
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@661 980ebf18-57e1-0310-9a29-db15c13687c0
* fileserver still has a bugshafer2005-09-141-30/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@660 980ebf18-57e1-0310-9a29-db15c13687c0
* added ignore to fileserver and pfileshafer2005-09-142-29/+63
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@659 980ebf18-57e1-0310-9a29-db15c13687c0
* adding cron stuff; it does not work at all yetluke2005-09-142-0/+195
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@658 980ebf18-57e1-0310-9a29-db15c13687c0
* adding globbing to importluke2005-09-143-58/+80
| | | | 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
* added ignore to pfileshafer2005-09-131-4/+50
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@654 980ebf18-57e1-0310-9a29-db15c13687c0
* adding example configsluke2005-09-132-0/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@653 980ebf18-57e1-0310-9a29-db15c13687c0
* tracked down some sticky bugs related to having false values and empty ↵luke2005-09-1310-400/+278
| | | | | | 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-135-170/+68
| | | | | | 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-132-25/+120
| | | | | | objects inside of components had dependencies from other components git-svn-id: https://reductivelabs.com/svn/puppet/trunk@650 980ebf18-57e1-0310-9a29-db15c13687c0