Determine primary accessible from init.pp
Currently, determination if a host is the primary server is done in named.conf.erb. Therefore, the zone file is generated in any case. Primary determination should be called in init.pp and only read in template. -> move into function.