- return ("control %s /usr/sbin/sipb-xen-remote-proxy-control"
- " /etc/remctl/sipb-xen-auto/acl/%s\n"
- % (machine_name, machine_name))
-
- def getfile(self, dir, machine_name):
- """Build the ACL or command file for a machine
- """
- if dir == 'acl': return self.getacl(machine_name)
- if dir == 'conf.d': return self.getconf(machine_name)
- raise "this shouldn't happen"
+ return '\n'.join("control %s /usr/sbin/sipb-xen-remote-proxy-control"
+ " /etc/remctl/remconffs/acl/%s"
+ % (machine_name, machine_name)
+ for machine_name in self.getMachines())+'\n'