summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fixing node tests to handle comma separationluke2006-06-011-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1232 980ebf18-57e1-0310-9a29-db15c13687c0
* temporary commit so i can transfer my testing to a faster, sparc boxluke2006-06-012-26/+207
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1231 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #160. Fixing the error in Puppet::Type#[]= and scope.newobjectluke2006-06-012-11/+24
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1230 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #161. Basically, AST::ObjectDef now catches when users specify a ↵luke2006-06-012-8/+49
| | | | | | name as a parameter instead of the name before the colon and modify the results accordingly. This catches this kind of problem, and the normal name handling picks up everything else. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1229 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #162. Node names must now be comma-separated.luke2006-05-313-191/+219
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1228 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an "execute" method to Puppet::Util, and including the module in ↵luke2006-05-282-0/+17
| | | | | | element.rb git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1227 980ebf18-57e1-0310-9a29-db15c13687c0
* adding zone management stub; switching to my home vm for testingluke2006-05-281-0/+182
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1226 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing destdir in installer, and adding solaris conf stuffluke2006-05-252-1/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1225 980ebf18-57e1-0310-9a29-db15c13687c0
* Did some work on making sure object removal actually works, thus stopping ↵luke2006-05-2511-82/+71
| | | | | | some potential memory leaks. Also explicitly removed objects in more places, again hopefully forestalling memory leaks. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1224 980ebf18-57e1-0310-9a29-db15c13687c0
* Reworking cron; adding many unit tests, and making it much more like a ↵luke2006-05-254-126/+399
| | | | | | ParsedType (although still not quite the same). Too many of my tests were invalid; I think those are all fixed now, and it appears to work as desired. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1223 980ebf18-57e1-0310-9a29-db15c13687c0
* Small fix to include puppetrun in /usr/binlutter2006-05-191-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1222 980ebf18-57e1-0310-9a29-db15c13687c0
* adding puppetrun to the red hat spec fileluke2006-05-191-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1221 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
* updating changelog for 0.17.2luke2006-05-191-0/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1218 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #138, all of it, I think. Environment settings are now allowed, ↵luke2006-05-192-11/+116
| | | | | | although all bets are off in terms of parsing existing environment settings in crontabs. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1217 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a small fix to cron tabs; they will at least parse tabs that have env ↵luke2006-05-192-0/+40
| | | | | | settings in them, although you still cannot, at this point, set them. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1216 980ebf18-57e1-0310-9a29-db15c13687c0
* slight ldap fixes in puppetrunluke2006-05-191-1/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1215 980ebf18-57e1-0310-9a29-db15c13687c0
* First version of puppetrun. It seems to mostly work, but I need to test it ↵luke2006-05-192-0/+299
| | | | | | with greater parallelization. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1214 980ebf18-57e1-0310-9a29-db15c13687c0
* Added the last of the tests for the runner, along with the necessary work in ↵luke2006-05-185-43/+101
| | | | | | puppetd to be able to start it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1213 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a lot of structure to puppet.rb to make it easier to manage multiple ↵luke2006-05-1811-75/+426
| | | | | | | | 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 user[:groups] management when the user is absentluke2006-05-183-16/+24
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1211 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.17.1luke2006-05-181-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1209 980ebf18-57e1-0310-9a29-db15c13687c0
* updating changelog for 0.17.1 and 0.17.0luke2006-05-181-0/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1208 980ebf18-57e1-0310-9a29-db15c13687c0
* Allowing empty filesluke2006-05-183-446/+467
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1207 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #146. I think I mostly just fixed the error message; I do not think ↵luke2006-05-183-34/+69
| | | | | | there was another bug there. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1206 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing stupid debian rails mistakeluke2006-05-171-11/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1205 980ebf18-57e1-0310-9a29-db15c13687c0
* Making sure file recursion works for all valid inputsluke2006-05-162-24/+28
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1204 980ebf18-57e1-0310-9a29-db15c13687c0
* updating version on spec fileluke2006-05-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1203 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.17.0luke2006-05-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1201 980ebf18-57e1-0310-9a29-db15c13687c0
* Wrapping the host storage into a transaction. It might have a slight ↵luke2006-05-151-9/+15
| | | | | | performance improvement, but, ah, unlikely. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1200 980ebf18-57e1-0310-9a29-db15c13687c0
* adding a test to make sure that defaults get taken up by componentsluke2006-05-152-1/+56
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1199 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding code to try for the rails gem if the library cannot be found ↵luke2006-05-153-6/+24
| | | | | | normally, and adding some protections in case there are problems git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1198 980ebf18-57e1-0310-9a29-db15c13687c0
* only performing collection tests if activerecord is availableluke2006-05-153-0/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1197 980ebf18-57e1-0310-9a29-db15c13687c0
* failing more intelligently in init if ActiveRecord is missingluke2006-05-151-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1196 980ebf18-57e1-0310-9a29-db15c13687c0
* Making sure yum fails on unknown packagesluke2006-05-151-0/+7
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1195 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
* I believe I have finalized export/collection support. I still want to go ↵luke2006-05-154-34/+100
| | | | | | through all of the code and s/collectable/exported/g (thanks to womble for that term). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1193 980ebf18-57e1-0310-9a29-db15c13687c0
* I had to redo how the scopes handled collectable objects (which I will soon ↵luke2006-05-1413-61/+240
| | | | | | change to being called "exported objects"). All seems to work now, though. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1192 980ebf18-57e1-0310-9a29-db15c13687c0
* Made a *huge* performance difference in storing hosts -- down from about 25 ↵luke2006-05-135-20/+39
| | | | | | seconds per host to about 5 seconds on my machine. I will almost definitely still use forking or something to make this not affect the clients git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1191 980ebf18-57e1-0310-9a29-db15c13687c0
* I appear to have object collection working, incredibly. This commit does ↵luke2006-05-1312-442/+624
| | | | | | the collection from the database up to adding the objects to the current scope, which is what sends it to the client. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1190 980ebf18-57e1-0310-9a29-db15c13687c0
* The "collectable" syntax now works end-to-end -- the parser correctly ↵luke2006-05-1317-555/+809
| | | | | | recognizes it, the AST objects retain the settings, the scopes do the right conversion, the interpreter stores them all in the database, and then it strips the collectable objects out before sending the object list to the client git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1189 980ebf18-57e1-0310-9a29-db15c13687c0
* 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