summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Adding blastwave packaging, and doing some fixes on gem and sun packagingluke2006-07-043-23/+163
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1356 980ebf18-57e1-0310-9a29-db15c13687c0
* Some updates resulting from trying to track down a segfault introduced when ↵luke2006-07-033-4/+14
| | | | | | I upgraded to 1.8.4-5 in Debian. I never found the segfault and had ot downgrade to 1.8.4-1. I expect it will not be encountered in real life, only in testing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1355 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding Ruby Gem support to packagingluke2006-07-032-44/+123
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1354 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding minimal update checking for templates. It will only check the ↵luke2006-07-032-63/+97
| | | | | | templates that have been parsed in this process, but it is better than nothing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1353 980ebf18-57e1-0310-9a29-db15c13687c0
* More report and metrics manipulations. This should be the last of it.luke2006-07-014-17/+53
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1351 980ebf18-57e1-0310-9a29-db15c13687c0
* Significantly redoing metrics. There are now no class variables for ↵luke2006-06-304-137/+34
| | | | | | metrics, nor no class methods for it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1350 980ebf18-57e1-0310-9a29-db15c13687c0
* oops; adding transaction report classluke2006-06-301-0/+40
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1348 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to merge metrics and reports. There is now a separate transaction ↵luke2006-06-308-100/+143
| | | | | | report class, and it works throughout the previously existing system. I will next go through trying to make a metric report that graphs the metrics in rrd. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1347 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a "thinmark" method, which does a simple benchmark with no loggingluke2006-06-301-2/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1346 980ebf18-57e1-0310-9a29-db15c13687c0
* Accepting patch #189, although I am just putting the environment statement ↵luke2006-06-301-0/+2
| | | | | | in the main part of the class, since there are two apt commands git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1345 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #133. Added a "notify" and a "before" metaparam; notify is the ↵luke2006-06-301-14/+93
| | | | | | opposite of subscribe, and before is the opposite of require. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1344 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix a small bug in mount where parsing fails if dump and pass are missing ↵lutter2006-06-301-30/+45
| | | | | | (they are optional on Linux) Revamp the tests slightly so that they parse fstabs provided in svn rather than relying on the fstab on the system the test is running on. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1343 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving the template handling into a simple wrapper object so templates don't ↵luke2006-06-302-21/+40
| | | | | | have full access to the scope object without some real hacking. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1342 980ebf18-57e1-0310-9a29-db15c13687c0
* adding some tests for the template functionluke2006-06-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1341 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding initial template support. It is just a function, and a ↵luke2006-06-292-1/+37
| | | | | | method_missing method on Scope. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1340 980ebf18-57e1-0310-9a29-db15c13687c0
* First commit of complete reporting support. The only existing report at ↵luke2006-06-298-12/+216
| | | | | | this point is the tagmail report. I expect reporting to get significantly modified from here, but it is a good start. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1339 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding reporting client, server, and tests. At this point, the server just ↵luke2006-06-292-0/+111
| | | | | | stores the report in a file as YAML. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1337 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding report collection to both statechange and transaction.luke2006-06-293-8/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1336 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.18.1luke2006-06-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1334 980ebf18-57e1-0310-9a29-db15c13687c0
* For each type, adding a "new<type>" method to Puppet::Type, so instead of ↵luke2006-06-281-3/+24
| | | | | | typing Puppet::Type.type(:file).create(...) you can now type Puppet::Type.newfile(...). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1331 980ebf18-57e1-0310-9a29-db15c13687c0
* Cleaning up plugin handling a bit -- they can now be colon-separated paths, ↵luke2006-06-284-34/+55
| | | | | | and I added a separate "plugindest" setting for determining where plugins are synchronized to. The major feature I added, though, is that Puppet::Type now knows how to load plugins, and treats :pluginpath as a search path for plugins. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1330 980ebf18-57e1-0310-9a29-db15c13687c0
* adding message about retrieving pluginsluke2006-06-281-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1328 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving the timer monitoring to after the services are created (because they ↵luke2006-06-281-11/+19
| | | | | | actually create the timers), and adding a sleep statement to give the threads enough time to create the timers. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1326 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing backgrounding in puppetrun; I had the bit flipped between the client ↵luke2006-06-281-5/+4
| | | | | | and the server, such that setting --foreground caused the clients to go into the background. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1325 980ebf18-57e1-0310-9a29-db15c13687c0
* Converting Parameter#proxymethods from using eval to using define_methodluke2006-06-271-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1324 980ebf18-57e1-0310-9a29-db15c13687c0
* Making sure fail function converts everything to stringsluke2006-06-271-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1323 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "fail" function, which will raise a ParseError if it is encountered.luke2006-06-271-0/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1322 980ebf18-57e1-0310-9a29-db15c13687c0
* Catching errors thrown during object evaluation and marking the objects as ↵luke2006-06-272-2/+17
| | | | | | failed. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1321 980ebf18-57e1-0310-9a29-db15c13687c0
* adding hooks for ignoring files in the plugins directory, and defaulting to ↵luke2006-06-271-2/+6
| | | | | | ignoring cvs and svn files git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1320 980ebf18-57e1-0310-9a29-db15c13687c0
* removing that info message, duh; it produces a lot of spurious output during ↵luke2006-06-271-1/+0
| | | | | | parsing git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1319 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding info messages about errors loading pluginsluke2006-06-271-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1318 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding support for special freebsd @schedule crap. Also making sure that ↵luke2006-06-271-40/+105
| | | | | | cron listing works as expected. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1317 980ebf18-57e1-0310-9a29-db15c13687c0
* Largely refactored how log destinations are handled, although it is not ↵luke2006-06-277-190/+340
| | | | | | exposed externally. Most of this work is related to handling a large number of small problems related to threading. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1315 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "latest" test for rpms, since I have been told this is not working. ↵luke2006-06-261-1/+1
| | | | | | It seems to be working fine, but the test cannot hurt. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1309 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding HUP and USR1 hooksluke2006-06-264-6/+98
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1308 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #178. I just added URI escaping and unescaping to file names.luke2006-06-202-2/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1307 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #175. The setpidfile setting was being ignored.luke2006-06-201-0/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1306 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #182. Added a retry section to try reconnecting to ldap. Only one ↵luke2006-06-201-1/+9
| | | | | | reconnect is attempted in a given search, and LDAP produces bad enough error messages that we reconnect regardless of the error thrown. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1305 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting pluginsync default to false, and (hopefully) fixing autosign problem ↵luke2006-06-202-9/+20
| | | | | | when the file exists and autosign is set to true (#180). The problem was that the puppetmasterd script was redundantly setting autosign in the CA, when the CA already knows how to deal with autosigning, which meant that autosign was being set before the config was parsed. Thus, there was no bug when autosign was set on the command line but there was when it was set in the config. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1304 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing broken symlink behaviour mentioned on the listluke2006-06-201-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1303 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding plugins and plugin management. The Master Client will now ↵luke2006-06-203-2/+70
| | | | | | automatically download plugins if pluginsync is enabled, and they will be automatically sourced. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1302 980ebf18-57e1-0310-9a29-db15c13687c0
* More documentation changes.luke2006-06-1910-38/+38
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1300 980ebf18-57e1-0310-9a29-db15c13687c0
* updating some docs and puppetdoc in preparation for a move to webgen instead ↵luke2006-06-172-8/+8
| | | | | | of plone git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1295 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing my autorequire fix; oopsluke2006-06-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1292 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing autorequire message to include the object typeluke2006-06-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1291 980ebf18-57e1-0310-9a29-db15c13687c0
* Delete entries from the config file if their should is 'absent'lutter2006-06-151-1/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1290 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding test and fix for empty execs being ignoredluke2006-06-151-3/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1288 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing interpreter to initialize ldap in the nodesearch_ldap method, which ↵luke2006-06-151-3/+5
| | | | | | really only matters for testing (since it is already being inited in the nodesearch method git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1287 980ebf18-57e1-0310-9a29-db15c13687c0
* making links even if the target does not existluke2006-06-142-17/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1286 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.18.0luke2006-06-141-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1285 980ebf18-57e1-0310-9a29-db15c13687c0