summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
| * | The first pass where at least all of the snippet tests pass. I have ↵Luke Kanies2007-08-2012-416/+336
| | | | | | | | | | | | unfortunately had to stop being so assiduous in my rewriting of tests, but I am in too much of a time crunch to do this "right". The basic structure is definitely in place, though, and from here it is a question of making the rest of the tests work and hopefully writing some sufficient new tests, rather than making the code itself work.
| * | The new parser configuration object works now,Luke Kanies2007-08-166-564/+461
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | but the rest of the compiling process is hosed (although the parser itself should still be fine). The configuration object is unifying a lot of work that was scattered around either the interpreter or the scopes, and it simplifies the whole system. However, its new simplicity has made the complexity of the rest of the system that much more apparent, and I am resolved to fixing the system rather than hacking it sufficiently to just make it work.
| * | Adding node caching, so that node sources are not spammed during file ↵Luke Kanies2007-08-151-0/+23
| | | | | | | | | | | | serving and such
| * | Keeping the node names in the node object, so that they are available to the ↵Luke Kanies2007-08-151-1/+2
| | | | | | | | | | | | interpreter
| * | Refactoring a small part of the interface between the configuration handler ↵Luke Kanies2007-08-151-4/+6
| | | | | | | | | | | | and the interpreter.
| * | The new configuration handler looks to be ready for usage. Now I just need ↵Luke Kanies2007-08-152-158/+134
| | | | | | | | | | | | 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-10/+10
| | |
| * | Adding a "none" node source, which will be the default node source and will ↵Luke Kanies2007-08-152-1/+13
| | | | | | | | | | | | just return an empty node.
| * | Finalizing the node handler. It now correctly uses the different node sourcesLuke Kanies2007-08-145-181/+148
| | | | | | | | | | | | | | | 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-1410-347/+859
| |/ | | | | | | | | | | | | | | 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.
* / Fixing documentation string on the file "ensure" property to remove the ↵Luke Kanies2007-08-141-5/+5
|/ | | | confusing mention of "exists"
* Applying patch by Adam Jacob to make external node tools able to handle ↵Luke Kanies2007-08-131-2/+7
| | | | command-line arguments
* Actually honour :namevar => true on newparam calls(no author)2007-08-121-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2769 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing extraneous debugging from crontabluke2007-08-103-14/+38
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2768 980ebf18-57e1-0310-9a29-db15c13687c0
* trac #763: Make redhat provider default for CentOS (patch by jtimberman)lutter2007-08-091-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2764 980ebf18-57e1-0310-9a29-db15c13687c0
* Constants in provider/interface/redhat.rb are getting redifined as they are ↵christian2007-08-091-13/+13
| | | | | | dynamically assigned, changing them to instance variables git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2762 980ebf18-57e1-0310-9a29-db15c13687c0
* Changes to lib/ corresponding to test refactoring from r2759, was unaware ↵christian2007-08-092-45/+27
| | | | | | that subversion only commited in the CWD git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2761 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix the ral:providers:host:parsed tests so they run successfully(no author)2007-08-092-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2757 980ebf18-57e1-0310-9a29-db15c13687c0
* The last set of bug-fixes before the next release. This commit just fixes a ↵luke2007-08-075-7/+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-062-1/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2752 980ebf18-57e1-0310-9a29-db15c13687c0
* Copying the "commands" and "confine" statements to the actual dscl ↵luke2007-08-062-6/+8
| | | | | | providers, since they need to be there to determine where the providers are suitable. Otherwise base classes could unnecessarily affect how subclasses work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2751 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #749 -- environment settings no longer accumulate. Significantly ↵luke2007-08-064-38/+56
| | | | | | 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
* Removing the code from #745 until it can pass some basic testsluke2007-08-052-69/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2749 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding syslog support by devdas (#745).luke2007-08-052-0/+69
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2748 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #751 -- the interface providers now have basic tests, at least to ↵luke2007-08-053-105/+132
| | | | | | 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-1/+1
| | | | 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-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2745 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a file that should have been in a commit from yesterdaluke2007-08-041-0/+447
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2744 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #735 -- gen_config now uses a single heading, matching the name of ↵luke2007-08-042-5/+11
| | | | | | 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-037-671/+60
| | | | | | | | | | | | | | | 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
* Apply fix for typo provided by Toshio Kuratomi (bz250870)lutter2007-08-031-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2741 980ebf18-57e1-0310-9a29-db15c13687c0
* Removed stray debugger method.mccune2007-08-031-4/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2740 980ebf18-57e1-0310-9a29-db15c13687c0
* DirectoryService provider for users and groups. Alternative to netinfo, as ↵mccune2007-08-033-0/+481
| | | | | | | | apple has indicated NetInfo may go away at some point in the future. It might happen in October. FIXME: implement groups and groups= instances methods for Puppet::Type::User::ProviderDirectoryservice git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2739 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #734. The problem was that when I switched how the configs were ↵luke2007-08-031-1/+5
| | | | | | 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
* Renaming the linux interface provider to redhatluke2007-08-031-46/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2737 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch by stick to the linux interface providerluke2007-08-031-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2736 980ebf18-57e1-0310-9a29-db15c13687c0
* Undo previous commit, which was an errorlutter2007-08-031-24/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2735 980ebf18-57e1-0310-9a29-db15c13687c0
* Do not set any options if they aren't set in /etc/sysconfig/puppetmaster - ↵lutter2007-08-031-5/+24
| | | | | | otherwise we clobber settings from puppet.conf git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2734 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding interface implementations, as written by Paul Roseluke2007-07-313-0/+440
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2732 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the requirement that the cert dn have /CN= in it, thus hopefully ↵luke2007-07-301-1/+1
| | | | | | catching clients without certs git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2728 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying a modification of the patch from Marcin Owsiany, allowing Mongrel ↵luke2007-07-301-1/+1
| | | | | | to be a CA git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2727 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #726 -- mounts can now correctly handle mounted but absent filesystems.luke2007-07-201-2/+14
| | | | 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/+22
| | | | | | 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
* Attempting to clean up the mount documentation as in #727.luke2007-07-201-8/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2721 980ebf18-57e1-0310-9a29-db15c13687c0
* Caching whether a given file or module has been loaded, because the loading ↵luke2007-07-201-7/+12
| | | | | | was greedy and was causing files to get loaded every time a class or module was asked for git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2720 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the mail aliases generated by the mailman list provider; it was ↵luke2007-07-201-2/+3
| | | | | | generating capitalized list names git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2719 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #725. I was apparently not deleting the alias I was creating to the ↵luke2007-07-191-5/+14
| | | | | | components. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2718 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully fixing #720 -- I added tests and a lame back-off system to give ↵luke2007-07-191-3/+24
| | | | | | the child process time to write git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2717 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the ability to specify relationships to classes, using Class[name] ↵luke2007-07-192-3/+15
| | | | | | 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-193-3/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2714 980ebf18-57e1-0310-9a29-db15c13687c0