Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixing #1541 - ParsedFile only backs up files once per transaction | Luke Kanies | 2009-02-13 | 1 | -1/+0 |
| | | | | | | | | This moves responsibility for backups from the filetype to the consumer of the filetype, but only ParsedFile actually uses filetypes. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Removing the apparently obsolete netinfo filetype. | Luke Kanies | 2009-02-13 | 1 | -88/+0 |
| | | | | Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Migrated FileType tests to spec, and fleshed them out a bit. | Luke Kanies | 2009-02-13 | 1 | -3/+3 |
| | | | | Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Fixing #1869 - autoloaded files should never leak exceptions | Luke Kanies | 2009-02-12 | 1 | -2/+2 |
| | | | | | | | | | | | | | Ruby's exception hierarchy is a bit strange, in that only exceptions that sub RuntimeError are caught by default. This patch explicitly catches the base class, Exception, which means that LoadError, SyntaxError, and any RuntimeErrors will all be caught. This is done for both load() and loadall(); load() uses Kernel.load, but loadall() uses Kernel.require. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Fixed #1538 - Yumrepo sets permissions wrongly on files in /etc/yum.repos.d | James Turnbull | 2009-02-11 | 1 | -0/+1 |
| | |||||
* | Prefetching, and thus purging, Nagios resources now works | Luke Kanies | 2009-02-11 | 1 | -0/+4 |
| | | | | | | | | | | | *only* if you use the default configuration file locations. In the end, this was a relatively minor change; most of the actual diff centers around making the code more readable so I could think my way into the fix, and adding tests for cases that were either untested or refactored slightly. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Rails serialization module to help serialize/unserialize some Puppet Objects | Brice Figureau | 2009-02-06 | 1 | -0/+18 |
| | | | | Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com> | ||||
* | Not using a temporary file when locking files for writing. | Luke Kanies | 2008-12-15 | 1 | -9/+6 |
| | | | | | | | | | | The temporary file was not actually useful, because we could never really get atomic renames, for annoying, complicated reasons. This hopefully finally fixes #1812. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Preparing to fix #1812 - Moving locking code to a module | Luke Kanies | 2008-12-12 | 2 | -2/+51 |
| | | | | | | | This moves the locking code out of Puppet::Util into a separate module, to make the code cleaner. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Fix #1815 - puppetdoc --all crash on resource override | Brice Figureau | 2008-12-10 | 1 | -1/+1 |
| | |||||
* | Refactoring the thread-safety in Puppet::Util a bit. | Luke Kanies | 2008-11-26 | 1 | -21/+27 |
| | | | | Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Fixing #1683 - accessing and changing settings is now thread-safe. | Luke Kanies | 2008-11-26 | 1 | -140/+144 |
| | | | | | | Applying patch by Matt Palmer. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Moved RRD feature from util/metric.rb to feature/base.rb | James Turnbull | 2008-11-17 | 1 | -5/+0 |
| | |||||
* | Manifest documentation generation | Brice Figureau | 2008-11-17 | 5 | -0/+2621 |
| | | | | | | | | | | | | | | | | | | | | | | | | 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> | ||||
* | Fix bug #1681: Add filesystem type check to test for per-file SELinux ↵ | Sean E. Millichamp | 2008-11-14 | 1 | -0/+64 |
| | | | | context support | ||||
* | Fixes relating to transition to native SELinux bindings | Sean E. Millichamp | 2008-11-14 | 1 | -2/+9 |
| | |||||
* | Refactoring of SELinux functions to use native Ruby SELinux interface | Sean E. Millichamp | 2008-11-14 | 1 | -66/+67 |
| | |||||
* | Fixes #1672 - unsafe crontab handling in Solaris | Martin Englund | 2008-11-05 | 1 | -3/+3 |
| | | | | Signed-off-by: Martin Englund <martin@englund.nu> | ||||
* | Fixing #1698 - all logs again show up in the report. | Luke Kanies | 2008-10-28 | 1 | -16/+1 |
| | |||||
* | Fix regression caused by switch to Puppet's execute() functions | Sean E. Millichamp | 2008-10-22 | 1 | -2/+11 |
| | |||||
* | Use fully qualified paths when calling binaries, adjust chcon call to use ↵ | Sean E. Millichamp | 2008-10-17 | 1 | -8/+2 |
| | | | | Puppet's execute() function. | ||||
* | Setting SELinux contexts with chcon should not dereference symbolic links | Sean E. Millichamp | 2008-10-17 | 1 | -2/+2 |
| | |||||
* | Revert "Added last part of #1633 patch - update to util/metrics.rb" | James Turnbull | 2008-10-10 | 1 | -5/+0 |
| | | | | This reverts commit c5d1a4f6ffe72477ce02358a93d48df850aea15b. | ||||
* | Added last part of #1633 patch - update to util/metrics.rb | James Turnbull | 2008-10-10 | 1 | -0/+5 |
| | |||||
* | Add unit test coverage for Puppet::Util::SELinux and fix problems found by tests | Sean E. Millichamp | 2008-10-09 | 1 | -13/+30 |
| | |||||
* | Fix scenario when SELinux support tools exist, but SELinux is disabled | Sean E. Millichamp | 2008-10-08 | 1 | -0/+6 |
| | |||||
* | New and improved tests for file type SELinux contexts | Sean E. Millichamp | 2008-10-08 | 1 | -1/+1 |
| | |||||
* | Adding an array indexer method to Puppet::Util::Metric as requested in #1633. | Luke Kanies | 2008-10-08 | 1 | -0/+9 |
| | | | | Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Adding partial spec tests for Puppet::Util::Metric. | Luke Kanies | 2008-10-08 | 1 | -9/+14 |
| | | | | Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Doing some simple refactorings on Puppet::Log | Luke Kanies | 2008-10-04 | 1 | -14/+7 |
| | | | | Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Fixing #1089 - Log messages are now tagged with the log level, | Luke Kanies | 2008-10-04 | 1 | -0/+3 |
| | | | | | | making it easier to match messages in the 'tagmail' report. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Adding rspec tests for the Puppet::Util::Log class. | Luke Kanies | 2008-10-04 | 1 | -16/+11 |
| | | | | | | | Also using Puppet::Util::Tagging to handle the tagging, rather than custom methods. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Add SELinux context reset after file writes in Puppet::Util::FileType | Sean E. Millichamp | 2008-10-03 | 1 | -0/+7 |
| | |||||
* | Refactor SELinux commands to utility module | Sean E. Millichamp | 2008-10-03 | 1 | -0/+113 |
| | |||||
* | Fixed #1613 - The client environment will be substituted when looking up ↵ | Luke Kanies | 2008-10-03 | 1 | -3/+5 |
| | | | | | | | | | | settings. This won't be perfect, because it still requires that the caller pass in an environment, but for every case that an environment is passed in, that environment will be substituted into settings when possible. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Adding user_attr util to parse attributes on solaris | Andrew Shafer | 2008-10-01 | 1 | -0/+21 |
| | | | | read /etc/user_attr and makes a hash based on the file contents | ||||
* | Fixed #791 - You should now be able to create and find a user/group in one ↵ | Luke Kanies | 2008-10-02 | 1 | -12/+10 |
| | | | | | | | | | | | | | transaction. The real problem was that the 'gid' and 'uid' methods didn't handle the case where 'get_posix_field' didn't return a value, and the subsequent 'get_posix_field' calls couldn't handle that. This commit moves the tests for Posix to spec, and fixes the specific bug. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Fixed #1521 -- ldap user and group are now used with the default connection | Luke Kanies | 2008-09-17 | 1 | -1/+11 |
| | | | | | | when available. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | Fixed #1553 - Puppet and Facter cannot both install the plist module into ↵ | James Turnbull | 2008-09-13 | 3 | -474/+0 |
| | | | | two different locations | ||||
* | Removed reference to namespaces from --genconfig documentation | James Turnbull | 2008-08-21 | 1 | -4/+0 |
| | |||||
* | Fixed #1441 - Updated console colours | James Turnbull | 2008-08-01 | 1 | -14/+22 |
| | |||||
* | Ensure that we consistently use either string #{} interpolation or String.% | Daniel Pittman | 2008-08-01 | 1 | -1/+1 |
| | | | | | | | interpolation, not both, to avoid issues where a #{} interpolated value contains a % character. Signed-off-by: Daniel Pittman <daniel@rimspace.net> | ||||
* | Feature #1241 : Improve performance of group lookups | James Turnbull | 2008-07-29 | 1 | -14/+67 |
| | |||||
* | Merge branch 'tickets/0.24.x/1231' of git://github.com/lak/puppet into 0.24.x | James Turnbull | 2008-07-05 | 1 | -2/+4 |
|\ | |||||
| * | Fixed #1231 - Exceptions during startup should now be clear. | Luke Kanies | 2008-07-04 | 1 | -2/+4 |
| | | | | | | | | | | | | | | This will often result in duplicate information, but at least the information will now always be there. Signed-off-by: Luke Kanies <luke@madstop.com> | ||||
* | | Removed debugging from lib/puppet/util/ldap/connection.rb | James Turnbull | 2008-07-04 | 1 | -1/+0 |
|/ | |||||
* | Adding an 'instance' class method to ldap connections. | Luke Kanies | 2008-07-01 | 1 | -0/+13 |
| | | | | | This just returns a Connection instance with the default ldap configuration information already provided. | ||||
* | issue 1183 | Andrew Shafer | 2008-06-16 | 1 | -0/+58 |
| | | | | | | | | | | | | | | | Added environment awareness to --configprint Pulled the logic for --configprint --genconfig and --genmanifest out of puppet.rb Put the logic in lib/puppet/util/settings.rb and refactored it a bit Added specs for the behavior Reformated the whole spec file to use nested describe Added the new method to the executables The old behavior should be preserved, except for the env is now used | ||||
* | Applying the fixes recommended by David Schmitt to the inline documentation of | Luke Kanies | 2008-06-09 | 1 | -4/+4 |
| | | | | the ResourceTemplate class. | ||||
* | Updating the docs for ResourceTemplate. | Luke Kanies | 2008-06-09 | 1 | -0/+23 |
| | | | | Signed-off-by: Luke Kanies <luke@madstop.com> |