# File lib/blimpy/livery/puppet.rb, line 35 def flight(box) unless @puppet_exists # This should get our puppet.sh bootstrap script run super(box) end # At this point we should be safe to actually invoke Puppet command = "puppet apply --modulepath=#{module_path} #{options} #{manifest_path}" run_sudo = '' run_sudo = 'sudo' if use_sudo?(box) box.ssh_into("cd #{dir_name} && #{run_sudo} ./gempath.sh #{command}") end