summaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* dbfix - fix typo and close another possible inconsistencyBrice Figureau2009-03-041-3/+37
| | | | | | | | | | | This patch fixes a typo in one request producing a SQL error. It also close an issue where param_values could point to inexistant param_names after the deduplications of those. It does this by rewriting the param_values to point to the highest id of the param_names of the same name. The same operation is performed on the tags. Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com>
* Further fix to #1910James Turnbull2009-03-041-1/+1
|
* This script fixes the most common issues with inconsistentJames Turnbull2009-02-281-0/+98
| | | | | | | | | | | | | | storeconfigs database (including duplicate resources record, duplicate param_values records, dangling records...). Usage: stop all puppetmasters backup your database! % cat ext/dbfix.sql | mysql puppet relaunch all puppetmasters Signed-off-by: Brice Figureau <brice-puppet@daysofwonder.com> ---
* Fixed #1910 - updated logcheckJames Turnbull2009-02-261-1/+2
|
* Removed site from Puppet VIM syntaxJames Turnbull2009-02-141-1/+1
|
* Fixed #1936 - Added /* */ support to the vim fileJames Turnbull2009-02-111-0/+1
|
* Fixed #1767 - Minor fix to emacs modeJames Turnbull2008-11-241-1/+1
|
* Fixed #1603 - Added support for running Puppet inside a Rack applicationJames Turnbull2008-09-303-0/+132
|
* Updates to ext/puppetlast to support multiple hostsJames Turnbull2008-08-201-1/+1
|
* Fixed #1394 - Added stored configuration clearing script to /extmh2008-08-171-0/+87
|
* Specs for yaml indirector .search - I'm still learning!James Turnbull2008-08-011-27/+0
| | | | 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
|
* Revert "Fixing puppetlast to make it work with 0.24.5 / 0.25."James Turnbull2008-08-011-17/+22
| | | | This reverts commit 971af69b7388cf5155bb124246f2a697578cc6e9.
* 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
* 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>
* Further moves from the examples directory and ext directoryJames Turnbull2008-07-1510-216/+0
|
* Moved debian to conf and updated examples directoryJames Turnbull2008-07-1010-0/+283
|
* Adding changes to config print that were missed in fix for 1183Andrew Shafer2008-07-031-2/+3
|
* 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.
* Added the ability to add arbitrary attributes to ldap.Gunnar Wrobel2008-05-151-1/+6
| | | | This fixes #1179.
* adding more autotest docsLuke Kanies2008-05-131-0/+7
|
* Adding autotest info to the ext/ directory.Luke Kanies2008-05-133-0/+60
| | | | | Adding the autotest config, instructions, and a Rakefile that can install it.
* Fix Emacs mode indentation of multiple nested blocksRuss Allbery2008-05-121-7/+13
| | | | | | | | | | | | Indentation of multiple nested blocks was broken; the closing braces of all the outer blocks were put into column 0 because finding the block indentation failed. Do normal indentation if finding a block indentation fails, but more importantly, be smarter about searching backwards to find the beginning of the current block, taking balanced braces into account. There is probably some less-ugly and more Emacs-native way of doing this.
* Enhancements to syntax highlighting and indentation for EmacsRuss Allbery2008-05-121-125/+159
| | | | | | | | | | | | | | | | | | | | | | | | More correctly handle multiple resources in a block, such as: type { "name": attr => foo, oattr => bar; "other": attr => baz; } Handle continued arguments in parentheses, such as define or realize arguments. Try to be a bit more robust about indenting in general. Add the remaining Puppet language keywords (I think) and improve the handling of type references at the top level. Remove the hack for continued include lines and fix it properly. Remove more non-Puppet code left over from the mode this one was based on. Use a more straightforward method of setting up the font-lock keywords and do it the same way for both XEmacs and Emacs since I think they can both handle the current method (and other modes agree).
* Use our own count-matches for Emacs 21 compatibilityRuss Allbery2008-05-121-1/+10
| | | | | | Replace count-matches with a puppet-count-matches function that does the same as the Emacs 22 count-matches. The Emacs 21 count-matches is different and not useful for our purposes.
* Added puppetlast script to ext directoryJames Turnbull2008-04-191-0/+40
|
* Fixing the executables to use the new indirection api.Luke Kanies2008-04-081-1/+1
|
* Additional fix for emacs syntax for ticket #1160James Turnbull2008-04-041-5/+5
|
* Revert "Additional fix to emacs for ticket #1160"James Turnbull2008-04-041-5/+5
| | | | This reverts commit bb65226e54d5e476581118e7c2c5e42275a6b290.
* Additional fix to emacs for ticket #1160James Turnbull2008-04-041-5/+5
|
* Committed patch from #1160James Turnbull2008-04-031-76/+89
|
* Fixed duplicate oid for parentnode and environment in schema - addresses #1170James Turnbull2008-04-011-1/+1
|
* Added check_puppet.rb Nagios check plugin (See #1162)James Turnbull2008-03-271-0/+117
|
* Found all instances of methods where split() is used withoutLuke Kanies2008-03-211-1/+2
| | | | | | | | | | any local variables and added a local variable -- see http://snurl.com/21zf8. My own testing showed that this caused memory growth to level off at a reasonable level. Note that the link above says the problem is only with class methods, but my own testing showed that it's any method that meets these criteria. This is not a functional change, but should hopefully be the last nail in the coffin of #1131.
* * puppet/ext/emacs/puppet-mode.el (puppet-indent-line): Clean up the code ↵Karl Fogel2008-03-201-8/+8
| | | | somewhat after commit 738d275f41f3eaf015800021dd2dfe6c42a1ae79, as promised.
* * puppet/ext/emacs/puppet-mode.el (puppet-indent-line): Be more ↵Karl Fogel2008-03-201-0/+3
| | | | | | | sophisticated about what we do at the beginning of the buffer, so that the first expression after an block-opening statement that happens to begin at the beginning of the buffer gets indented correctly. This may need some cleanup, but I wanted to get the correct behavior committed first. Reported by: Micah Anderson (Who again supplied the reproduction case.)
* Fix bug mentioned in commit f814e23eab140ad01df4a4a3b187fcbf20da02be:Karl Fogel2008-03-201-2/+2
| | | | | | | | | * puppet/ext/emacs/puppet-mode.el (puppet-indent-line): When iterating backwards, test for beginning-of-buffer first, to avoid an infinite loop. Reported by: Micah Anderson (He also supplied a clear reproduction recipe.)
* * ext/emacs/puppet-mode.el (puppet-comment-line-p, puppet-in-array): New ↵Karl Fogel2008-03-201-29/+88
| | | | | | | | | | | helper functions. (puppet-indent-line): Rewrite to handle three more situations: indent elements in an array, indent single-line blocks, and ignore previous comment content when indenting non-comment lines. Suggested by: Micah Anderson (He also provided the test data.) Notes: Michah points out that this change may have introduced an infinite loop (he can cause Emacs to hang now). Will investigate and fix in a separate change.
* * ext/emacs/puppet-mode.el: Untabify, in preparation for substantive changes.Karl Fogel2008-03-201-61/+61
|
* Adding a filebucket test to puppet-testLuke Kanies2008-03-161-8/+17
|
* Adding a test for local compilingLuke Kanies2008-03-161-4/+13
|
* Using the indirected facts rather than master.getfacts, so no factsync is usedLuke Kanies2008-03-161-2/+4
|
* Partially fixing #1113: LDAP nodes now support environments,Luke Kanies2008-03-061-1/+6
| | | | and the schema has been updated accordingly.
* Significantly refactoring the lexer, including adding Token and TokenListLuke Kanies2008-01-301-2/+2
| | | | | | classes for managing how the tokens work. I also moved they tests to RSpec, but I didn't rewrite all of them.
* Merge commit 'turnbull/0.24.x' into 0.24.xLuke Kanies2008-01-191-0/+5
|\
| * Fixed ticket #1005 - added additional logcheck linesJames Turnbull2008-01-141-0/+5
| |
* | Adding a parse test to puppet-test.Luke Kanies2008-01-181-5/+28
|/
* Fixed ticket #978 - logcheck/puppetJames Turnbull2008-01-011-0/+2
|
* Updating filetype detection for vim, and changingLuke Kanies2007-12-194-9/+4
| | | | the filestructure for vim files. (#900 and #963)
* Renaming 'configuration' to 'catalog', fixing #954.Luke Kanies2007-12-112-5/+5
|