2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00
Commit Graph

2668 Commits

Author SHA1 Message Date
Stig Sandbeck Mathisen
155a8dbd8c Merge pull request #539 from ssm/fix/syntax-errors
Add syntax checking, and fix all syntax errors
2014-10-05 21:15:30 +02:00
Stig Sandbeck Mathisen
3bb0f8a342 Remove todo list, all tests pass
[ci skip]
2014-10-05 20:47:12 +02:00
Stig Sandbeck Mathisen
ff4c91acb8 Place "use threads" within "eval" to make it pass syntax checks on travis-ci 2014-10-05 20:38:16 +02:00
Stig Sandbeck Mathisen
632c24d0a9 Save with UNIX line breaks 2014-10-05 20:30:52 +02:00
Stig Sandbeck Mathisen
2a638429c5 Update t/todo.org with new numbahs
[ci skip]
2014-10-05 20:27:19 +02:00
Stig Sandbeck Mathisen
8dda09085a Handle missing rabbitmqctl 2014-10-05 20:14:14 +02:00
Stig Sandbeck Mathisen
bb206faee6 Fix mis-spelled variable names 2014-10-05 20:13:20 +02:00
Stig Sandbeck Mathisen
679a3ce7be Check if we are running as a user required by rabbitmqctl 2014-10-05 20:12:44 +02:00
Stig Sandbeck Mathisen
2583b9fb70 Update documentation 2014-10-05 20:12:15 +02:00
Stig Sandbeck Mathisen
8974c45c96 Remove unimplemented but advertised "autoconf" 2014-10-05 20:11:42 +02:00
Stig Sandbeck Mathisen
fefcad986e Work around false positive in checkbashisms
- Nothing wrong with the plugin, but checkbashisms triggers on the
   presence of a variable called $HOSTNAME

 - Changing the variable name in the plugin is the "easy way out".
2014-10-05 15:49:54 +02:00
Stig Sandbeck Mathisen
149c09ddc8 Fix syntax error in regular expression string 2014-10-05 15:47:22 +02:00
Stig Sandbeck Mathisen
ad9a1aac23 Update todo list
[ci skip]
2014-10-05 15:32:35 +02:00
Stig Sandbeck Mathisen
ab5dfc2bba No need to test verbosely anymore 2014-10-05 14:57:45 +02:00
Stig Sandbeck Mathisen
cd6dafa842 Rewrite hard-to-read shell oneliner 2014-10-05 14:41:16 +02:00
Stig Sandbeck Mathisen
6281364b67 use "trap" to remove temporary file 2014-10-05 14:40:19 +02:00
Stig Sandbeck Mathisen
e586cd5cb4 remove "-rauto_gem" from hashbang 2014-10-05 12:56:45 +02:00
Stig Sandbeck Mathisen
e33c35ffc3 Update TODO list
[ci skip]
2014-10-05 11:52:56 +02:00
Stig Sandbeck Mathisen
f007901b64 Check python scirpts with "py_compile"
- leaves a mess behind, but works
2014-10-05 11:24:14 +02:00
Stig Sandbeck Mathisen
08f196eb10 perltidy a bit 2014-10-05 11:23:53 +02:00
Stig Sandbeck Mathisen
1123a5f971 Remove OK tests from todo list
[ci skip]
2014-10-05 02:00:11 +02:00
Stig Sandbeck Mathisen
ac8db54cb1 Use eval EXPR to load Munin::Plugin, for automated tests 2014-10-05 01:49:23 +02:00
Stig Sandbeck Mathisen
76e4b0332c Add DateTime::Format::ISO8601, needed for tests 2014-10-05 01:45:57 +02:00
Stig Sandbeck Mathisen
67470547f0 Use eval around hard-to-find perl modules 2014-10-05 01:28:29 +02:00
JoomlaStats
2cd434860c Update joomla-sessions
Just a small typo that may be confusing
2014-10-05 01:19:22 +02:00
Stig Sandbeck Mathisen
a9d8c62541 add todo list for tests 2014-10-05 00:53:39 +02:00
Stig Sandbeck Mathisen
fa0c04bb4a Use /usr/bin/perl, not @@PERL@@, as interpreter 2014-10-05 00:28:05 +02:00
Stig Sandbeck Mathisen
31361e95a5 Use /bin/bash as interpreter
- uses "echo -en"
2014-10-05 00:27:25 +02:00
Stig Sandbeck Mathisen
82cf6ec8b0 Merge branch 'feature/syntax-check' into fix/syntax-errors 2014-10-05 00:18:48 +02:00
Stig Sandbeck Mathisen
c4c0a9872c Use /usr/bin/perl, not @@PERL@@ as interpreter 2014-10-05 00:18:43 +02:00
Stig Sandbeck Mathisen
2882ff54d6 Be verbose 2014-10-05 00:17:33 +02:00
Stig Sandbeck Mathisen
beca89999e Handle perl -T checks 2014-10-05 00:17:23 +02:00
Stig Sandbeck Mathisen
41ca108b49 Merge branch 'feature/syntax-check' into fix/syntax-errors 2014-10-04 23:53:29 +02:00
Stig Sandbeck Mathisen
9b01da77ba improve output and disable python checks for now 2014-10-04 23:52:40 +02:00
Stig Sandbeck Mathisen
b407ae17ca Save with UNIX line breaks 2014-10-04 22:29:27 +02:00
Stig Sandbeck Mathisen
96f2bc003a Use single bracket for test, keeping /bin/sh as interpreter 2014-10-04 22:27:32 +02:00
Stig Sandbeck Mathisen
5fe31e0c38 Fix comparison to be /bin/sh compliant 2014-10-04 22:23:52 +02:00
Stig Sandbeck Mathisen
81fd4c97c3 Save with UNIX line breaks 2014-10-04 22:21:35 +02:00
Stig Sandbeck Mathisen
73e23cb7ba use /bin/bash as interpreter for bash script 2014-10-04 22:21:02 +02:00
Stig Sandbeck Mathisen
6c9ad881ae fix unterminated string 2014-10-04 22:20:32 +02:00
Stig Sandbeck Mathisen
1c67e3d648 Save with UNIX line breaks 2014-10-04 22:19:38 +02:00
Stig Sandbeck Mathisen
ea4a0c6244 Change "&>" bashism to "> ... 2>&1", keeping the script as /bin/sh 2014-10-04 22:15:24 +02:00
Stig Sandbeck Mathisen
a55f4e4a4d remove dead code block using an unknown variable
- same "if" test in the block above, so this would never be reached
2014-10-04 22:14:17 +02:00
Stig Sandbeck Mathisen
e7125ea079 Tell ruby that this script contains UTF-8 characters 2014-10-04 22:09:30 +02:00
Stig Sandbeck Mathisen
78e3f78071 Use UNIX line breaks 2014-10-04 22:05:54 +02:00
Stig Sandbeck Mathisen
010011efe8 Use "=" for comparison with /bin/sh 2014-10-04 22:03:52 +02:00
Stig Sandbeck Mathisen
da59e03cf2 Save with UNIX line endings 2014-10-04 21:55:16 +02:00
Stig Sandbeck Mathisen
c03cd065c2 Merge branch 'feature/syntax-check' into fix/syntax-errors 2014-10-04 21:50:26 +02:00
Stig Sandbeck Mathisen
673303f127 "handle" expect scripts by pretending syntax is ok 2014-10-04 21:49:45 +02:00
Stig Sandbeck Mathisen
5d0b617cd2 Use /bin/bash as interpreter for bash script 2014-10-04 21:46:21 +02:00