summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
...
* Adding up2date support, as submitted by Kostas Georgiou (with some ↵luke2006-08-232-3/+60
| | | | | | modifications to support providers). git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1486 980ebf18-57e1-0310-9a29-db15c13687c0
* Certificate revocation through puppetca. Keep a simple text inventory of all ↵lutter2006-08-233-0/+51
| | | | | | certificates ever issued. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1485 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing definition inheritance. I have not yet written tests yet, but my ↵luke2006-08-2212-276/+419
| | | | | | last commit pretty seriously broke some things without me realizing it, so I wanted to get this in. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1484 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding "if/else" constructs. No operators, no elsif, but it is a good ↵luke2006-08-227-1098/+796
| | | | | | start, anyway. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1483 980ebf18-57e1-0310-9a29-db15c13687c0
* Function autoloading now works as requested in #214.luke2006-08-221-3/+19
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1482 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding warnings and error throwing for #218 -- metaparams in prototypes are ↵luke2006-08-212-2/+30
| | | | | | treated specially. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1481 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #225. Normal file copying worked with spaces, but recursive file ↵luke2006-08-211-1/+1
| | | | | | copying did not. I modified one of the support methods so it works now. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1478 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #228. The real problem was that "present" should match any type of ↵luke2006-08-211-4/+25
| | | | | | file existence, whereas it was just matching files. If the file was a directory, as in this case, Puppet considered it to be out of sync. Now, "present" matches files, links, or directories, but still creates an empty file if the path is missing. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1477 980ebf18-57e1-0310-9a29-db15c13687c0
* Support for certificate revocation and checking connections on the server ↵lutter2006-08-212-27/+97
| | | | | | against the CRL git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1475 980ebf18-57e1-0310-9a29-db15c13687c0
* Making some of the metaprogramming a bit more explicit and a bit easier to ↵luke2006-08-209-133/+305
| | | | | | | | manage. In the process, I have created multiple Util modules, only one of which is used for this current commit. The main work in this commit is that I created a single, common method for dynamically creating classes and moved all of the Class.new users to using this class. It handles a lot of the complexity for me, and most of the users have just a couple of lines of code, now, instead of tens. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1473 980ebf18-57e1-0310-9a29-db15c13687c0
* Finishing changes to support titles instead of two types of names. This is ↵luke2006-08-178-72/+101
| | | | | | basically a bug-fix commit. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1472 980ebf18-57e1-0310-9a29-db15c13687c0
* A first pass of changing one of the types of names to titles. I still have ↵luke2006-08-165-112/+167
| | | | | | to fix a lot of tests, but the core itself is now working. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1471 980ebf18-57e1-0310-9a29-db15c13687c0
* Merging r1468 from the implementations branch with r1438 from when the ↵luke2006-08-1463-2232/+3307
| | | | | | branch was first created. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1469 980ebf18-57e1-0310-9a29-db15c13687c0
* Committing changes that require dollar signs in prototypesluke2006-08-144-195/+280
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1468 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the master server so that it always uses the Facter hostname, not the ↵luke2006-07-312-5/+5
| | | | | | cert or IP hostname. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1433 980ebf18-57e1-0310-9a29-db15c13687c0
* adding DSL class. Sorry, not much in the way of docs.luke2006-07-271-0/+152
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1430 980ebf18-57e1-0310-9a29-db15c13687c0
* Another batch of bug fixes, this time focused on OS X patches. Looks like I ↵luke2006-07-227-10/+13
| | | | | | did not test on os x last time. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1422 980ebf18-57e1-0310-9a29-db15c13687c0
* First round of bugfixes in preparation for 0.18.4luke2006-07-214-37/+22
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1421 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #77. As I feared, this was a pretty complicated fix; I had to add a ↵luke2006-07-212-26/+71
| | | | | | | | lot of infrastructure to both ParsedFile and Config. All config files now have a timer created for them, and by default they check for file changes every 15 seconds. If there is a change, they get rid of values set by the file (but not set on the cli) and set the new values, then the re-use all of the sections, so that any changed directories or whatever get recreated. This is still not a 100% solution, since things like open files could still be messed with, but I think this is about as close as we are going to get. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1420 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding timeout functionality to the ParsedFile class, in preparation to ↵luke2006-07-212-17/+38
| | | | | | adding config reloading to the Config class. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1419 980ebf18-57e1-0310-9a29-db15c13687c0
* Apparently objects were legal rvalues, which does not make any sense. Fixed ↵luke2006-07-212-302/+292
| | | | | | this, and added a test verify. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1418 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #185. Added a check for cdrom sources, and added an override parameter.luke2006-07-212-0/+32
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1417 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #176. You can now do duplicate UIDs (or GIDs on most platforms) with ↵luke2006-07-214-13/+55
| | | | | | :allowdupe. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1416 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #202. Just bumped the log level to notice and changed the wording ↵luke2006-07-211-1/+2
| | | | | | slightly git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1414 980ebf18-57e1-0310-9a29-db15c13687c0
* Applied patch in #203luke2006-07-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1413 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #201; users now autorequire extra groupsluke2006-07-211-1/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1412 980ebf18-57e1-0310-9a29-db15c13687c0
* moving plugin evaluation into a begin/rescue blockluke2006-07-211-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1411 980ebf18-57e1-0310-9a29-db15c13687c0
* removing message about the statefile not existingluke2006-07-201-1/+0
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1408 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #191. I was only testing for parsed cron instances, not for created ↵luke2006-07-182-22/+35
| | | | | | ones. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1402 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing bug in scope/interpreter where nodes found in ldap must have parent ↵luke2006-07-182-1/+5
| | | | | | nodes. The problem was that the the scope was using the presence of a parent node to determine whether a node was found. Instead I added a flag in the arguments to "Scope#evaluate" to mark nodes as found. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1401 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a unit test for plain "nodesearch"luke2006-07-181-0/+10
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1400 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing filebucket server so that paths are not added multiple timesluke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1392 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding tests for previous config bugfixes, and updating changelogluke2006-07-111-14/+25
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1391 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing reports so that multiple host report directories can be created. ↵luke2006-07-111-12/+12
| | | | | | There was a config conflict before. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1390 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing templating so it immediately fails when a variable is not found, as ↵luke2006-07-111-4/+19
| | | | | | opposed to passing up the method_missing heirarchy, which was causing a nasty memory leak and some kind of weird, long-running search git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1389 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing weird case involving interpolating config params in a URLluke2006-07-111-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1388 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing weird cases where configs might think non-files could be filesluke2006-07-111-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1387 980ebf18-57e1-0310-9a29-db15c13687c0
* adding sysidcfg param to zonesluke2006-07-111-0/+53
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1386 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing templating bug that can result in what looks like an infinite loop, ↵luke2006-07-112-2/+9
| | | | | | and changing default timeout to 2 minutes instead of 30 seconds git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1385 980ebf18-57e1-0310-9a29-db15c13687c0
* Reducing log level of missing fileluke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1384 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing error when template does not existluke2006-07-112-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1383 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing misstated error name ExecutionError in blastwave packaging supportluke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1382 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing reports server so it refers to the main serverluke2006-07-111-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1381 980ebf18-57e1-0310-9a29-db15c13687c0
* Default the passno to 2, defaulting to 0 is a bad idea since it disables fscklutter2006-07-101-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1380 980ebf18-57e1-0310-9a29-db15c13687c0
* changing plugin owner to rootluke2006-07-101-1/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1379 980ebf18-57e1-0310-9a29-db15c13687c0
* changing default plugin host to be $serverluke2006-07-101-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1378 980ebf18-57e1-0310-9a29-db15c13687c0
* Doc change: explain what the values for ensure dolutter2006-07-071-2/+8
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1376 980ebf18-57e1-0310-9a29-db15c13687c0
* adding another state that is equivalent to "stopped" for smf servicesluke2006-07-061-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1375 980ebf18-57e1-0310-9a29-db15c13687c0
* More documentation updates. I think this is sufficient for replacement of ↵luke2006-07-062-2/+14
| | | | | | the plone site. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1373 980ebf18-57e1-0310-9a29-db15c13687c0
* Accepting the patch from #190.luke2006-07-051-7/+26
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1368 980ebf18-57e1-0310-9a29-db15c13687c0