# File lib/puppet/daemon.rb, line 106 106: def stop(args = {:exit => true}) 107: Puppet::Application.stop! 108: 109: server.stop if server 110: 111: remove_pidfile 112: 113: Puppet::Util::Log.close_all 114: 115: exit if args[:exit] 116: end