kuzushi 0.0.17 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/VERSION +1 -1
- data/lib/kuzushi.rb +1 -2
- metadata +1 -1
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.18
|
data/lib/kuzushi.rb
CHANGED
|
@@ -2,7 +2,6 @@ require 'rubygems'
|
|
|
2
2
|
require 'json'
|
|
3
3
|
require 'restclient'
|
|
4
4
|
require 'ostruct'
|
|
5
|
-
require 'rush'
|
|
6
5
|
require 'ohai'
|
|
7
6
|
require 'erb'
|
|
8
7
|
|
|
@@ -199,7 +198,7 @@ class Kuzushi
|
|
|
199
198
|
## FIXME - this is getting a little silly calling tmpfile twice - should be able to pass erb to fetch as an opton...
|
|
200
199
|
## unify code for process crontabs + process files
|
|
201
200
|
fetch(src) do |file|
|
|
202
|
-
tmpfile(blk.call) do |tmp|
|
|
201
|
+
tmpfile(blk.call(file)) do |tmp|
|
|
203
202
|
task "process crontab for #{user}" do
|
|
204
203
|
shell "crontab -u #{user} #{tmp}"
|
|
205
204
|
end
|