summaryrefslogtreecommitdiffstats
path: root/bin/puppetmasterd
Commit message (Collapse)AuthorAgeFilesLines
* Fixing #796 -- the fileserver can now start with noLuke Kanies2007-11-271-12/+1
| | | | | | configuration file (it creates both default mount points if it does) and puppetmasterd no longer requires the configuration file to exist.
* Merge branch 'master' of git://michaelobrien.info/puppet into michaelLuke Kanies2007-10-091-0/+3
|\
| * All tests should now pass again.Luke Kanies2007-10-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the first real pass towards using caching. The `puppet` executable actually uses the indirection work, instead of handlers and such (and man! is it cleaner). Most of this work was a result of trying to get the client-side story working, with correct yaml caching of configurations, which means this commit also covers converting configurations to yaml, which was a much bigger PITA than it needed to be. I still need to write integration tests, and I also need to cover the server-side story of a normal configuration retrieval.
* | Moving the webrick/mongrel "servers" over to HTTPServer module instead of ↵Rick Bradley2007-10-051-4/+4
|/ | | | Server. Using Server as the master class for client connections. Server (former RESTServer) will instantiate the appropriate subclass based upon Puppet configurator setting. There are now tests broken in the network section which I can't seem to figure out yet. Not a happy place to be.
* Removing the Id tags from all of the filesLuke Kanies2007-10-031-1/+0
|
* Fixed #832. Added the '--no-daemonize' option to puppetd and puppetmasterd.Michael V. O'Brien2007-10-031-23/+14
| | | | | The default behavior of 'verbose' and 'debug' no longer cause puppetd and puppetmasterd to not daemonize.
* Renaming the 'Puppet::Util::Config' class toLuke Kanies2007-09-221-2/+2
| | | | | | | 'Puppet::Util::Settings'. This is to clear up confusion caused by the fact that we now have a 'Configuration' class to model host configurations, or any set of resources as a "configuration".
* Making sure that #686 is fixed -- I specifically included the Daemon module ↵luke2007-07-081-5/+6
| | | | | | in the Puppet mongrel server, and I call daemonize on the Puppet class, rather than the Mongrel http server git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2659 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving puppetd and puppetmasterd back to bin. Damn. Reverting the fix to #323.luke2007-06-151-0/+302
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2594 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #323 -- puppetd and puppetmasterd are now in sbin; packages still ↵luke2007-05-201-302/+0
| | | | | | need to be fixed git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2529 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #206 and #422. Executables will still look for the deprecated config ↵luke2007-05-061-3/+1
| | | | | | files and load them using the old parse method, but they now prefer a single configuration file, and files can set parameters (owner, mode, group) in brackets on the same line. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2464 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #574; puppetmasterd now exits with non-zero error code when there is ↵luke2007-04-261-0/+1
| | | | | | a failure git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2417 980ebf18-57e1-0310-9a29-db15c13687c0
* Putting the final touches on #144, most of which I had provided in the ↵luke2007-03-081-1/+5
| | | | | | mongrel work. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2266 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the webserver_portability branch from version 2182 to version 2258.luke2007-03-061-20/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2259 980ebf18-57e1-0310-9a29-db15c13687c0
* Moving all of the client and server code into a single network/ directory. ↵luke2007-02-081-4/+4
| | | | | | 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-7/+7
| | | | | | 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
* Moving the switch that disables the certificate authority into the main ↵luke2007-01-301-4/+5
| | | | | | library, so they can be disabled in the configuration file. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2118 980ebf18-57e1-0310-9a29-db15c13687c0
* updating docs with new location for reference infoluke2007-01-221-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@2074 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #346 -- on some scripts I accidentally used "feature" instead of ↵luke2006-11-161-1/+1
| | | | | | "features" git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1886 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #326 -- parseonly now just creates a simple Master without opening a portluke2006-11-091-5/+13
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1849 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging the code over from the oscar branch. I will now be doing all ↵luke2006-11-081-13/+1
| | | | | | 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
* Another round of bugfixing, including finding out that the tagmail report ↵luke2006-10-181-1/+1
| | | | | | was leaving zombie processes lying around git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1816 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #288.luke2006-09-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1641 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix trac #282 (Change URL to configref, mention --genconfig)lutter2006-09-191-2/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1630 980ebf18-57e1-0310-9a29-db15c13687c0
* Specifically rescuing Exception, since apparently the default does not ↵luke2006-09-151-1/+1
| | | | | | rescue LoadErrors and everything else git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1604 980ebf18-57e1-0310-9a29-db15c13687c0
* Catching all errors encountered during loading, not just LoadError, to fix ↵luke2006-09-141-1/+1
| | | | | | ongoing problems with rdoc/usage. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1593 980ebf18-57e1-0310-9a29-db15c13687c0
* More report and metrics manipulations. This should be the last of it.luke2006-07-011-0/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1351 980ebf18-57e1-0310-9a29-db15c13687c0
* First commit of complete reporting support. The only existing report at ↵luke2006-06-291-2/+19
| | | | | | 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
* changing the #!ruby lines to #!env rubyluke2006-06-291-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1338 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting pluginsync default to false, and (hopefully) fixing autosign problem ↵luke2006-06-201-2/+0
| | | | | | 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 some logging issues with puppetmasterd when daemonized with verbose ↵luke2006-06-141-9/+24
| | | | | | mode on, and fixing ldap support when daemonizing git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1276 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a lot of structure to puppet.rb to make it easier to manage multiple ↵luke2006-05-181-15/+10
| | | | | | | | 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
* Fixing the docs a bit for the executables, adding a --daemonize option to ↵luke2006-04-301-24/+34
| | | | | | puppetd and puppetmasterd so they can still be daemonized with debugging or verbosity enabled, and causing puppetd to fail to start if a PID file exists (and not setting a pid file if running with --onetime enabled). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1149 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #98. Filebuckets now work throughout the system, and the ↵luke2006-03-121-3/+3
| | | | | | puppetmasterd creates one by default. I have also updated the :backup docs, adding an example. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1012 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #68. After tons and tons and tons of work, everything successfully ↵luke2006-03-021-2/+9
| | | | | | configures itself, and the --genmanifest argument should actually work. User and group creation will not necessarily work everywhere (in particular, Puppet uses dependencies to create the group first, but Fedora complains on user creation if the group already exists), but file and directory creation should. The only downside is that there is a decent amount of extra information printed on daemon startup, as the daemon checks its config; this could maybe be seen as a bonus, though, I guess. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@966 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding TERM to the signals being trappedluke2006-02-241-3/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@945 980ebf18-57e1-0310-9a29-db15c13687c0
* removing the initial syslog dest settingluke2006-02-241-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@942 980ebf18-57e1-0310-9a29-db15c13687c0
* Change in how logging is defaulted: by default logs go to :syslog, unless ↵lutter2006-02-091-2/+0
| | | | | | the user explicitly gives at least one --logdest argument, in which case logs only go to the destinations the user gave. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@895 980ebf18-57e1-0310-9a29-db15c13687c0
* There is now full support for configuration files, and the entire system has ↵luke2006-02-071-143/+46
| | | | | | been modified to expect their new behaviour. I have not yet run the test across all test hosts, though. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@873 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some logging issuesluke2006-01-241-0/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@849 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a small checksumming bug, reorganizing the client stuff a bit, and ↵luke2006-01-181-0/+13
| | | | | | adding freshness checking for the configuration, so the config is recompiled every time nor is it downloaded unless it has been recompiled git-svn-id: https://reductivelabs.com/svn/puppet/trunk@845 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding Sun support and fixing the last remaining bugs related to the daemon ↵luke2006-01-111-4/+8
| | | | | | changes i just made git-svn-id: https://reductivelabs.com/svn/puppet/trunk@799 980ebf18-57e1-0310-9a29-db15c13687c0
* Supporting puppetmasterd running as a non-root user, and doing some basic ↵luke2006-01-101-0/+51
| | | | | | message cleanup git-svn-id: https://reductivelabs.com/svn/puppet/trunk@798 980ebf18-57e1-0310-9a29-db15c13687c0
* Central logging now works, although there appear to be a few kinks to work out.luke2005-10-281-21/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@732 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding logging methods to all Puppet::Element instances, and converting all ↵luke2005-10-261-0/+8
| | | | | | instance log statements to use those methods. Additionally modified logging to take advantage of this by including the path of the logging object in the output. Logs will still need some cleanup to avoid duplicate information. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@731 980ebf18-57e1-0310-9a29-db15c13687c0
* Made tweaks here and there to get it running better on my local network. I ↵luke2005-10-211-2/+0
| | | | | | am inches away from that happening. All tests pass. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@720 980ebf18-57e1-0310-9a29-db15c13687c0
* Many, many changes toward a completely functional system. The only current ↵luke2005-09-231-0/+10
| | | | | | problems with my home config are that apache's stupid init script does not do status and that packages are not working as non-root users (which makes sense). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@703 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, all tests pass again. The work done on nodes will take a little while ↵luke2005-09-221-0/+7
| | | | | | to clarify and such, but it should work pretty well. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@698 980ebf18-57e1-0310-9a29-db15c13687c0
* all tests now pass on solaris 10x86; i had to do some stupid hacking with ↵luke2005-09-071-1/+1
| | | | | | base64 for it to work, and i am working getting a much better base class for all test classes git-svn-id: https://reductivelabs.com/svn/puppet/trunk@635 980ebf18-57e1-0310-9a29-db15c13687c0
* correcting documentation on autosign in puppetmasterd, and switching the ↵luke2005-08-301-1/+6
| | | | | | autosign.conf file to use the same authstore as fileserver.conf git-svn-id: https://reductivelabs.com/svn/puppet/trunk@609 980ebf18-57e1-0310-9a29-db15c13687c0