summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Disabling a test on solaris, since apparently sh on solaris is different ↵luke2006-09-211-0/+2
| | | | | | than everywhere else git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1654 980ebf18-57e1-0310-9a29-db15c13687c0
* Small test fixes in preparation for 0.19.2luke2006-09-212-6/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1653 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding class list method to group. Also added a test to verify every type ↵luke2006-09-212-7/+23
| | | | | | responds to "list", but it does not pass right now so it is disabled. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1652 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an Autoload instance to Type.rb so that I can load all known types ↵luke2006-09-214-11/+40
| | | | | | for documentation purposes. And, of course, loading all types in puppetdoc. Also updating zone.rb to fix markdown's stupidity in trying to interpret the ERB template, and adding some timeouts to puppettest.rb git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1651 980ebf18-57e1-0310-9a29-db15c13687c0
* more fixes to the zone examplesluke2006-09-211-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1650 980ebf18-57e1-0310-9a29-db15c13687c0
* doc updatesluke2006-09-212-986/+1218
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1649 980ebf18-57e1-0310-9a29-db15c13687c0
* Doc updatesluke2006-09-212-5/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1648 980ebf18-57e1-0310-9a29-db15c13687c0
* Typo: As stood had "remove" for "remote"ajax2006-09-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1647 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #245, opened by marthag.luke2006-09-211-3/+3
| | | | | | | | | Every other executable parsed the config file before calling genconfig, but puppetd reversed it for some reason. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1646 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #278, opened by Digant, with patch.luke2006-09-212-12/+36
| | | | | | | | Tagmail now supports negating tags with '!'. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1645 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #274. I just set :ensure to be :link when :target is set.luke2006-09-212-0/+20
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1644 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #283, opened by luke.luke2006-09-212-1/+32
| | | | | | | | | I now always set the owner and group to Process.uid and Process.gid, respectively. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1643 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #285, opened by ericb.luke2006-09-213-9/+40
| | | | | | | | | The problem here was that I was not escaping URIs throughout the chain, which I am now doing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1642 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #288.luke2006-09-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1641 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #293, I think. The problem was that the groups state was not ↵luke2006-09-212-13/+18
| | | | | | correctly passing strings in all cases, which caused some very strange problems internally. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1640 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixed a minor typoajax2006-09-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1639 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #292 (A bug in tagmail that causes any tag other than 'all' to fail)luke2006-09-207-6/+71
| | | | | | | | | | | | | | | and #277 (tagmail report missing To: header). #292 was weird because the messages just didn't have the tags at all. The problem was that states didn't have tags, yet states were the source of nearly all messages. So, I added tags to the states, and included the state name in the tag list. Also, types were not including the type name in the tag list, so I added that. And, of course, a few unit tests to check it all. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1638 980ebf18-57e1-0310-9a29-db15c13687c0
* adding an extra make target for debugging, rather than defaulting to always ↵luke2006-09-202-2/+5
| | | | | | creating the debug file git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1637 980ebf18-57e1-0310-9a29-db15c13687c0
* Rake::TestTasks were running the test suite inadvertantly against the ↵erikh2006-09-201-3/+4
| | | | | | installed tree instead of the development tree due to a botched "libs" setting. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1636 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing provider commands and Util#execute so they always include the command ↵luke2006-09-193-12/+43
| | | | | | output when possible, as mentioned on the list git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1635 980ebf18-57e1-0310-9a29-db15c13687c0
* Regenerating docs, and correcting some markup mistakesluke2006-09-194-1130/+1020
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1634 980ebf18-57e1-0310-9a29-db15c13687c0
* Small update to the fileserver tests; it was apparently not making some test ↵luke2006-09-191-1/+2
| | | | | | dirs correctly git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1633 980ebf18-57e1-0310-9a29-db15c13687c0
* Converting to using the Rakefile for testing. The old 'test' script isluke2006-09-1997-2170/+263
| | | | | | | | | | | | | now deprecated, and I'll send an email to the dev list and update the docs to reflect that. This still isn't the final solution, because the module structure is a bit weird, but at least it's a starting point, and everything from here on out is small changes, as opposed to large architectural changes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1632 980ebf18-57e1-0310-9a29-db15c13687c0
* Reworking test/lib structure a bit, and renaming all of the files so that ↵luke2006-09-1915-856/+859
| | | | | | their file names match their module names git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1631 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix trac #282 (Change URL to configref, mention --genconfig)lutter2006-09-195-7/+23
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1630 980ebf18-57e1-0310-9a29-db15c13687c0
* Small modification so i can make more changesluke2006-09-192-1277/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1629 980ebf18-57e1-0310-9a29-db15c13687c0
* updating changes from the trunkluke2006-09-192-3/+50
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1628 980ebf18-57e1-0310-9a29-db15c13687c0
* going through all of the other providers and making sure any reference to a ↵luke2006-09-196-13/+7
| | | | | | state uses the :should value, not the :is value. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1627 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing case of silly states on os x, where files are owned by "nobody" and ↵luke2006-09-192-1/+20
| | | | | | File.stat returns a huge number. I thought i had already fixed this, but apparently not. I added a test, and it is definitely fixed now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1626 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the same bug in the netinfo provider -- it was retrieving the "is" ↵luke2006-09-193-13/+11
| | | | | | value instead of the "should" value git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1625 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #280; added a warning and exiting if no hosts are specified to cleanluke2006-09-191-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1624 980ebf18-57e1-0310-9a29-db15c13687c0
* applying patch from #275. aptitude -q works fine on my testing release, but ↵luke2006-09-191-1/+2
| | | | | | apparently stable does not support it git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1623 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing the no-longer-necessary type/nameservice info -- it is all in the ↵luke2006-09-198-692/+12
| | | | | | provider tree now git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1622 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to fix a bug where files other than site.pp do not get noticed for ↵luke2006-09-196-79/+146
| | | | | | reparsing git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1621 980ebf18-57e1-0310-9a29-db15c13687c0
* Add config option 'node_name' to control what puppetmaster considers the ↵lutter2006-09-183-13/+42
| | | | | | proper name of a client (name in the SSL cert or name uploaded with facter) Default to name from the cert git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1620 980ebf18-57e1-0310-9a29-db15c13687c0
* Better documentation around certificate revocation and mgmtlutter2006-09-183-4/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1619 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.1luke2006-09-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1618 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.1luke2006-09-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1617 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.1luke2006-09-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1616 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating changelog for 0.19.1luke2006-09-151-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1615 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding testing for the default? method, and fixing it to support arrays and ↵luke2006-09-152-6/+40
| | | | | | returning false when no defaults are specified git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1614 980ebf18-57e1-0310-9a29-db15c13687c0
* Using the "trace" configuration parameter to determine whether a stack trace ↵luke2006-09-1528-56/+43
| | | | | | should be printed, rather than just using "debug". I added the param a little while ago and was using it internally in Puppet::DevError, but I just now went through the whole configuration and switched to using it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1613 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding patch from #235luke2006-09-152-39/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1612 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing docs, as mentioned in #271.luke2006-09-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1611 980ebf18-57e1-0310-9a29-db15c13687c0
* Reverting the work done in [1605] and [1606]. I have added it as a patch in ↵luke2006-09-158-953/+598
| | | | | | #271. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1610 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the feature from #259. I had to rework the Scope#lookupvar a bit, ↵luke2006-09-152-4/+53
| | | | | | but everything now works as expected when variables are either undefined or set to empty strings. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1609 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch in #160.luke2006-09-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1608 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #262. I somehow lost the line that only added a given user's jobs to ↵luke2006-09-153-4/+29
| | | | | | each tab. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1607 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing a test in the parser that is no longer necessary because of how ↵luke2006-09-152-17/+2
| | | | | | imports work now, and fixing a snippet not to interfere with a local fact git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1606 980ebf18-57e1-0310-9a29-db15c13687c0
* This commit adds two important features (but which probably were notluke2006-09-158-583/+953
| | | | | | | | | | | | | | | | | | | | | | | worth the priority I suddenly placed on them). First, it adds search paths as I originally requested in #114. There is now a 'lib' setting, which can be used to tell Puppet where to find manifests. Any file you tell Puppet to parse will have its directory automatically added to the lib path. Also, Puppet will check the PUPPETLIB environment variable for further directories to search. Second, it converts the 'import' mechanism into a normal function, which means that you can now use variables and what-have-you in it. Of course, this function uses the lib mechanism. This is something that's always bothered me about the language, and having it fixed means you can do simple things like have custom code in the top scope for each operating system and then do "import os/$operatingsystem" to evaluate that code. Without this, you would either need a huge case statement or the code would need to be in a class, which often isn't sufficient. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1605 980ebf18-57e1-0310-9a29-db15c13687c0