def setup(self): self.host.sudo("mkdir -p /etc/variants") Config.setup(self)
def setup(self): self.host.sudo("mkdir -p $(dirname '%s')" % self.remote_path) Config.setup(self) self.host.sudo("chown %s '%s'" % (self.parent.username, self.remote_path))
def setup(self): Config.setup(self) self.host.sudo("chown '%s' '%s' " % (self.parent.username, self.remote_path))
def setup(self): Config.setup(self) # Automatically start on system boot. self.hosts.sudo("update-rc.d '%s' defaults" % self.slug)