-
- # look in the config dir for the template so users can provide their own and windows
- # with odd paths will just work more often, but fall back to old behavior if it does
- # not exist
- @rpchelptemplate = File.join(File.dirname(configfile), "rpc-help.erb")
- @rpchelptemplate = "/etc/mcollective/rpc-help.erb" unless File.exists?(@rpchelptemplate)
- @helptemplatedir = File.dirname(@rpchelptemplate)