summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Committing functional mount support. All that's left in this chunk of work ↵luke2006-09-057-302/+310
| | | | | | 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-046-34/+187
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1550 980ebf18-57e1-0310-9a29-db15c13687c0
* Intermediate commit; ports are not working yetluke2006-09-032-261/+130
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1549 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing SSHKey support.luke2006-09-035-224/+65
| | | | 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-039-321/+530
| | | | | | | | | | | | | | | | | | 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-0321-308/+350
| | | | | | | | | | | | | 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 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-031-0/+8
| | | | 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-031-0/+5
| | | | | | 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-031-1/+20
| | | | | | 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-032-2/+9
| | | | | | 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
* 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
* Applying the patch from #253 plus tests.luke2006-09-032-1/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1533 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-022-22/+33
| | | | | | 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-022-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1527 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
* 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-281-27/+23
| | | | | | 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-285-13/+47
| | | | | | defaults info to provider docs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1504 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 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 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
* Tracking down some weird bugs that managed to creep into the parser. I ↵luke2006-08-286-254/+267
| | | | | | expect that the main ones were a result of the If support. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1494 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing some changes to the %h expansion in fileserving. This change ↵luke2006-08-282-100/+111
| | | | | | makes the expansion entirely isolated in the Mount class, which makes it much easier to test. Also, switched the fileserver config to use ParsedFile, which makes it a bit easier to understand and handle reparsing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1493 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing the other half of the fix for #231; oopsluke2006-08-281-0/+20
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1492 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #231.luke2006-08-281-9/+19
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1491 980ebf18-57e1-0310-9a29-db15c13687c0
* Support for %h and %H replacement in the path of fileserver modules.lutter2006-08-261-5/+45
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1490 980ebf18-57e1-0310-9a29-db15c13687c0
* Demoting the xmlrpc access logs to debug from infoluke2006-08-251-4/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1489 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing permissions on the cert file and the ca cert file, since it is no ↵luke2006-08-251-2/+2
| | | | | | problem for them to be readable and sometimes it is required git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1488 980ebf18-57e1-0310-9a29-db15c13687c0
* Try this; seems to work for machines with both ActiveSupport installed and ↵lutter2006-08-251-7/+0
| | | | | | not. MissingSourceFile is an AS thing, though it subclasses LoadError. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1487 980ebf18-57e1-0310-9a29-db15c13687c0