kafo 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of kafo might be problematic. Click here for more details.
- data/bin/kafofy +1 -1
- data/lib/kafo/configuration.rb +1 -1
- data/lib/kafo/version.rb +1 -1
- metadata +1 -1
data/bin/kafofy
CHANGED
@@ -23,7 +23,7 @@ if ARGV.size > 0
|
|
23
23
|
#!/usr/bin/env ruby
|
24
24
|
require 'rubygems'
|
25
25
|
require 'kafo'
|
26
|
-
CONFIG_FILE = "/etc/#{
|
26
|
+
CONFIG_FILE = "/etc/#{name}/#{name}.yaml"
|
27
27
|
KafoConfigure.run
|
28
28
|
EOS
|
29
29
|
File.open(script_name, 'w') { |file| file.write(content) }
|
data/lib/kafo/configuration.rb
CHANGED
@@ -69,7 +69,7 @@ class Configuration
|
|
69
69
|
exit(:default_error)
|
70
70
|
end
|
71
71
|
@logger.info "... finished"
|
72
|
-
YAML.load_file(File.join(
|
72
|
+
YAML.load_file(File.join(KafoConfigure.config.app[:default_values_dir], 'default_values.yaml'))
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
data/lib/kafo/version.rb
CHANGED