summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * Fixed #1668 - puppetca can't clean unsigned certsJames Turnbull2008-11-202-5/+8
| |
| * Fix #1759 - Comparison operator was using string comparison for numbersBrice Figureau2008-11-202-10/+54
| | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * Fixed #1711 - fileserver test fails due to incorrect mockingJames Turnbull2008-11-192-0/+7
| |
| * Fixed #1751 - Mac OS X DirectoryService nameservice provider support for ↵James Turnbull2008-11-192-100/+130
| | | | | | | | plist output and password hash fil
| * Fixed #1752 - Add an optional argument to Puppet::Util.execute to determine ↵James Turnbull2008-11-192-2/+10
| | | | | | | | whether stderr and stdout are combined in the output
| * Fix the init service type to cope with an array for defpath and if defpath ↵Nigel Kersten2008-11-191-17/+23
| | | | | | | | does not exist
| * Added versionable feature to the RPM providerJames Turnbull2008-11-182-0/+4
| |
| * Fixing broken tests resulting from the fix to #1747Luke Kanies2008-11-175-1/+8
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Moved RRD feature from util/metric.rb to feature/base.rbJames Turnbull2008-11-173-5/+5
| |
| * Manifest documentation generationBrice Figureau2008-11-176-15/+2730
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There is currently two type of documentation generation for manifests (module or modulepath): * RDoc HTML generation for modules and global manifests * console output for sole manifest Both version handles classes, defines, nodes, global variable assignements, and resources when --all is used. The usage is the following: For the rdoc variant: $ puppetdoc --mode rdoc --outputdir doc It uses the puppet.conf configuration file to get the modulepath and manifestdir settings. Those are overridable on the command line with --modulepath and --manifestdir. For the console output version: $ puppetdoc /path/to/manifests Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * Move function existance test to parser evaluationBrice Figureau2008-11-173-13/+104
| | | | | | | | | | | | | | | | The aim is to let --parseonly succeeds even if the function is not (yet) present. This is usefull in commit-hooks and for the inline documentation generation system. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * Add a doc attribute to AST nodes and fill it with the last seen commentsBrice Figureau2008-11-1717-111/+252
| | | | | | | | | | | | | | | | | | | | | | | | | | The lexer maintains a stack of last seen comments. On blank lines the lexer flush the comments. On each opening brace the lexer enters a new stack level. On each block AST nodes, the stack is popped. Each AST nodes has a doc property that is filled with the last seen comments on node creation (in fact only on important node creation representing statements). Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * RSpec tests for the doc system (covers AST.doc, lexer and parser)Brice Figureau2008-11-173-5/+121
| | | | | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * Fixed #1735 and #1747 - Fixes to confine systemJames Turnbull2008-11-163-20/+27
| |
| * CHANGELOG updatesJames Turnbull2008-11-161-0/+10
| |
| * Fixed #1718 - Added preseed to apt uninstall and purgeJames Turnbull2008-11-162-0/+8
| |
| * Include spec directory in packagesSean E. Millichamp2008-11-141-0/+1
| |
| * Fixing the provider's confine subsystem so the logs are more useful.Luke Kanies2008-11-137-28/+58
| | | | | | | | | | | | | | | | | | I apparently lost some context in these logs when I switched to this separate subsystem. Note that this also fixes some of the informational issues in Signed-off-by: Luke Kanies <luke@madstop.com>
| * Removed extra 'end' from yum.rbJames Turnbull2008-11-141-1/+0
| |
| * Fix bug #1746: Sync SELinux file attributes after file contents created/modifiedSean E. Millichamp2008-11-141-1/+1
| |
| * Fix bug #1681: Add filesystem type check to test for per-file SELinux ↵Sean E. Millichamp2008-11-142-0/+105
| | | | | | | | context support
| * Quiet debug when no default SELinux context found for one of the componentsSean E. Millichamp2008-11-141-1/+3
| |
| * Fixes relating to transition to native SELinux bindingsSean E. Millichamp2008-11-142-2/+16
| |
| * Refactoring of SELinux functions to use native Ruby SELinux interfaceSean E. Millichamp2008-11-142-99/+100
| |
| * Merge branch 'tickets/0.24.x/1739' into 0.24.xJames Turnbull2008-11-132-0/+7
| |\
| | * Fixed #1739 - Added uninstall functionality to yum providerJames Turnbull2008-11-132-0/+7
| | |
| * | Fix #1737 - part2 - Fix display of "options"Brice Figureau2008-11-122-0/+28
| | |
| * | Fix #1737 - ssh_authorized_keys should be able to parse options containing ↵Brice Figureau2008-11-113-1/+29
| | | | | | | | | | | | | | | | | | commas Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
| * | Fix #1740 - Daemontools and Runit is not ReST compliantBrice Figureau2008-11-112-31/+48
| |/
| * Fixed #1730 - Edited file/ensure.rb docs for clarityJames Turnbull2008-11-051-5/+4
| |
| * Fixes #1672 - unsafe crontab handling in SolarisMartin Englund2008-11-051-3/+3
| | | | | | | | Signed-off-by: Martin Englund <martin@englund.nu>
| * Fixing the augeas type tests to work when augeas is missingLuke Kanies2008-11-051-88/+98
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
| * Fixes #1714 - yumhelper handling with yum 2.2.x is brokenJames Turnbull2008-11-011-0/+9
| |
| * Fixed #1721 - puppet.conf documentation incorrectly lists signals that ↵James Turnbull2008-11-011-1/+1
| | | | | | | | affect the daemons
| * Fixing a test I broke when fixing a reporting bugLuke Kanies2008-11-011-4/+0
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding more file tests and fixing conflicting testsLuke Kanies2008-11-152-0/+22
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Completely refactoring the tidy type.Luke Kanies2008-11-154-447/+483
| | | | | | | | | | | | | | | | | | | | | | | | This was necessary because of how I changed file recursion. The type works much more intelligently now -- files to be removed have a file resource generated for them, and that resource handles deletion. Also fixes #1717; neither age nor size is required now. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Cleaning up the tidy type a bitLuke Kanies2008-11-151-265/+264
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | These changes are all about making sure file data is expired when appropriate.Luke Kanies2008-11-157-153/+92
| | | | | | | | | | | | All file tests now pass. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Catalogs always consider resource data to be expired if not mid-transaction.Luke Kanies2008-11-153-1/+22
| | | | | | | | | | | | | | | | | | This way we'll cache when in a transaction, but otherwise always hit the disk so the data is fresh. This works because we really only use resources mid-transaction, but it behaves correctly if we happen to use a resource outside of a transaction. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Properly cleaning up ssl ca configuration during testingLuke Kanies2008-11-114-4/+8
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding caching support to parameters, and using cached attributes for file ↵Luke Kanies2008-11-116-46/+77
| | | | | | | | | | | | | | | | | | source and metadata. As hoped, this drastically simplifies the code around retaining this data. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding cached attribute support to resources.Luke Kanies2008-11-116-22/+46
| | | | | | | | | | | | | | | | | | | | | | | | The Catalog is the expirer, which means that a resource with no catalog will not cache data. Also switching files to use a cached attribute for its stat. And modifying catalogs to expire data at the end of every transaction. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Allowing a nil expirer for caching classes.Luke Kanies2008-11-112-2/+8
| | | | | | | | | | | | | | If there's no expirer, then the value is regenerated every time. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Refactoring the Cacher interface to always require attribute declaration.Luke Kanies2008-11-117-190/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously you could dynamically use cached values, but the new interface requires a single static declaration of the attribute: cached_attr(:myattr) { my_init_code() } This is cleaner, because it makes it easy to turn the code into an init method and generally makes the whole thing easier to think about. Most of this commit is going through the different classes that already using the Caching engine. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Changing the Cacher.invalidate method to Cacher.expire.Luke Kanies2008-11-1130-56/+54
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing a critical bug in the Cacher module.Luke Kanies2008-11-112-21/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Basically, the first generated value was always considered expired the next time it was asked for. The fix was to create an initial timestamp in the Cacher module, thus providing a floor for validity. This is definitely a murky bug, and is especially hard to test. Also refactoring the internals just a bit. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing tests broken by fileserving and other refactoring.Luke Kanies2008-11-086-278/+34
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing a test broken by previous refactoringLuke Kanies2008-11-071-7/+4
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Finishing the refactoring of the resource generation interface.Luke Kanies2008-11-075-208/+74
| | | | | | | | | | | | | | All of the code works, and there are integration tests all around to prove it. I think. Signed-off-by: Luke Kanies <luke@madstop.com>