Project

General

Profile

Download (354 Bytes) Statistics
| Branch: | Tag: | Revision:
#!/usr/bin/env ruby
require 'rubygems'
require 'kafo'

CONFIG_DIR = 'config/'

# Run the install
@result = Kafo::KafoConfigure.run

# handle exit code when help was invoked or installer ended with '2' (success in puppet)
if @result.nil? || (!@result.config.app[:detailed_exitcodes] && @result.exit_code == 2)
exit(0)
else
exit(@result.exit_code)
end
    (1-1/1)