summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Adding some test reportsluke2006-09-222-0/+216
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1667 980ebf18-57e1-0310-9a29-db15c13687c0
* + Puppet::SUIDManager - This replaces all calls to the built-in ruby ↵erikh2006-09-2231-156/+215
| | | | | | | | | | | 'Process' library for uid/gid/euid/egid operations, including (not surprisingly) Puppet::Util#asuser and a method to run commands and capture output. This is due to many inconsistencies (through bugfixes) between ruby versions in the 1.8.x branch. This is included in the core puppet library and can be used by all puppet types and providers. ! Modified Puppet::Util#uid to check (and warn) if passed a nil value. ! Changes to use Puppet::SUIDManager instead of Process and relevant Puppet::Util calls. ! Removed Puppet::Util#asuser. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1666 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating CHANGELOG for 0.19.2luke2006-09-221-0/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1665 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.2luke2006-09-221-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1663 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.2luke2006-09-221-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1662 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.2luke2006-09-221-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1661 980ebf18-57e1-0310-9a29-db15c13687c0
* As requested by Christian Warden, triggering an object now results inluke2006-09-224-14/+53
| | | | | | | | an event, which can result in further triggers. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1660 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding some error handling for when a non-existent report is asked for, and ↵luke2006-09-212-11/+43
| | | | | | adding a bit more testing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1659 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding trace information to autoload.rbluke2006-09-211-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1658 980ebf18-57e1-0310-9a29-db15c13687c0
* Switching Autoload#loadall from using "load" to using "require", so it will ↵luke2006-09-213-6/+12
| | | | | | not reload already-loaded files. Also updating the checksum docs a bit. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1657 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing error in tagmail when there are no messages to reportluke2006-09-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1655 980ebf18-57e1-0310-9a29-db15c13687c0
* 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