summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Updated to version 0.19.0luke2006-09-061-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1574 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.0luke2006-09-061-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1573 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.0luke2006-09-061-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1572 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying the provider base class so that it defines a method for every used ↵luke2006-09-0621-228/+129
| | | | | | command (e.g., you call "commands :rpm => 'rpm'", and it defines an "rpm" method. I then pushed this throughout the package providers, which are the heaviest users of commands. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1571 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding aptitude support, including a new util::package module that provides ↵luke2006-09-0610-12/+64
| | | | | | a method for package version sorting, and a couple of smaller bug fixes. This fixes #237. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1570 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding hasrestart parameter to servicesluke2006-09-054-20/+24
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1569 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an "env" parameter to exec, for providing extra environment settings, ↵luke2006-09-054-3/+81
| | | | | | as requested in #236. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1568 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "withenv" execution util method, and using it in :exec for path ↵luke2006-09-054-36/+95
| | | | | | handling. Next will be other env handling. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1567 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #230. If the first line in the cron tab, before the header, starts ↵luke2006-09-051-2/+11
| | | | | | with TZ= then the header will be inserted after the TZ line. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1566 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing small bug in cron where removed fields are not deleted from the fileluke2006-09-053-10/+23
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1565 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding further gentoo support -- finalized portage support, plus conf and ↵luke2006-09-054-27/+66
| | | | | | init info for puppetd git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1564 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the Daemon module back into the Client class, which fixes #247.luke2006-09-053-0/+25
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1563 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an "ignoretags" attribute to transaction, and setting it for ↵luke2006-09-055-12/+17
| | | | | | downloading plugins or facts, and for creating config directories git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1562 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the ability to download facts from the central server. This allows ↵luke2006-09-052-35/+184
| | | | | | facts to be available before the configuration is compiled. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1561 980ebf18-57e1-0310-9a29-db15c13687c0
* A small fix to the install/update aspects of packaging.luke2006-09-053-30/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1560 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the package type so that :ensure is always used for version ↵luke2006-09-0511-57/+66
| | | | | | specification, rather than :version, which is now deprecated. This provides much more consistency. I have not tested on all platforms yet, but I want to enable testing on Gentoo, also. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1559 980ebf18-57e1-0310-9a29-db15c13687c0
* updating documentation for how to specify versionsluke2006-09-051-5/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1558 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying a patch from Jose Gonzalez Gomez; apparently this makes package ↵luke2006-09-051-1/+1
| | | | | | updating work git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1557 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding portage support again, since it was added in the branch i revertedluke2006-09-051-0/+124
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1556 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing all of the changes I made towards refactoring in the last couple of ↵luke2006-09-0553-3325/+1800
| | | | | | days. They have all been moved into the sync-retrieve-refactor branch. This branch will soon become 0.19.0, and will not include that refactoring. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1555 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing a small amount of work in cron. I have decided that this is too ↵luke2006-09-054-9/+913
| | | | | | last-minute, and not important enough to hold up the release. I want to get this refactoring done, but it is clearly not the 4 hour job I hoped it was. It will have to be in another release, I think. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1553 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing functional mount support. All that's left in this chunk of work ↵luke2006-09-0512-528/+628
| | | | | | is cron. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1552 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding first version of the portage provider, as contributed by Jose ↵luke2006-09-041-0/+124
| | | | | | Gonzalez Gomez git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1551 980ebf18-57e1-0310-9a29-db15c13687c0
* Ports now work with a providerluke2006-09-048-81/+285
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1550 980ebf18-57e1-0310-9a29-db15c13687c0
* Intermediate commit; ports are not working yetluke2006-09-036-342/+170
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1549 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing SSHKey support.luke2006-09-038-276/+152
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1548 980ebf18-57e1-0310-9a29-db15c13687c0
* Beginning the process of moving parsedtypes to a provider. Each parsedluke2006-09-0314-390/+836
| | | | | | | | | | | | | | | | | | type will have a parsedfile provider, which will be responsible for all of the file parsing and generation. This should allow us to create a useful DSL for file handling, but it also *drastically* simplifies these types. These types have always been a bit fragile, and it was never quite clear who was responsible for what. Now, with the type/provider split, everything is much clearer. I still need to convert host, sshkey, and mount, and something needs to be done with cron. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1547 980ebf18-57e1-0310-9a29-db15c13687c0
* This is the initial commit of the changes to sync and retrieve. Theluke2006-09-0325-325/+368
| | | | | | | | | | | | | structure itself is now in place, and a few of the types (the most complicated ones -- file, user, group, plus exec since it was my easy first test) have been converted. I'm now going to finish going through all of the types and finish chnaging them so that they don't produce any warnings. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1546 980ebf18-57e1-0310-9a29-db15c13687c0
* Renaming parsedfile to loadedfile, which makes much more sense and reduces ↵luke2006-09-037-13/+13
| | | | | | some naming conflicts git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1544 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding Gentoo support from #224.luke2006-09-036-0/+173
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1543 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding eat-last-line support in ERBluke2006-09-031-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1542 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding pre- and post-hooks, as requested in #233.luke2006-09-032-0/+34
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1541 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #239 -- missing checks now throw an ArgumentError. This will break ↵luke2006-09-032-0/+17
| | | | | | if any command purposefully returns 127, but that would be a bug anyway, I suppose. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1540 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for file purging, as requested in #250. Any unmanaged files ↵luke2006-09-032-1/+55
| | | | | | in a purge-enabled directory will be removed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1539 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "force" parameter in files to fix #242. Currently only used when ↵luke2006-09-033-3/+18
| | | | | | replacing directories with links, but should probably be used in other places. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1538 980ebf18-57e1-0310-9a29-db15c13687c0
* Specifying true/false allowed values for file[:replace].luke2006-09-032-2/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1537 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding logcheck script from #244.luke2006-09-031-0/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1536 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch from #251, and switching "confine" to "commands", so we can ↵luke2006-09-031-7/+13
| | | | | | document the command requirements. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1535 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding SuSE files from #252.luke2006-09-033-0/+514
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1534 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying the patch from #253 plus tests.luke2006-09-033-1/+55
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1533 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating templating docs with more about usage, and adding installation ↵luke2006-09-032-10/+23
| | | | | | notes about ruby segfaults on Debian git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1532 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding note about configprint, indicating what versions include itluke2006-09-031-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1531 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding zone patchesluke2006-09-031-2/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1530 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #257, where host aliases were not being retained. The problem was ↵luke2006-09-023-22/+48
| | | | | | that the "should" method was returning an empty array if it was not set, and it should instead return nil. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1529 980ebf18-57e1-0310-9a29-db15c13687c0
* batch of small bug fixesluke2006-09-024-3/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1527 980ebf18-57e1-0310-9a29-db15c13687c0
* Making sure that the svn bin directory is at the beginning of PATH, rather ↵luke2006-09-022-2/+4
| | | | | | that at the end, so the svn-versions of the exes are being tested. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1526 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing type/provider references on type removalluke2006-09-022-0/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1525 980ebf18-57e1-0310-9a29-db15c13687c0
* adding notes about the libruby deb packageluke2006-09-011-2/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1524 980ebf18-57e1-0310-9a29-db15c13687c0
* disabling reporting until i can find a way to make reporting only work with ↵luke2006-08-311-1/+1
| | | | | | puppetd, not puppet -- clearly puppet should not try to report git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1522 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the state so it tries to call provider methods and only checks for ↵luke2006-08-311-4/+4
| | | | | | errors, rather than checking with respond_to? git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1521 980ebf18-57e1-0310-9a29-db15c13687c0