methods/pk_client.rb
# Kill off any existing packer processes for a client
# some times dead packer processes are left running which stop the build process starting
Kill off any existing packer processes for a client
some times dead packer processes are left running which stop the build process starting
Kill off any existing packer processes for a client some times dead packer processes are left running which stop the build process starting
def kill_packer_processes(options)
  handle_output(options,"Information:\tMaking sure no existing Packer processes are running for #{options['name']}")
  %x[ps -ef |grep packer |grep "#{options['name']}.json" |awk '{print $2}' |xargs kill]
  return
end
def kill_packer_processes ( options ) handle_output ( options , "Information:\tMaking sure no existing Packer processes are running for #{options['name']}" ) %x[ ps -ef |grep packer |grep " #{ options [ 'name' ] } .json" |awk '{print $2}' |xargs kill ] return end
Kill off any existing packer processes for a client
some times dead packer processes are left running which stop the build process starting
Kill off any existing packer processes for a client some times dead packer processes are left running which stop the build process starting
options
<not_specific>