summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
| * Adding support for settings within the existing Facter provider confines.Luke Kanies2008-05-207-38/+65
| | | | | | | | | | | | 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-203-2/+12
| |
* | Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-2025-350/+864
|\| | | | | | | | | | | Conflicts: CHANGELOG
| * Removing an unused file. Closes #1229.Luke Kanies2008-05-191-38/+0
| |
| * Mocking Facter in an integration test, so it works with no networkingLuke Kanies2008-05-191-0/+6
| |
| * Merge commit 'plathrop/fix-1228' into 0.24.xLuke Kanies2008-05-192-0/+241
| |\
| | * Minor cosmetic changes to cleanup some style elements and get rid of some cruft.Paul Lathrop2008-05-181-22/+23
| | |
| | * Another refactor based on feedback from Luke. This includes adding an ↵Paul Lathrop2008-05-182-19/+27
| | | | | | | | | | | | accessor for @@state to make testing a bit cleaner.
| | * Refactored tests based on feedback from Luke.Paul Lathrop2008-05-171-176/+169
| | |
| | * Rewritten tests for Puppet::Util::Storage.Paul Lathrop2008-05-171-44/+211
| | |
| | * Add unit tests for Puppet::Util::StoragePaul Lathrop2008-05-171-0/+72
| | |
| * | Refactoring how the provider confine tests work, again.Luke Kanies2008-05-1917-307/+589
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-163-3/+26
| | | | | | | | | | | | | | | Facter to load facts there if a new enough version of Facter is used.
| * | Fixing a mock in the redhat interface test.Luke Kanies2008-05-161-2/+2
| | | | | | | | | | | | | | | It mocked :exists? instead of :exist?, and my provider work changed the method call because :exists? is going away in ruby.
* | | Updated puppetd documentation which fixes ticket #1227James Turnbull2008-05-171-2/+6
| | |
* | | 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-163-4/+40
| | | | | | | | | | | | | | | | | | Tests for Bug #1216 Updated CHANGELOG
* | | Merge branch '0.24.x' of git://github.com/lak/puppet into 0.24.xJames Turnbull2008-05-1630-153/+770
|\| |
| * | Moving all confine code out of the Provider class, and fixing #1197.Luke Kanies2008-05-158-151/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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-152-75/+27
| | |
| * | Moving the 'confine' handling to separate classes.Luke Kanies2008-05-154-0/+405
| | |
| * | Duh, fixing all of the paths being loaded for spec in the moved tests.Luke Kanies2008-05-1519-44/+54
| | |
| * | Moving all tests that are in 'ral' up a level.Luke Kanies2008-05-1518-0/+0
| | | | | | | | | | | | | | | This directory only existed as an organizational method, and the code never matched it, so I'm fixing it.