summaryrefslogtreecommitdiffstats
path: root/lib/puppet/server
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Supporting puppetmasterd running as a non-root user, and doing some basic ↵luke2006-01-101-1/+4
| | | | | | message cleanup git-svn-id: https://reductivelabs.com/svn/puppet/trunk@798 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging changes from the head of the rework1 branch, r 784luke2006-01-082-3/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@787 980ebf18-57e1-0310-9a29-db15c13687c0
* Undoing the merge that happened in 785luke2006-01-072-12/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@786 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging in refactoring from version 774 into version 784luke2006-01-072-3/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@785 980ebf18-57e1-0310-9a29-db15c13687c0
* removing ruby shebang at the top of all of the filesluke2005-11-232-9/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@755 980ebf18-57e1-0310-9a29-db15c13687c0
* adding cfengine module, which required passing the cfengine classes all the ↵luke2005-11-171-0/+5
| | | | | | way through the stack to the scope git-svn-id: https://reductivelabs.com/svn/puppet/trunk@746 980ebf18-57e1-0310-9a29-db15c13687c0
* Lots of refactoring, and added the capture_stderr methodluke2005-11-162-37/+60
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@742 980ebf18-57e1-0310-9a29-db15c13687c0
* Further progress towards the next release. Lots of small bugs fixed, the ↵luke2005-11-011-3/+3
| | | | | | paths look much better now, and Transportable is much cleaner. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@740 980ebf18-57e1-0310-9a29-db15c13687c0