summaryrefslogtreecommitdiffstats
path: root/lib/puppet/server
Commit message (Collapse)AuthorAgeFilesLines
...
* Significantly redoing metrics. There are now no class variables for ↵luke2006-06-301-0/+1
| | | | | | metrics, nor no class methods for it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1350 980ebf18-57e1-0310-9a29-db15c13687c0
* First commit of complete reporting support. The only existing report at ↵luke2006-06-291-5/+84
| | | | | | 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-291-0/+80
| | | | | | stores the report in a file as YAML. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1337 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
* Largely refactored how log destinations are handled, although it is not ↵luke2006-06-271-2/+1
| | | | | | 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
* Fixing #178. I just added URI escaping and unescaping to file names.luke2006-06-201-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1307 980ebf18-57e1-0310-9a29-db15c13687c0
* Setting pluginsync default to false, and (hopefully) fixing autosign problem ↵luke2006-06-201-8/+19
| | | | | | 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 #168. Reworked the regex to allow matching TLDs.luke2006-06-081-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1248 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a lot of structure to puppet.rb to make it easier to manage multiple ↵luke2006-05-181-0/+63
| | | | | | | | 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
* removing extraneous loggingluke2006-05-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1194 980ebf18-57e1-0310-9a29-db15c13687c0
* Preliminary commit of the first phase of the parser redesign. The biggest ↵luke2006-05-091-10/+10
| | | | | | difference is that overrides should now work for definitions (although i do not yet have a test case -- i will add one on the next commit). The way this is implemented is by having scopes translate themselves at eval time, but in two phases -- the first phase does the overrides, and the second phase does the evaluation of definitions and classes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1180 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the problem that lutter ran into; the issue seems to be that Facter ↵luke2006-05-041-2/+9
| | | | | | could not find the ipaddress on the server. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1173 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing log messagesluke2006-05-031-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1172 980ebf18-57e1-0310-9a29-db15c13687c0
* Puppetd now has an option for listening -- just run the --listen option, and ↵luke2006-04-282-1/+9
| | | | | | it will start up with a pelement server. It will fail to start if the authconfig file (defaulting to /etc/puppet/namespaceauth.conf) is missing, since it defaults to access at this point. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1148 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #128. md5lite was being used instead of full md5. At this point, ↵luke2006-04-281-5/+0
| | | | | | md5lite cannot be used for source copies. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1146 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding in all of the patches necessary to make a prototype rails interface ↵luke2006-04-283-25/+55
| | | | | | to puppet nodes work. The biggest change is that there is now a separate NetworkClient class for every Client subclass, because otherwise you get namespace collisions. Most everything other change is a relatively minor patch. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1145 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to track down the bugs reported this morning, so I added some more ↵luke2006-04-271-8/+8
| | | | | | test cases. I did find a bug in the filebuckets, fixed it, and added a test case. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1143 980ebf18-57e1-0310-9a29-db15c13687c0
* Final commit before 0.16.0luke2006-04-215-14/+243
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1129 980ebf18-57e1-0310-9a29-db15c13687c0
* Go some work started on developing authorization, but I have made little ↵luke2006-04-212-4/+85
| | | | | | progress. I might wait on this for the next point release. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1127 980ebf18-57e1-0310-9a29-db15c13687c0
* pelement listing now worksluke2006-04-201-1/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1126 980ebf18-57e1-0310-9a29-db15c13687c0
* Added a list class method to just about all types, and it seems to actually ↵luke2006-04-201-0/+7
| | | | | | work for everyone. Now just to add a list method to the pelement server. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1125 980ebf18-57e1-0310-9a29-db15c13687c0
* A simple first version of an object (called "pelement") server is now in ↵luke2006-04-201-0/+101
| | | | | | place. There is not yet a client, and the tests are pretty simple so far -- only files have been tested yet. I had to make a significant number of modifications to the file object in order to get this all to work, and one of the big changes I made is to the internals of the checksum state. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1123 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a bunch of small bugs, mostly found by testing on solaris, and added ↵luke2006-04-171-17/+5
| | | | | | a check to the test system that points out memory growth git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1113 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a few informative facts on the server side: serverversion, ↵luke2006-04-111-2/+14
| | | | | | servername, serverip. And only printing the parse time in the interpreter if it is not a local connection. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1102 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the puppet client version to the fact list as "clientversion"luke2006-04-111-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1101 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding simple benchmarking, and using it in a few of the more obvious ↵luke2006-04-101-15/+34
| | | | | | places. Also, fixed a bug in Scope#gennode. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1098 980ebf18-57e1-0310-9a29-db15c13687c0
* adding -e ability to puppet executableluke2006-04-041-9/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1065 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing authstore to use an array for ordering, rather than a hash, duh.luke2006-04-031-4/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1059 980ebf18-57e1-0310-9a29-db15c13687c0
* Added a test for Type#remove, and fixed the method so it actually works. I ↵luke2006-04-021-26/+23
| | | | | | was missing every other object, because i was iterating over the array being modified. This caused the Config stuff to often fail, because objects were not correctly being removed. All fixed now, though. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1053 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #98. Filebuckets now work throughout the system, and the ↵luke2006-03-121-5/+18
| | | | | | 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 some more logging issuesluke2006-03-061-1/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@989 980ebf18-57e1-0310-9a29-db15c13687c0
* Making some logging changes, and fixing a small bug in group management on ↵luke2006-03-061-2/+1
| | | | | | missing files git-svn-id: https://reductivelabs.com/svn/puppet/trunk@988 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing the last changes, for now, to handling links. You still cannot ↵luke2006-03-061-23/+65
| | | | | | copy remote links, but you can either ignore or follow them. I do not think we will be able to copy remote links until I have merged symlinks and files to be the same object type again. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@984 980ebf18-57e1-0310-9a29-db15c13687c0
* Switching from using "evaluate" to using "retrieve" when getting checksum ↵luke2006-03-031-6/+13
| | | | | | values, since retrieval is sufficient, and evaluate keeps printing messages about changes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@981 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing logging in the fileserver so it is always obvious where the logs are ↵luke2006-03-031-35/+50
| | | | | | originating, and fixing a bit of debugging elsewhere. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@980 980ebf18-57e1-0310-9a29-db15c13687c0
* Okay, Puppet is now almost entirely capable of configuring itself. I have ↵luke2006-03-021-10/+11
| | | | | | not yet added the extra tests to puppetmasterd to make sure it can start as a normal user, and the executables still fail some simple tests because they are producing output when they start (I will get rid of the output), but overall things look pretty good. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@965 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding metadata to defaultsluke2006-03-011-0/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@963 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing the setdefaults input format somewhat. It is always a hash of some ↵luke2006-03-011-1/+1
| | | | | | kind now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@962 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a connect log to the master serverluke2006-02-281-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@959 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing bug #72, where trailing slashes break file sourcingluke2006-02-241-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@944 980ebf18-57e1-0310-9a29-db15c13687c0
* removing extra error statementluke2006-02-231-6/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@936 980ebf18-57e1-0310-9a29-db15c13687c0
* There is now full support for configuration files, and the entire system has ↵luke2006-02-072-2/+2
| | | | | | 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
* Configuration parameters now require (and have) descriptions, and a set of ↵luke2006-02-071-1/+3
| | | | | | configuration parameters can be converted to a configuration file, a manifest, or a component. All I have to do now is integrate them into the executables. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@872 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing waitforcert so that the client can actually add the certs once it ↵luke2006-01-301-0/+8
| | | | | | receives them git-svn-id: https://reductivelabs.com/svn/puppet/trunk@856 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying docs, and adding scheduling hooksluke2006-01-201-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@846 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a small checksumming bug, reorganizing the client stuff a bit, and ↵luke2006-01-181-1/+21
| | | | | | 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
* Made lots of small changes, mostly to help usability but also fixed a couple ↵luke2006-01-181-0/+12
| | | | | | of key bugs git-svn-id: https://reductivelabs.com/svn/puppet/trunk@841 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing problems where objects were passing @parameters[:param] objects, ↵luke2006-01-171-1/+1
| | | | | | instead of specifically retrieving the value git-svn-id: https://reductivelabs.com/svn/puppet/trunk@835 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a bit better logging and checking to file accessluke2006-01-142-12/+14
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@826 980ebf18-57e1-0310-9a29-db15c13687c0
* Converting transport format to YAML instead of Marshal, and caching the file ↵luke2006-01-122-8/+37
| | | | | | in a YAML format, also. This required a significant rework of both Transportable classes. Lastly, I am also now caching the list of classes in a class file in /etc/puppet. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@816 980ebf18-57e1-0310-9a29-db15c13687c0