cw_ec2_cm 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cw_ec2_cm.rb +2 -1
- data/lib/cw_ec2_cm/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7b8c809ed3b28c7271ba28d8fc1d41d03dd2601c
|
4
|
+
data.tar.gz: 77b3cbd3e191bd63d18b4e3a3d021536ece3ca30
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0d9456caa718fb2901545f3f7c89d7c8f1aebf4f8d5091eca1cdb376f03e3e4cd2fa7c8a204403de0ab5c613d16eefbf5d6f44baefd28f5f204788f478190ac1
|
7
|
+
data.tar.gz: 37456cf178c3641565e8859f09d1bc20e8031cac41381d5907c0012ae199d2335fae8348b7848e53da01e3bfa0d4bb7aab9e6d95364afefd6f9d547a0def72ed
|
data/lib/cw_ec2_cm.rb
CHANGED
@@ -7,9 +7,10 @@ module CwEc2Cm
|
|
7
7
|
WHENEVER_ID='cw-ec2-cm-schedule'
|
8
8
|
def update_crontab(update_cmd)
|
9
9
|
Tempfile.open(WHENEVER_ID) do |f|
|
10
|
+
push_cmd = `which cw-ec2-cm-push`
|
10
11
|
f.write <<-SCHEDULE
|
11
12
|
every 1.minute do
|
12
|
-
command
|
13
|
+
command '#{push_cmd}'
|
13
14
|
end
|
14
15
|
SCHEDULE
|
15
16
|
f.close
|
data/lib/cw_ec2_cm/version.rb
CHANGED