summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Updating changelog for 0.19.1luke2006-09-151-0/+4
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1615 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding testing for the default? method, and fixing it to support arrays and ↵luke2006-09-152-6/+40
| | | | | | returning false when no defaults are specified git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1614 980ebf18-57e1-0310-9a29-db15c13687c0
* Using the "trace" configuration parameter to determine whether a stack trace ↵luke2006-09-1528-56/+43
| | | | | | should be printed, rather than just using "debug". I added the param a little while ago and was using it internally in Puppet::DevError, but I just now went through the whole configuration and switched to using it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1613 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding patch from #235luke2006-09-152-39/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1612 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing docs, as mentioned in #271.luke2006-09-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1611 980ebf18-57e1-0310-9a29-db15c13687c0
* Reverting the work done in [1605] and [1606]. I have added it as a patch in ↵luke2006-09-158-953/+598
| | | | | | #271. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1610 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the feature from #259. I had to rework the Scope#lookupvar a bit, ↵luke2006-09-152-4/+53
| | | | | | but everything now works as expected when variables are either undefined or set to empty strings. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1609 980ebf18-57e1-0310-9a29-db15c13687c0
* Applying patch in #160.luke2006-09-151-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1608 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #262. I somehow lost the line that only added a given user's jobs to ↵luke2006-09-153-4/+29
| | | | | | each tab. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1607 980ebf18-57e1-0310-9a29-db15c13687c0
* Removing a test in the parser that is no longer necessary because of how ↵luke2006-09-152-17/+2
| | | | | | imports work now, and fixing a snippet not to interfere with a local fact git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1606 980ebf18-57e1-0310-9a29-db15c13687c0
* This commit adds two important features (but which probably were notluke2006-09-158-583/+953
| | | | | | | | | | | | | | | | | | | | | | | worth the priority I suddenly placed on them). First, it adds search paths as I originally requested in #114. There is now a 'lib' setting, which can be used to tell Puppet where to find manifests. Any file you tell Puppet to parse will have its directory automatically added to the lib path. Also, Puppet will check the PUPPETLIB environment variable for further directories to search. Second, it converts the 'import' mechanism into a normal function, which means that you can now use variables and what-have-you in it. Of course, this function uses the lib mechanism. This is something that's always bothered me about the language, and having it fixed means you can do simple things like have custom code in the top scope for each operating system and then do "import os/$operatingsystem" to evaluate that code. Without this, you would either need a huge case statement or the code would need to be in a class, which often isn't sufficient. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1605 980ebf18-57e1-0310-9a29-db15c13687c0
* Specifically rescuing Exception, since apparently the default does not ↵luke2006-09-156-6/+6
| | | | | | rescue LoadErrors and everything else git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1604 980ebf18-57e1-0310-9a29-db15c13687c0
* collecting output from blastlist, for later useluke2006-09-151-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1603 980ebf18-57e1-0310-9a29-db15c13687c0
* Merged test framework into trunk - still not ready until tests are converted ↵erikh2006-09-1512-0/+2582
| | | | | | to use it. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1601 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the "Adding aliases" message, so it is clear when an alias with ↵luke2006-09-151-1/+3
| | | | | | spaces in it is used git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1600 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #267. The problem was that the user provider was retrieving the @is ↵luke2006-09-157-15/+49
| | | | | | value instead of the @should value, because it was using [] instead of the should method. I fixed the FakeModel to behave a bit more like real types, so that it keeps track of the is/should values, and also to keep track of which attributes are valid, since I immediately ran into another problem stemming from the use of the fakemodel. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1599 980ebf18-57e1-0310-9a29-db15c13687c0
* Updating changelog for 0.19.0luke2006-09-151-0/+12
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1598 980ebf18-57e1-0310-9a29-db15c13687c0
* Raising element creation errors up outside the "create" method, so that ↵luke2006-09-155-19/+21
| | | | | | tests can more easily tell when an object is invalid. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1597 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing spelling of retrieve, to fix ##268luke2006-09-153-3/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1596 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #269. I was aliasing every case where the title and name were ↵luke2006-09-152-3/+58
| | | | | | different, where I should only have been aliasing isomorphic types, which does not include exec git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1595 980ebf18-57e1-0310-9a29-db15c13687c0
* Catching all errors encountered during loading, not just LoadError, to fix ↵luke2006-09-146-7/+7
| | | | | | ongoing problems with rdoc/usage. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1593 980ebf18-57e1-0310-9a29-db15c13687c0
* Let puppetd listen (when given --listen) without a CRLlutter2006-09-143-1/+17
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1592 980ebf18-57e1-0310-9a29-db15c13687c0
* Brute force fix for trac #266lutter2006-09-141-1/+5
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1591 980ebf18-57e1-0310-9a29-db15c13687c0
* Fix test_host_specific to not depend on the path of the test directory and ↵lutter2006-09-141-8/+14
| | | | | | reenable it git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1590 980ebf18-57e1-0310-9a29-db15c13687c0
* Expanding the Fedora/RHEL instructions somelutter2006-09-141-3/+6
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1589 980ebf18-57e1-0310-9a29-db15c13687c0
* adding note about david's yum repoluke2006-09-141-1/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1588 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the problem with fileserver expansions, and doing a bit of ↵luke2006-09-142-156/+194
| | | | | | refactoring to make things clearer git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1587 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing the interpreter to nodesearch across all listed names, just like is ↵luke2006-09-133-12/+46
| | | | | | done in the manifests. Also fixing a comment in type.rb git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1586 980ebf18-57e1-0310-9a29-db15c13687c0
* fixing typoluke2006-09-131-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1585 980ebf18-57e1-0310-9a29-db15c13687c0
* adding gentoo notesluke2006-09-131-0/+9
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1584 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a :trace config option that prints stack traces of DevErrors, and ↵luke2006-09-132-1/+2
| | | | | | using that in DevError instead of :debug git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1583 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding test code for providers that makes sure the default and confine ↵luke2006-09-132-22/+159
| | | | | | mechanisms work internally. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1582 980ebf18-57e1-0310-9a29-db15c13687c0
* Add config parameter ca_ttl and deprecate ca_days; ca_ttl makes it possible ↵lutter2006-09-134-8/+92
| | | | | | to generate certs that are valid for < 1 day git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1581 980ebf18-57e1-0310-9a29-db15c13687c0
* Use Pupet.warning instead of nonexistant 'warning'lutter2006-09-131-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1580 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #261. Applied patch, with small modifications.luke2006-09-133-10/+33
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1579 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a module for helping with warnings, starting only with the "warnonce" ↵luke2006-09-132-0/+16
| | | | | | method git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1578 980ebf18-57e1-0310-9a29-db15c13687c0
* Sync with FE repolutter2006-09-121-0/+3
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1577 980ebf18-57e1-0310-9a29-db15c13687c0
* Disable the sample fileserver module by default, otherwise users get ↵lutter2006-09-121-2/+2
| | | | | | spurious warnings about nonexisting directories git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1576 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.0luke2006-09-061-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1574 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.0luke2006-09-061-2/+2
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1573 980ebf18-57e1-0310-9a29-db15c13687c0
* Updated to version 0.19.0luke2006-09-061-1/+1
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1572 980ebf18-57e1-0310-9a29-db15c13687c0
* Modifying the provider base class so that it defines a method for every used ↵luke2006-09-0621-228/+129
| | | | | | command (e.g., you call "commands :rpm => 'rpm'", and it defines an "rpm" method. I then pushed this throughout the package providers, which are the heaviest users of commands. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1571 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding aptitude support, including a new util::package module that provides ↵luke2006-09-0610-12/+64
| | | | | | a method for package version sorting, and a couple of smaller bug fixes. This fixes #237. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1570 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding hasrestart parameter to servicesluke2006-09-054-20/+24
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1569 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding an "env" parameter to exec, for providing extra environment settings, ↵luke2006-09-054-3/+81
| | | | | | as requested in #236. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1568 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding a "withenv" execution util method, and using it in :exec for path ↵luke2006-09-054-36/+95
| | | | | | handling. Next will be other env handling. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1567 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing #230. If the first line in the cron tab, before the header, starts ↵luke2006-09-051-2/+11
| | | | | | with TZ= then the header will be inserted after the TZ line. git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1566 980ebf18-57e1-0310-9a29-db15c13687c0
* Fixing small bug in cron where removed fields are not deleted from the fileluke2006-09-053-10/+23
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1565 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding further gentoo support -- finalized portage support, plus conf and ↵luke2006-09-054-27/+66
| | | | | | init info for puppetd git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1564 980ebf18-57e1-0310-9a29-db15c13687c0
* Adding the Daemon module back into the Client class, which fixes #247.luke2006-09-053-0/+25
| | | | git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1563 980ebf18-57e1-0310-9a29-db15c13687c0