summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 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
* Removing the chdir from util.rb, I forgot that the directory often mattersluke2007-07-191-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2712 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully fixing #640, and maybe some warnings at the same time. I added a ↵luke2007-07-191-0/+2
| | | | | | call to Process.setsid after the fork, and I chdir'd to /. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2711 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix #696. (patch by Jason Kohles)lutter2007-07-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2710 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #716 -- the package type was considering anything that was not ↵luke2007-07-191-23/+4
| | | | | | "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
* Applying patch by DavidS to fix #711.luke2007-07-182-2/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2708 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #702, hopefully. As suggested, I switched to "mount" instead of "df" ↵luke2007-07-182-11/+5
| | | | | | to determine whether an fs is mounted. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2707 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #695 -- resource references will correctly serialize and unserialize ↵luke2007-07-183-10/+39
| | | | | | 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-12/+19
| | | | | | 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