summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* adding a few more fields to the host tableluke2006-05-131-0/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1188 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding initial rails support. One can now store host configurations using ↵luke2006-05-1310-25/+389
| | | | | | ActiveRecord into a database (I have only tested sqlite3). Tomorrow will be the grammars used to retrieve those records for object collection. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1187 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding some small changes towards fixing #140 and #83, but this work needs ↵luke2006-05-138-30/+146
| | | | | | to take a back seat to object collection, so i will come back to it later. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1186 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #141. It was a problem related to the recent parser changes I made.luke2006-05-127-55/+163
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1185 980ebf18-57e1-0310-9a29-db15c13687c0
* removing some extraneous loggingluke2006-05-121-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1184 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating doc system to add the list of valid values to the doc string, and ↵luke2006-05-107-19/+74
| | | | | | tweaking a few docs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1183 980ebf18-57e1-0310-9a29-db15c13687c0
* Slight modifications to package parsing on *bsd. It should be better about ↵luke2006-05-091-5/+6
| | | | | | catching the version number, and unparseable lines are now just warnings, not errors. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1182 980ebf18-57e1-0310-9a29-db15c13687c0
* It is just a snippet test, and thus a functional test but not a coverage ↵luke2006-05-092-0/+23
| | | | | | test, but definition overrides officially work. This was important because it enables definitions to be collectable, which was not possible without the mechanism that enables this. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1181 980ebf18-57e1-0310-9a29-db15c13687c0
* Preliminary commit of the first phase of the parser redesign. The biggest ↵luke2006-05-097-172/+261
| | | | | | 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
* making a test to verify that the functionality womble is looking for now worksluke2006-05-051-0/+29
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1179 980ebf18-57e1-0310-9a29-db15c13687c0
* Making trigger logs much clearer -- you now get info logs indicating how ↵luke2006-05-053-8/+61
| | | | | | many dependencies changed, and debug logs indicating what those dependencies are git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1178 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing how events work. Events are now responded to inline, while an ↵luke2006-05-056-132/+234
| | | | | | object is being applied. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1177 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing default for pattern to include the binary if it is includedluke2006-05-041-1/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1176 980ebf18-57e1-0310-9a29-db15c13687c0
* require the very latest facter to avoid problems because facter changed ↵lutter2006-05-041-1/+4
| | | | | | iphostnumber to ipaddress git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1175 980ebf18-57e1-0310-9a29-db15c13687c0
* Small bug fixesluke2006-05-043-3/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1174 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
* fixing log messagesluke2006-05-031-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1171 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.16.5luke2006-05-031-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1169 980ebf18-57e1-0310-9a29-db15c13687c0
* updating changelog for 0.16.5luke2006-05-031-0/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1168 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing a stupid bug i managed to introduce in 0.16.2 (probably) involving ↵luke2006-05-038-44/+209
| | | | | | importing files with classes in them. This is a better solution than what I had before the bug, anyway. Also, some documentation fixes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1167 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing some naming problems with crons, and adding appropriate testsluke2006-05-032-16/+38
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1166 980ebf18-57e1-0310-9a29-db15c13687c0
* Allowing dashes in class names, although grammar rules restrict it from ↵luke2006-05-023-4/+4
| | | | | | working anywhere except node names or in tag(). They are valid in host names, and many companies have them in the host names; in fact, this fix is for a company with this exact problem -- they cannot use puppet with their nodes because all their hosts have dashes in the host names. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1165 980ebf18-57e1-0310-9a29-db15c13687c0
* Switching to just using "preserve" for file copying in file#handlebackupsluke2006-05-021-5/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1164 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.16.4luke2006-05-021-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1162 980ebf18-57e1-0310-9a29-db15c13687c0
* updating changelog for 0.16.4luke2006-05-021-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1161 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #132, which involved creating a separate CA client and using it to ↵luke2006-05-027-42/+49
| | | | | | retrieve the certificates. There was more work to do because of the weird client/daemon/server heirarchy. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1160 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.16.3luke2006-05-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1158 980ebf18-57e1-0310-9a29-db15c13687c0
* updating changelogluke2006-05-011-0/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1157 980ebf18-57e1-0310-9a29-db15c13687c0
* Bug fixes from OS X for 0.16.3luke2006-05-017-6/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1156 980ebf18-57e1-0310-9a29-db15c13687c0
* Hopefully final bug fixes in preparation for 0.16.3luke2006-04-303-2/+16
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1155 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing tests looking for pmapluke2006-04-301-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1154 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing TransObject#to_type so that it does not modify the object being convertedluke2006-04-301-15/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1153 980ebf18-57e1-0310-9a29-db15c13687c0
* Changing test for service paths; only testing if it is a directory if it is ↵luke2006-04-301-5/+7
| | | | | | present. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1152 980ebf18-57e1-0310-9a29-db15c13687c0
* Added some code that could be used later to make sure the user and mode are ↵luke2006-04-302-2/+16
| | | | | | also copied on backups. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1151 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a check to make sure the mode is copied over.luke2006-04-301-1/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1150 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the docs a bit for the executables, adding a --daemonize option to ↵luke2006-04-304-61/+127
| | | | | | 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
* Puppetd now has an option for listening -- just run the --listen option, and ↵luke2006-04-286-40/+120
| | | | | | 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
* Making file copying significantly faster -- i found an extra call to ↵luke2006-04-284-20/+44
| | | | | | "describe" in file sources and an extra read/checksumming of the dest file git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1147 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #128. md5lite was being used instead of full md5. At this point, ↵luke2006-04-284-7/+36
| | | | | | 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-2815-87/+231
| | | | | | 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
* Adding in all of the patches necessary to make a prototype rails interface ↵luke2006-04-282-2/+101
| | | | | | 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@1144 980ebf18-57e1-0310-9a29-db15c13687c0
* Trying to track down the bugs reported this morning, so I added some more ↵luke2006-04-279-106/+99
| | | | | | 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
* updating changelog for 0.16.1 and 0.16.2luke2006-04-262-1/+15
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1141 980ebf18-57e1-0310-9a29-db15c13687c0
* adding "clean" mode to puppetcaluke2006-04-263-9/+47
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1140 980ebf18-57e1-0310-9a29-db15c13687c0
* This should have been in 0.16.1. Moving the "setclass" statements around so ↵luke2006-04-267-15/+30
| | | | | | that classes are set before a given class's code is evaluated, so it can be tested within the code, within node defs, components, or classes. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1139 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding sum type to the retrieved sum if it is not already there. This ↵luke2006-04-261-1/+6
| | | | | | provides backwards compatibility for existing cache files. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1137 980ebf18-57e1-0310-9a29-db15c13687c0
* removing unnecessary debuggingluke2006-04-261-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1136 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "defined" functino to puppet, so you can now test whether a given ↵luke2006-04-262-0/+51
| | | | | | class or definition is defined. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1135 980ebf18-57e1-0310-9a29-db15c13687c0
* Creating a simplistic, generic function framework in the parser, so it is ↵luke2006-04-2613-497/+807
| | | | | | now very easy to add new functions. There is a pretty crappy, hardwired distinction between functions that return values and those that do not, but I do not see a good way around it right now. Functions are also currently responsible for handling their own arity, although I have plans for fixing that. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1134 980ebf18-57e1-0310-9a29-db15c13687c0