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