summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Setting both "report" to true by default; I am going to enable pluginsync by ↵luke2006-08-301-1/+1
| | | | | | default once I have plugins well-documented git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1520 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing array printing in to_manifestluke2006-08-301-1/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1519 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing service refreshing -- there was a problem persisting from the ↵luke2006-08-302-7/+6
| | | | | | provider work git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1518 980ebf18-57e1-0310-9a29-db15c13687c0
* downgrading the template interpolation messageluke2006-08-301-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1517 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding back in the code to change the euid. I removed this yesterday ↵luke2006-08-291-0/+1
| | | | | | because I thought it was redundant. It is absolutely clear that I need to add tests for running as separate users. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1516 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding automatic stacktrace printing to deverror. I need to go through and ↵luke2006-08-292-6/+16
| | | | | | remove the redundant puts in the rest of the code, but I need this now for some client debugging git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1515 980ebf18-57e1-0310-9a29-db15c13687c0
* disabling chuser on os x, since it is broken with < ruby 1.8.5luke2006-08-291-4/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1514 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing provider commands; I broke them when making them easier to documentluke2006-08-291-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1513 980ebf18-57e1-0310-9a29-db15c13687c0
* Skipping blank lines and comments in autosign.confluke2006-08-291-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1512 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing report lookup so it looks up by name, not methodluke2006-08-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1511 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing autosign mode to 644luke2006-08-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1510 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing tagmail config processing so it fails when appropriateluke2006-08-291-3/+11
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1509 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing reports error reportingluke2006-08-281-2/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1508 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing location of ca certluke2006-08-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1507 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing report autoloading; I was calling the wrong method, and they were ↵luke2006-08-282-27/+65
| | | | | | never getting loaded git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1506 980ebf18-57e1-0310-9a29-db15c13687c0
* Upgrading Triggering line from info to noticeluke2006-08-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1505 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a module specifically for making doc generation easier, and adding ↵luke2006-08-287-973/+1171
| | | | | | defaults info to provider docs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1504 980ebf18-57e1-0310-9a29-db15c13687c0
* Last commit of puppet docs for the nightluke2006-08-283-1334/+1182
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1503 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying providers so that docs generate betterluke2006-08-2811-59/+72
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1502 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding provider docs for required binariesluke2006-08-281-22/+22
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1501 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating generated docsluke2006-08-282-29/+142
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1500 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding pointer to templating docs into the file[content] documentationluke2006-08-281-6/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1499 980ebf18-57e1-0310-9a29-db15c13687c0
* adding notice that "$" is now required in definition prototypesluke2006-08-281-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1498 980ebf18-57e1-0310-9a29-db15c13687c0
* adding first draft of templating docluke2006-08-281-0/+85
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1497 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "configprint" option for printing out the local config stateluke2006-08-281-0/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1496 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a little more validation to the schedule, and documenting the source ↵luke2006-08-282-1/+26
| | | | | | search-path stuff in files git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1495 980ebf18-57e1-0310-9a29-db15c13687c0