summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge branch 'ticket/0.24.x/1243' of git://github.com/littleidea/puppet into ↵James Turnbull2008-06-151-12/+13
|\ \ | |/ |/| | | 0.24.x
| * Removed the unless condition in query, because the issue is a stale cachedAndrew Shafer2008-06-141-12/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | value and added comments that query will now always do so. The query method is only called in two places, from inside 'install' in yum.rb and from inside 'uninstall' in rpm. This behavior only happens when you have a lower version than the one you are 'ensuring'. Since the right package actually gets installed, the system is in sync next time, but the event of installation is lost and subscribing resources will never get it.
* | Merge branch 'ticket/0.24.x/1215' of git://github.com/littleidea/puppet into ↵James Turnbull2008-06-152-41/+5
|\ \ | | | | | | | | | 0.24.x
| * | Issue 1215Andrew Shafer2008-06-132-41/+5
| | | | | | | | | | | | | | | | | | Removed logic to reuse parser and log on server when there is a parsing error. Now we just make a new parser and if there is an error, raise it up, which will result in errors on the client logs.
* | | Fix bug in test, add more specs and small refactorAndrew Shafer2008-06-142-35/+86
| |/ |/| | | | | | | | | | | The tests were failing when run on a machine with certs on the file system Stub out failure to read where appropriate Worked fine at my desk :(
* | Adding another note about the save_object stub.Luke Kanies2008-06-131-0/+3
| |
* | Fixing #1362 -- I had previously removed a stub point needed for testing.Luke Kanies2008-06-131-1/+7
| | | | | | | | | | | | | | There was a save_object method in the http/handler module, but it seemed unnecessary and was undocumented. I don't know I missed it causing failures, but I've added it back with appropriate documention.
* | Removing a duplicate call left over from debuggingLuke Kanies2008-06-131-1/+0
| |
* | Replacing all two-space indents with four-spaceLuke Kanies2008-06-139-553/+553
| |
* | Adding ruby interpreter lines to the tests missing them.Luke Kanies2008-06-135-2/+12
| |
* | Adding execute bits to every test currently missing them.Luke Kanies2008-06-1313-0/+0
|/
* Merge branch 'ticket/0.24.x/1359' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-134-5/+14
|\
| * Fixing how the Indirector::Request sets its options.Luke Kanies2008-06-112-0/+9
| | | | | | | | | | | | I wasn't testing whether the options where still a hash, and an 'inject' loop wasn't returning correctly, so the options weren't being set correctly.
| * Fixing how the indirection tests for whether the request has node info.Luke Kanies2008-06-112-5/+5
| | | | | | | | | | | | | | | | | | | | My request authorization code changed the request to set its 'node' instance variable, rather than using its options, and I apparently didn't change the Indirection class to do this. I have *no* idea how these tests were passing before -- they passed for me yesterday but failed for Andrew, and today they started failing for me. Frightening.
* | Change description of spec to make baby jesus happyAndrew Shafer2008-06-101-2/+2
| | | | | | | | FAIL
* | Try againAndrew Shafer2008-06-103-30/+151
|/ | | | | | Add the class to handle certs, specs and modify puppetd should fix 1190, 1199, 1200
* Merge branch 'feature/authenticated_rest_requests' of ↵James Turnbull2008-06-107-157/+376
|\ | | | | | | git://github.com/lak/puppet into 0.24.x
| * The mongrel and webrick REST handlers now extract certificate information.Luke Kanies2008-06-095-153/+332
| | | | | | | | | | | | | | | | | | | | | | All requests should now have an ipaddress add to them, they should always be marked authenticated or not, and they should have the certificate name set as their 'node' if a certificate is present. They both use the same methods they use for xmlrpc, although there's no common code, to facilitate deprecation of xmlrpc.
| * Adding to the indirection request support for authentication information.Luke Kanies2008-06-092-4/+44
| | | | | | | | | | | | | | | | | | This basically consists of the node name (i.e., the certificate name), the IP, and whether the request is authenticated (which is determined by whether it provided a valid certificate). Now the two REST classes (mongrel and webrick) need to correctly pass this information to the indirection calls they make.
* | Applying the fixes recommended by David Schmitt to the inline documentation ofLuke Kanies2008-06-091-4/+4
| | | | | | | | the ResourceTemplate class.
* | Updating the docs for ResourceTemplate.Luke Kanies2008-06-091-0/+23
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Adding a class for using templates directly within resourcesLuke Kanies2008-06-093-0/+101
|/ | | | | | (i.e., client-side templates). This would really only be used for composite resources that pass the results of the template on to generated resources.
* Updated fix for ticket #1271James Turnbull2008-05-311-1/+1
|
* Applied patch for ticket #1271James Turnbull2008-05-301-3/+8
|
* Further Emacs puppet-mode fixesRuss Allbery2008-05-301-15/+15
| | | | | | | | | | | | More correctly handle indentation of lines enclosed in [] when the contents themselves contain [], such as arrays of object references for requires. Exclude newlines from more of the parsing regexes for more accurate results. Fontify references to objects even if they're not at the start of a line.
* Merge branch 'ticket/1267' into 0.24.xJames Turnbull2008-05-282-2/+5
|\
| * Fixes for install.rb running of tests that fixes #1267James Turnbull2008-05-272-2/+5
| |
* | Fixed Rakefile to install non-.rb files to fix #1266James Turnbull2008-05-271-1/+1
| |
* | Fixing #1242 -- lack of storeconfigs only produces warning, not exception.Luke Kanies2008-05-265-6/+24
|/ | | | | Exporting or collecting resources no longer raises an exception when no storeconfigs is enabled, it just produces a warning.
* Merge branch 'tickets/1264' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-271-60/+1
|\
| * Moving the majority of the pkgdmg docs to the wiki, fixing #1264.Luke Kanies2008-05-261-60/+1
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Merge branch 'tickets/1265' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-271-0/+1
|\ \
| * | Fixing #1265 -- the ca/client tests now all pass again.Luke Kanies2008-05-261-0/+1
| |/
* / Always using the cert name to store yaml files, which fixes #1178.Luke Kanies2008-05-266-157/+148
|/ | | | | | | | | | | | | | | | | | | The Master handler previously provided the support for the :node_name setting, and that functionality has now been moved into the Node class. At the same time, the names to search through have been changed somewhat: Previously, the certificate name and the hostname were both used for searching, but now, the cert name is always searched first (unless node_name == facter), but only the Facter hostname, domain, and fqdn are used otherwise. We no longer split the cert name, only the hostname/domain/fqdn. In the general case, this provides no behaviour change, because people's hostname is the same as their certname. This only results in a change in behaviour if you specify a certificate name that is a normal node name, and you want to look that node up by something other than the full name in the certificate. Signed-off-by: Luke Kanies <luke@madstop.com>
* Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-241-1/+0
|\
| * Removing extra debuggingLuke Kanies2008-05-221-1/+0
| |
* | Put function in ticket #311 in correct locationJames Turnbull2008-05-241-0/+16
| |
* | Reverted function - "Added cron random function fixing ticket #311"James Turnbull2008-05-241-15/+0
| | | | | | | | This reverts commit d54338f8921b4b2973dcde52576d7e9fa58148cb.
* | Refactoring warnings.rb for tests.Paul Lathrop2008-05-231-0/+7
| |
* | Fixing an inaccurate test so the tests will run correctly in all branches.Paul Lathrop2008-05-231-3/+1
| |
* | Fixing tests that are broken when running as root under OSX 10.5Paul Lathrop2008-05-234-2/+13
| |
* | Added warnings test and cleaning up trailing whitespace.Paul Lathrop2008-05-231-0/+35
| |
* | Fixed a bug in my tests which caused them to fail when run against the ↵Paul Lathrop2008-05-231-0/+4
| | | | | | | | master branch.
* | Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-232-0/+24
|\|
| * Fixing the node/catalog so that it can convert from parser catalogs to RAL ↵Luke Kanies2008-05-222-0/+24
| | | | | | | | | | | | | | | | | | | | catalogs. It largely worked previously, except when aliases were set, which require catalogs. This now converts all parser resources to trans_objects then to RAL resources, and sets the catalog in the meantime. This allows aliases to work just fine when converting directly from parser catalogs to RAL catalogs.
* | Added cron random function fixing ticket #311James Turnbull2008-05-221-0/+15
| |
* | Pushed patch fixing #1235James Turnbull2008-05-221-0/+2
|/
* Fixing transaction support for prefetching generated resources.Luke Kanies2008-05-213-11/+54
| | | | | | Previously, we prefetched then generated, which caused generated resources that needed prefetching not to work. This just reorders the calls, so generated resources now get prefetched.
* Merge branch 'ldap_fixes' into 0.24.xLuke Kanies2008-05-2111-60/+120
|\ | | | | | | | | | | Conflicts: CHANGELOG
| * The ldap user/group providers now work when no users/groups are in ldap yet.Luke Kanies2008-05-214-29/+52
| | | | | | | | | | Previously, they failed if you tried to get them to autogenerate an id, because they assumed that a result would be returned.