flapjack 0.6.28 → 0.6.29

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,28 @@
1
+ #!/bin/bash
2
+ #
3
+ # flapper
4
+ #
5
+
6
+ PATH=$PATH:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local:/usr/local/sbin:/usr/local/bin:/usr/lib/flapjack/bin
7
+
8
+ # load global rbenv environment if present
9
+ if [ -x /etc/profile.d/rbenv.sh ] ; then
10
+ source /etc/profile.d/rbenv.sh
11
+ fi
12
+
13
+ # Default return value
14
+ RETVAL=0
15
+
16
+ if [ ! $(which flapper-control) ]; then
17
+ echo "Error: flapper-control isn't in PATH."
18
+ echo "Refusing to do anything!"
19
+ exit 1
20
+ fi
21
+
22
+ # Evaluate command
23
+
24
+ rbenv shell 1.9.3-p125 && flapper
25
+ RETVAL=$?
26
+
27
+ exit $RETVAL
28
+
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
3
  module Flapjack
4
- VERSION = "0.6.28"
4
+ VERSION = "0.6.29"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: flapjack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.28
4
+ version: 0.6.29
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -372,6 +372,7 @@ files:
372
372
  - dist/etc/flapjack/recipients.conf.example
373
373
  - dist/etc/init.d/flapjack
374
374
  - dist/etc/init.d/flapjack-nagios-receiver
375
+ - dist/etc/init.d/flapper
375
376
  - dist/puppet/flapjack/files/.stub
376
377
  - dist/puppet/flapjack/manifests/common.pp
377
378
  - dist/puppet/flapjack/manifests/notifier.pp