in chefctl/src/chefctl.rb [720:741]
def initialize(logdir, logfile)
@plugin = Chefctl::Plugin.get_plugin
@chef_name = File.basename(Chefctl.lib.chef_client_binary)
@lock = {
:file => Chefctl::Config.lock_file,
:time => Chefctl::Config.lock_time,
:fd => nil,
:held => false,
}
@paths = {
:logdir => logdir,
:chef_cur => File.join(logdir, 'chef.cur.out'),
:chef_last => File.join(logdir, 'chef.last.out'),
:out => logfile,
:first => File.join(logdir, 'chef.first.out'),
}
end