2 # create /etc/puppet/autosign.conf
3 # list of nodes from which puppetmaster should automatically sign
7 nodes = GetNodes({'peer_id' : None})
8 f = open('/etc/puppet/autosign.conf.pre', 'w')
10 print >>f, n['hostname']
13 os.rename('/etc/puppet/autosign.conf.pre', '/etc/puppet/autosign.conf')