def provision_as_root(node, package_source, variants=()):
 commands = []
 commands.append(run_remotely(username='root', address=node.address, commands=provision(package_source=package_source, distribution=node.distribution, variants=variants)))
 return sequence(commands)

def provision_as_root ( node , package_source , variants = ( ) ) : commands = [ ] commands . append ( run_remotely ( username = 'root' , address = node . address , commands = provision ( package_source = package_source , distribution = node . distribution , variants = variants ) ) ) return sequence ( commands )
provision flocker on a node using the root user .