Sha256: 2d69dea3f359f7cef77d02abcaa5a0abea1f324b07c7ca423a82bae03066c993

Contents?: true

Size: 373 Bytes

Versions: 2

Compression:

Stored size: 373 Bytes

Contents

#!/usr/bin/env ruby

require 'baton/<%= config[:name] %>'

Baton.configure do |c|
  c.config_path  = "<%= File.join(Dir.pwd, config[:name], 'config', config[:name]) %>.cfg"
  c.ohai_file    = "/var/lib/ohai/facts.json"
  c.exchange     = "<%= config[:name] %>_in"
  c.exchange_out = "<%= config[:name] %>_out"
end

Baton::<%= config[:constant_array].last %>Service.new.run

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
baton-0.3.7 lib/baton/templates/gem/bin/gem.tt
baton-0.3.6 lib/baton/templates/gem/bin/gem.tt