summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Added simple rake task for running unit testsJames Turnbull2008-08-242-0/+7
| | |
* | | Added spec Rake taskJames Turnbull2008-08-232-0/+16
| | |
* | | Fix leaking LoadedFile when adding templates to be watchedAndrew Shafer2008-08-232-13/+26
| | |
* | | Merge branch 'tickets/0.24.x/1506' into 0.24.xJames Turnbull2008-08-232-8/+17
|\ \ \
| * | | id column is autogenerated by rails as a primary key, there is no needBrice Figureau2008-08-222-8/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | to create an additional index on this column. This changeset contains the new schema and a migration. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | | | Fixed #1506 - Removed storeconfig duplicate indexesJames Turnbull2008-08-231-0/+2
|/ / /
* | / Removed reference to namespaces from --genconfig documentationJames Turnbull2008-08-211-4/+0
| |/ |/|
* | Updates to ext/puppetlast to support multiple hostsJames Turnbull2008-08-201-1/+1
| |
* | Fixed #1508 - Add HP-UX package provider.Mark Plaksin2008-08-203-0/+95
| |
* | Updating the authors list for the gem specLuke Kanies2008-08-181-0/+1
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fix #1502 - abysmal storeconfig performance - part2Brice Figureau2008-08-172-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Resource parameters whose values are a resource reference (ie require, notify...) where always DELETEd/INSERTed because the code comparing resource reference compared object instances instead of their values (since Puppet::Parser::Resource::Reference doesn't override == ), leading to storeconfig performance issues. The correct fix would have been to define == in Puppet::Parser::Resource::Reference but that might introduce some side effects I don't know. Hence, the fix introduces a local compare() method that knows how to compare Puppet::Parser::Resource::Reference. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | Fix #1052 - abysmal storeconfig performance - part1Brice Figureau2008-08-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Resources whose references are of the form: Main::Sub1::Sub2 are extracted from the database under the form: Main::sub1::sub2 Puppet then fails to match them against compiled resources of same references which are capitalized as they should, and tries to overwrite them on every storeconfig run, leading to tons of cascading DELETE/INSERT, hurting performance. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* | Fix #1510 - storeconfig fails with rails 2.1Brice Figureau2008-08-172-5/+7
| | | | | | | | | | | | | | | | This is a workaround. Since rails seems to have difficulties to map associations to Puppet classes, we explain it carefully what to expect. Changelog
* | Add the -P/--ping option to puppetrun, fixes #1501AJ Christensen2008-08-172-7/+17
| | | | | | | | | | | | Turns on the ICMP echo testing against the target host. Defaults to off. 111111111
* | Fixes #1274 - allow class names to start with numbersJames Turnbull2008-08-172-1/+10
| |
* | Fixed #1394 - Added stored configuration clearing script to /extmh2008-08-172-0/+89
| |
* | Fixed #1442 - replaced use of Facter for report titling with certnameJames Turnbull2008-08-162-7/+3
| |
* | Fixed $1456 - add proxy configuration to yum repoJames Turnbull2008-08-133-3/+27
| |
* | Fixing #1447 -- Replacing Puppet::PackageError with Puppet::Error.Luke Kanies2008-08-122-4/+4
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Added tests for TemplateWrapper's use of Scope#to_hash.Luke Kanies2008-08-092-12/+22
| | | | | | | | | | | | We should deprecate the method_missing stuff in 0.25. Signed-off-by: Luke Kanies <luke@madstop.com>
* | Fixing an ldap connectivity testLuke Kanies2008-08-091-3/+13
| | | | | | | | Signed-off-by: Luke Kanies <luke@madstop.com>
* | Added CHANEGLOG entry for removal of interface typeJames Turnbull2008-08-081-0/+2
| |
* | fix terrible error with overwriting permissionsNigel Kersten2008-08-061-1/+1
| |
* | Fixed #1457 - removed confine warningJames Turnbull2008-08-062-1/+3
| |
* | A working script to create an OS X pkg out of the Puppet repositoryJames Turnbull2008-08-014-3/+241
| |
* | Fixed #1441 - Updated console coloursJames Turnbull2008-08-011-14/+22
| |
* | Add testing for the changes to resolve redmine #1427, where Kernel methods ↵Daniel Pittman2008-08-012-11/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | shadow variables that the puppet template should otherwise see. Specific changes: * Added testing of the Scope#to_hash method, which returns a hash of name and value pairs in a scope or, optionally, in the scope and enclosing scopes. * Use member variables rather than methods in the function tests. * Fix up tests that fail once we move over to instance variables rather than methods: Puppet can no longer detect an undefined variable reference, so we end up failing any test that expected to get a parser error. * Several tests have manual checks introduced to simulate an end user manually writing the checks that used to be automatic, and others drop the validation that parsing fails when a variable is not in scope. * Added tests for legacy variable lookup and that the shadowing of local variables by Kernel methods is still in effect. Signed-off-by: Daniel Pittman <daniel@rimspace.net> (cherry picked from commit 5c5f315cceadc52203e53883b77bc01c1d7a2e7f)
* | Expose all puppet variables as instance member variables of the template ↵Daniel Pittman2008-08-012-13/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrapper. This helps resolve redmine #1427, by providing a safe mechanism to access variables. * Implement Puppet::Parser::Scope#to_hash, which returns a hash containing all the variable bindings in the current and, optionally, parent scope. * Use that to set instance member variables into Puppet::Parser::Templatewrapper * Report the time taken for variable binding at debug level, to help identify any performance regression that is encountered in the real world. * Rename the @scope and @file members of the template wrapper, to avoid clashing with a scope variable exposed within puppet. Signed-off-by: Daniel Pittman <daniel@rimspace.net> (cherry picked from commit ba220b41e4f509f2632e2664d332e49b20a70ea7)
* | Ensure that we consistently use either string #{} interpolation or String.%Daniel Pittman2008-08-016-16/+23
| | | | | | | | | | | | | | interpolation, not both, to avoid issues where a #{} interpolated value contains a % character. Signed-off-by: Daniel Pittman <daniel@rimspace.net>
* | Feature #1476: Allow specification of --bindir --sbindir --sitelibdir ↵Nigel Kersten2008-08-011-19/+64
| | | | | | | | --mandir --destdir in install.rb
* | Specs for yaml indirector .search - I'm still learning!James Turnbull2008-08-012-27/+29
| | | | | | | | Updated, I was calling .base myself instead of the actual string
* | Made puppetlast work on 0.24.5 by using the YAML indirectorAJ Christensen2008-08-011-5/+7
| |
* | Added a search method to the YAML indirector.AJ Christensen2008-08-011-1/+10
| | | | | | | | This performs a glob on the YAML directory, and instances everything it finds
* | Revert "Fixing puppetlast to make it work with 0.24.5 / 0.25."James Turnbull2008-08-011-17/+22
| | | | | | | | This reverts commit 971af69b7388cf5155bb124246f2a697578cc6e9.
* | Fixes #1417 - whitespace in ssh_auth_key providerJames Turnbull2008-07-301-1/+1
| |
* | Sync with latest Fedora/EPEL specfileDavid Lutterkort2008-07-291-2/+24
| |
* | Feature #1241 : Improve performance of group lookupsJames Turnbull2008-07-293-16/+89
| |
* | Bug #1448: Puppet CA incorrectly writes out all certs to inventory .txt on ↵Nigel Kersten2008-07-291-2/+3
| | | | | | | | each certificate signing
* | Fixing puppetlast to make it work with 0.24.5 / 0.25.AJ Christensen2008-07-261-22/+17
|/ | | | Tidied up some of the code a little
* Incremented versionsJames Turnbull2008-07-222-2/+5
|
* Merge branch '0.24.x' of git@github.com:jamtur01/puppet into 0.24.xJames Turnbull2008-07-220-0/+0
|\ | | | | | | | | | | | | | | Conflicts: lib/puppet/provider/service/redhat.rb nothing to commit (working directory clean)
| * Fixes #1445 and #1426James Turnbull2008-07-221-1/+5
| |
* | Fixes #1445 and #1426James Turnbull2008-07-221-1/+6
|/
* Fixing the renaming code to skip missing directories.Luke Kanies2008-07-211-1/+4
| | | | | | | | I couldn't get this to fail in a targeted regression test, but if it's not working, it causes a failure in the webrick tests. Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing puppet_module -- it needed the same node interface change.Luke Kanies2008-07-211-1/+1
| | | | | | I wonder if anyone's actually using this... Signed-off-by: Luke Kanies <luke@madstop.com>
* Fixing a cert test to pass on Darwin.Luke Kanies2008-07-212-17/+27
| | | | | | | Darwin has a case-insensitive FS, so the test was failing because it was specifically testing case sensitivity. Signed-off-by: Luke Kanies <luke@madstop.com>
* Revert "Merging fsweetser's selinux patch against 0.24.4"James Turnbull2008-07-207-444/+0
| | | | This reverts commit f16da4250c16aeab932a81a349df059c69d7ee23.
* Merging fsweetser's selinux patch against 0.24.4Brett Lentz2008-07-207-0/+444
|
* 'Fix' broken tests related to missing source raisingAndrew Shafer2008-07-201-18/+2
| | | | | | Issue 1437 In two cases, I removed the assertion that caused the failure. In one case, I changed the assertion to expect an exception.
* Fixing #1438 -- mongrel and module tests now pass.Luke Kanies2008-07-202-2/+6
| | | | Signed-off-by: Luke Kanies <luke@madstop.com>