summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge branch '0.24.x'Luke Kanies2008-03-071-47/+49
| |\|
| | * Changed name of method for clarity per code reviewLuke Kanies2008-03-051-5/+5
| | |
| | * Ticket #1041Andrew Shafer2008-03-051-47/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The CA serial file was getting owned by root because it was using a different method to write to file Pulled the readwritelock out of lib/puppet/sslcertificates/ca.rb into lib/puppet/util/settings.rb Refactored write, writesub and readwritelock a bit to reuse code (write and readwritelock both call writesub) Added a mode to :serial in lib/puppet/util/defaults.rb
| * | Merge branch '0.24.x'Luke Kanies2008-02-254-4/+4
| |\|
| | * Merge commit 'turnbull/0.24.x' into 0.24.xLuke Kanies2008-02-231-1/+1
| | |\
| | | * Fixes ticket #1079 - added . support for tagsJames Turnbull2008-02-241-1/+1
| | | |
| | * | Somewhat refactored fileserving so that it no longer cachesLuke Kanies2008-02-232-2/+2
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | any objects, nor does it use Puppet's RAL resources. In the process, I fixed #894 (you can now copy links) and refactored other classes as necessary. Mostly it was fixing tests. This is a squashed commit of a temporary branch, fwiw, and it also includes any fixes to the tests that were necessary to get all tests passing again.
| | * Quashed commit of my fixes for #1010.Luke Kanies2008-02-211-1/+1
| | |
| * | Merge branch '0.24.x'Luke Kanies2008-02-182-18/+56
| |\| | | | | | | | | | | | | | | | | | | Conflicts: CHANGELOG man/man8/puppet.8
| | * Refactoring the incremental checksum generationLuke Kanies2008-02-141-11/+12
| | | | | | | | | | | | slightly based on the code in type/file/checksum.rb.
| | * Enhancing the stand-alone checksums utility moduleLuke Kanies2008-02-141-10/+47
| | | | | | | | | | | | | | | | | | with the rest of the checksums we're likely to use, and adding tests, which I somehow missed when I wrote this file.
| | * Fixing #1064 -- providers et al are now autoloadedLuke Kanies2008-02-131-2/+1
| | | | | | | | | | | | from modules even when Autoload#loadall is used.
| | * removing "lib" deprecation notice from autoloaderLuke Kanies2008-02-131-4/+0
| | |
| | * Fixed #1043 -- autoloading now searches the plugins directoryLuke Kanies2008-02-131-3/+8
| | | | | | | | | | | | | | | | | | in each module, in addition to the lib directory. The 'lib' directory is also deprecated, but supported for now to give people a chance to convert.
| * | Merge branch '0.24.x'Luke Kanies2008-02-124-17/+73
| |\| | | | | | | | | | | | | | | | Conflicts: CHANGELOG
| | * Adding an inflection util class.Luke Kanies2008-02-121-0/+14
| | |
| | * Removing the last remaining vestiges of GRATR --Luke Kanies2008-02-111-1/+1
| | | | | | | | | | | | removing the bangs from 'add_vertex!' and 'add_edge!'.
| | * Added a 'tagged?' method to the Tagging module.Luke Kanies2008-02-111-0/+5
| | |
| | * Applying patch by Jay to fix #989 -- missing crl files areLuke Kanies2008-02-071-1/+1
| | | | | | | | | | | | | | | correctly ignored, and you now use 'false' instead of 'none' to explicitly ignore them.
| | * Fixing the Settings class so that it correctly handlesLuke Kanies2008-02-071-7/+9
| | | | | | | | | | | | file values that are false.
| | * I think I've finally fixed #959, by having the SettingsLuke Kanies2008-01-201-12/+13
| | | | | | | | | | | | class skip any resources that are already in memory.
| | * Fixing #976 -- both the full name of qualified classes andLuke Kanies2008-01-191-0/+34
| | | | | | | | | | | | | | | | | | the class parts are now added as tags. I've also created a Tagging module that we should push throughout the rest of the system that uses tags.
| * | Merge branch '0.24.x'Luke Kanies2008-01-192-8/+59
| |\|
| * | Removed remaining elements of old_parse - closing Ticket #990James Turnbull2008-01-191-88/+0
| | |
* | | More fixes to the testing.Luke Kanies2008-01-151-0/+1
| | |
* | | Another round of test-fixes toward eliminating global resourceLuke Kanies2008-01-141-39/+0
| | | | | | | | | | | | | | | | | | references. This should have gotten rid of all of them, and now it's just a question of fixing a few hopefully unrelated failing tests.
* | | Lots o' bug-fixes toward getting rid of global resources.Luke Kanies2008-01-081-2/+4
| |/ |/| | | | | | | | | We still have about 60 failing tests, but some of them are the failing directory service tests (probably 20 or so), and most are simple fixes to the tests themselves.
* | Fixing #982 -- I have completely removed the GRATR graph libraryLuke Kanies2008-01-071-8/+2
| | | | | | | | from the system, and implemented my own topsort method.
* | Fixing the unit tests for nagios_maker; I could swear I'd alreadyLuke Kanies2008-01-071-2/+3
| | | | | | | | done this but I must not have committed it.
* | Fixed #980 - minor wiki formatting error in nagios_maker.rbJames Turnbull2008-01-021-1/+1
| |
* | Added builtin support for all Nagios resource types.Luke Kanies2007-12-311-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | I use Naginator to parse and generate the files, with ParsedFile to handle record management and the like. Note that each resource type itself is just a call to a Factory method, since everything is just based on Naginator. Given that, all of the tests are in a single unit/ral/types/nagios.rb file, since I used a factory to generate them, too. This is probably either unnecessary or insufficient, but it's as far as I'm willing to go in testing them, and it did actually catch a few bugs.
* | Adding the metaprogramming to create the Nagios typesLuke Kanies2007-12-311-0/+40
|/ | | | | | and Naginator providers. This is basically all of the code that's necessary to create all of the needed Nagios types.
* Further fixes toward #965. Turned out that the previous fixLuke Kanies2007-12-211-1/+2
| | | | | | | caused other problems. This whole thing will hopefully get *drastically* easier once we get rid of global resources.
* Hopefully finally fixing #959. Loading the stored cacheLuke Kanies2007-12-121-1/+1
| | | | | | | | | resulted in the resource duplication, based on how the settings are used, so I added a test to only use those settings if the directories do not exist. This isn't a great fix, but it will suffice until I can kill these resource conflicts once and for all.
* Renaming 'configuration' to 'catalog', fixing #954.Luke Kanies2007-12-111-3/+3
|
* Adding an Indirection reference, along with the workLuke Kanies2007-12-102-1/+6
| | | | necessary to support it.
* Fixing the rest of #948. My previous work was sufficient,Luke Kanies2007-12-101-1/+6
| | | | | | except that I was not passing the interpolated value in to the hook, which meant the libdir was set to something like $vardir/lib.
* Fixing part of #948 -- per-setting hooks are now calledLuke Kanies2007-12-101-15/+38
| | | | | when the configuration file is parsed. The bug is still there, but I'm getting closer.
* Fixing the markup on the pkgdmg provider so it is a bit betterLuke Kanies2007-11-281-1/+1
|
* Fixing #781, from what I can tell. I'm leaving it withLuke Kanies2007-11-271-11/+29
| | | | | no tests for now, since it's a very small chunk of code and it's *insanely* difficult to test this kind problem.
* Fixing the asuser method in Puppet::Util::SUIDManagerLuke Kanies2007-11-271-15/+13
| | | | | | | | so that it correctly just yields if you're not root. It also no longer tries to set :uid or :gid; just :euid and :egid, and it once again sets :egid before it sets :euid, which is important because you usually can't change your group after you've changed your user id.
* Fixing the breakage that I caused when I added the 'declared_feature?'Luke Kanies2007-11-261-1/+1
| | | | method to provider features.
* Rewriting the tests for the package resource type, fixing #930.Luke Kanies2007-11-261-11/+11
|
* Merge branch 'plugins_mount', fixing #891.Luke Kanies2007-11-241-1/+9
|\ | | | | | | | | | | Conflicts: CHANGELOG
| * Integrating Matt Palmer's patch to provide a 'plugins'Luke Kanies2007-11-241-1/+9
| | | | | | | | | | | | | | | | | | | | mount, fixing #891. The patch was ported to the current code by David Schmitt, I applied the rest of Matt's patches, and I then fixed all of the code so that the tests passed. The primary change I had to make to the patch was reenabling host expansion in paths -- his patch had disabled it.
* | Applying patch ↵Luke Kanies2007-11-231-1/+1
|/ | | | 20070913004017-6856b-cdbbba99de0b33b64874205a27833b5114fcc6b9.patch by womble -- Allow empty config settings
* Fixing #886 -- the problem was the I had changed the baseLuke Kanies2007-11-231-0/+5
| | | | | class for Parameter, which apparently lost the 'nodoc' method for that class.
* Added calls to endgrent/endpwent in util/posix.rb toLuke Kanies2007-11-231-0/+7
| | | | fix #791.
* Reverting the changes I'd made toward removing the globalLuke Kanies2007-11-191-1/+1
| | | | | | | | resources. These are commits: c19835ce9f8a5138b30a1a32ca741c996b0916d2 9290cc89a2206fb5204578f8e91208857a48b147 ffb4c2dbc7314b364d25e4f7be599ef05b767b44
* Merge commit 'davids-bugfixes/rest/fix-815-by-using-main-explicitly'Luke Kanies2007-11-182-9/+3
|\