summaryrefslogtreecommitdiffstats
path: root/lib/puppet
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'ticket/0.24.x/1359' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-06-132-1/+2
|\
| * Fixing how the Indirector::Request sets its options.Luke Kanies2008-06-111-0/+1
| | | | | | | | | | | | 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-111-1/+1
| | | | | | | | | | | | | | | | | | | | 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.
* | Try againAndrew Shafer2008-06-101-0/+68
|/ | | | | | 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-104-64/+116
|\ | | | | | | git://github.com/lak/puppet into 0.24.x
| * The mongrel and webrick REST handlers now extract certificate information.Luke Kanies2008-06-093-60/+96
| | | | | | | | | | | | | | | | | | | | | | 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-091-4/+20
| | | | | | | | | | | | | | | | | | 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-091-0/+38
|/ | | | | | (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
|
* Fixing #1242 -- lack of storeconfigs only produces warning, not exception.Luke Kanies2008-05-263-6/+12
| | | | | 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>
* | Always using the cert name to store yaml files, which fixes #1178.Luke Kanies2008-05-262-50/+33
|/ | | | | | | | | | | | | | | | | | | 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
| |
* | Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-231-0/+4
|\|
| * Fixing the node/catalog so that it can convert from parser catalogs to RAL ↵Luke Kanies2008-05-221-0/+4
| | | | | | | | | | | | | | | | | | | | 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-211-2/+4
| | | | | | 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-215-28/+41
|\ | | | | | | | | | | Conflicts: CHANGELOG
| * The ldap user/group providers now work when no users/groups are in ldap yet.Luke Kanies2008-05-212-12/+16
| | | | | | | | | | Previously, they failed if you tried to get them to autogenerate an id, because they assumed that a result would be returned.
| * Adding support for settings within the existing Facter provider confines.Luke Kanies2008-05-203-14/+23
| | | | | | | | | | | | This renames the 'facter' confine to 'variable', and it prefers settings to facts. There shouldn't really be any overlap, so it shouldn't be a problem.
| * Intermediate commit so I can move on to other things.Luke Kanies2008-05-202-2/+2
| |
* | Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-2012-111/+183
|\| | | | | | | | | | | Conflicts: CHANGELOG
| * Removing an unused file. Closes #1229.Luke Kanies2008-05-191-38/+0
| |
| * Merge commit 'plathrop/fix-1228' into 0.24.xLuke Kanies2008-05-191-0/+4
| |\
| | * Another refactor based on feedback from Luke. This includes adding an ↵Paul Lathrop2008-05-181-0/+4
| | | | | | | | | | | | accessor for @@state to make testing a bit cleaner.
| * | Refactoring how the provider confine tests work, again.Luke Kanies2008-05-199-70/+174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now each of the test types is a separate subclass of Confine, so that they can have all of their own logging and summarizing behaviour. Also, added a 'feature' type, which can test for the availability of Puppet features (and log their absence more usefully).
| * | Modified the 'factpath' setting to automatically configureLuke Kanies2008-05-161-3/+5
| | | | | | | | | | | | | | | Facter to load facts there if a new enough version of Facter is used.
* | | Fix for latest method in rpm provider (fixes #1224)James Turnbull2008-05-161-1/+1
| | |
* | | Crontab provider: fix a parse error when a line begins with a space characterJames Turnbull2008-05-161-1/+1
| | | | | | | | | | | | | | | | | | Tests for Bug #1216 Updated CHANGELOG
* | | Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-166-95/+199
|\| |
| * | Moving all confine code out of the Provider class, and fixing #1197.Luke Kanies2008-05-154-73/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | I created a Confiner module for the Provider class methods, and then I enhanced the interface between it and the Confine class to make sure binary paths are searched for fresh each time. This fixes #1197, which was a result of binary paths being searched for at startup, rather than at execution.
| * | Switching the Provider class to use the new Confiner class.Luke Kanies2008-05-151-68/+11
| | |
| * | Moving the 'confine' handling to separate classes.Luke Kanies2008-05-152-0/+117
| | |
| * | Added the ability to add arbitrary attributes to ldap.Gunnar Wrobel2008-05-152-0/+33
| |/ | | | | | | This fixes #1179.
* / Fix for #1219James Turnbull2008-05-151-3/+1
|/ | | | | | | | | | | Instead of deleting the init scripts (with --del) we should simply disable it with chkconfig service off, and respectfully do the same for enable => true; Updated CHANGELOG Fix for #1219. Instead of deleting the init scripts (with --del) we should simply disable it with chkconfig service off, and respectfully do the same for enable => true;
* Merge commit 'ctrlaltdel/ssh-authorized-key' into 0.24.xLuke Kanies2008-05-142-5/+1
|\
| * Cosmetic fixFrancois Deppierraz2008-05-091-2/+1
| |
| * Removed "none" as a valid type attribute value, it was useless anywayFrancois Deppierraz2008-05-091-3/+0
| |
* | Correcting whitespace in the templatewrapper code.Luke Kanies2008-05-131-6/+6
| | | | | | | | Also slightly modified the wording of some of the tests.
* | Adding has_variable? support, fixing ticket #1177Adam Jacob2008-05-131-0/+9
| |
* | Merge branch 'authorized_keys' into 0.24.xLuke Kanies2008-05-122-0/+97
|\|