marathon-template 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/marathon-template/cron.rb +2 -2
- 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: 37c91f7a6747113bb782bf70d58268004c547037
|
4
|
+
data.tar.gz: 14ed3073c1881891ab9d5e51ffb5ecde7c9ac246
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3b5698575e0d4736dd3fb51cd592528bc742c483f94ba242d52b6b8562f4237569ccfc016a478a9a44089d2b7e768b4eb810ba9ca833f383a20b23ff54b7aa43
|
7
|
+
data.tar.gz: 0ed5014331e5bc57c232a30e24baaf7fc18148f83941ace001cc8450de3caa5240a3c076dff11d9421e03d88d951b6b8b7bf2b0ee4ab49b39491e019bd79ff25
|
@@ -10,13 +10,13 @@ module Marathon_template
|
|
10
10
|
else
|
11
11
|
File.open('/etc/crontab', 'a') do |w|
|
12
12
|
LOG.info "Appending #{CONFIG[:cron_splay]} to /etc/crontab"
|
13
|
-
w.write CONFIG[:cron_splay]
|
13
|
+
w.write "#{CONFIG[:cron_splay]}\n"
|
14
14
|
end
|
15
15
|
end
|
16
16
|
else
|
17
17
|
LOG.info "No crontab found, creating and adding #{CONFIG[:cron_splay]}"
|
18
18
|
File.open('/etc/crontab', 'wb') do |w|
|
19
|
-
w.write CONFIG[:cron_splay]
|
19
|
+
w.write "#{CONFIG[:cron_splay]}\n"
|
20
20
|
end
|
21
21
|
end
|
22
22
|
end
|