summaryrefslogtreecommitdiffstats
path: root/lib/puppet.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Switching the simpler features to a single file, so it is easier to add new ↵luke2007-04-301-0/+3
| | | | | | features git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2441 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #591 -- puppetd now correctly restarts itself when it receives a HUPluke2007-04-201-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2402 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.3luke2007-03-281-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2361 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.2luke2007-03-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2335 980ebf18-57e1-0310-9a29-db15c13687c0
* The basic plumbing for modules: a modulepath config parameter, and a newlutter2007-03-091-0/+1
| | | | | | | | | | class Puppet::Module that will contain the module-related functionality. The modulepath can be extended by setting the environment variable PUPPETLIB git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2276 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the webserver_portability branch from version 2182 to version 2258.luke2007-03-061-13/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2259 980ebf18-57e1-0310-9a29-db15c13687c0
* Print stacktrace in debug mode when catchign a signal - useful for ↵lutter2007-02-221-0/+2
| | | | | | understanding client hangs git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2221 980ebf18-57e1-0310-9a29-db15c13687c0
* Change Puppet.name to Puppet.execname so rails 1.2 won't freak out.shadoi2007-02-161-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2202 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving all of the client and server code into a single network/ directory. ↵luke2007-02-081-3/+3
| | | | | | In other words, more code structure cleanup. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2179 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving some of the stand-alone classes into the util/ subdirectory, to clean ↵luke2007-02-071-15/+15
| | | | | | up the top-level namespace a bit. This is a lot of file modifications, but most of them just change class names and file paths. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2178 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.1luke2007-02-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2152 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving code from external sources into an external/ directoryluke2007-01-301-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2119 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing info around newtype optionsluke2007-01-291-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2108 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.22.0luke2007-01-051-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2060 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to clean up how rails is loadedluke2006-12-291-3/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1989 980ebf18-57e1-0310-9a29-db15c13687c0
* New rails stuff redux.shadoi2006-12-141-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1925 980ebf18-57e1-0310-9a29-db15c13687c0
* Working some on the export/collect problem. It actually works now, but ↵luke2006-12-121-1/+3
| | | | | | there are not yet sufficient tests for it, so I will leave the bug open until we have got the new work in place. I also added a "rails" feature, so I do not have to keep testing whether ActiveRecord is defined. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1911 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.20.1luke2006-11-131-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1882 980ebf18-57e1-0310-9a29-db15c13687c0
* Temporarily reverting all of the recent rails work so that I can release 0.20.1luke2006-11-131-3/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1873 980ebf18-57e1-0310-9a29-db15c13687c0
* Mostly small changes toward 0.20.1luke2006-11-101-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1852 980ebf18-57e1-0310-9a29-db15c13687c0
* Rails stuff part 1shadoi2006-11-091-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1837 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the code over from the oscar branch. I will now be doing all ↵luke2006-11-081-1/+8
| | | | | | development in the trunk again, except for larger changes, which will still get their own branch. This is a merge of the changes from revision 1826 to revision 1834. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1835 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.20.0luke2006-10-181-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1820 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #291 -- the problem was that instead of throwing an error on a ↵luke2006-10-161-6/+6
| | | | | | missing server, puppet was just exiting. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1785 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving all of the configuration parameters out of puppet.rb into ↵luke2006-10-161-156/+2
| | | | | | puppet/configuration.rb, and adding a PATH setting as requested in #307, although it does not include a default. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1784 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #305 -- logs now reopen when Puppet restarts, and there is also now ↵luke2006-10-091-0/+6
| | | | | | an autoflush mechanism available so logs will flush to disk immediately. I also now trap USR2 and reopen logs when it is sent, so if you just want to reopen logs you do not have to restart the whole process. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1750 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the changes from the override-refactor branch. This is a ↵luke2006-10-041-0/+1
| | | | | | significant rewrite of the parser, but it has little affect on the rest of the code tree. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1726 980ebf18-57e1-0310-9a29-db15c13687c0
* Renaming logfacility to syslogfacility as recommended by lutter.luke2006-10-041-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1725 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding configurability to the syslog facility, using the "logfacility" ↵luke2006-10-041-0/+3
| | | | | | parameter. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1724 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating changelog for 0.19.3, and merging the version changes over.luke2006-09-221-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1680 980ebf18-57e1-0310-9a29-db15c13687c0
* + Puppet::SUIDManager - This replaces all calls to the built-in ruby ↵erikh2006-09-221-1/+2
| | | | | | | | | | | '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
* 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
* Add config option 'node_name' to control what puppetmaster considers the ↵lutter2006-09-181-1/+7
| | | | | | 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
* 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
* Adding a :trace config option that prints stack traces of DevErrors, and ↵luke2006-09-131-0/+1
| | | | | | using that in DevError instead of :debug git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1583 980ebf18-57e1-0310-9a29-db15c13687c0
* 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
* 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 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
* Making some of the metaprogramming a bit more explicit and a bit easier to ↵luke2006-08-201-35/+3
| | | | | | | | manage. In the process, I have created multiple Util modules, only one of which is used for this current commit. The main work in this commit is that I created a single, common method for dynamically creating classes and moved all of the Class.new users to using this class. It handles a lot of the complexity for me, and most of the users have just a couple of lines of code, now, instead of tens. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1473 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.18.4luke2006-07-221-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1426 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.18.3luke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1395 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.18.2luke2006-07-041-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1365 980ebf18-57e1-0310-9a29-db15c13687c0
* Significantly redoing metrics. There are now no class variables for ↵luke2006-06-301-5/+0
| | | | | | metrics, nor no class methods for it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1350 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
* 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
* Largely refactored how log destinations are handled, although it is not ↵luke2006-06-271-1/+6
| | | | | | 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 HUP and USR1 hooksluke2006-06-261-4/+61
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1308 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
* Updated to version 0.17.2luke2006-05-191-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1219 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a lot of structure to puppet.rb to make it easier to manage multiple ↵luke2006-05-181-4/+112
| | | | | | | | objects in a single process, including making it easy to add threads. Added some testing for all of that. Also added a "runner" server, meant to be started within puppetd, so that clients can have runs triggered from a central host git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1212 980ebf18-57e1-0310-9a29-db15c13687c0