# File lib/puppet/network/server.rb, line 34 34: def create_pidfile 35: Puppet::Util.synchronize_on(Puppet[:name],Sync::EX) do 36: raise "Could not create PID file: #{pidfile}" unless Puppet::Util::Pidlock.new(pidfile).lock 37: end 38: end