burlap/virtualbox.py
def configure(self):
        """
        Enables the repository for a most current version on Debian systems.

            https://www.rabbitmq.com/install-debian.html
        """

        os_version = self.os_version
        if not self.dryrun and os_version.distro != UBUNTU:
            raise NotImplementedError("OS %s is not supported." % os_version)

        r = self.local_renderer

        r.env.codename = (r.run('lsb_release -c -s') or "`lsb_release -c -s`").strip()
        r.sudo('apt-add-repository "deb http://download.virtualbox.org/virtualbox/debian {codename} contrib"')
        r.sudo('cd /tmp; wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -')
        r.sudo('apt-get update')
def configure(self):
        """
        Enables the repository for a most current version on Debian systems.

            https://www.rabbitmq.com/install-debian.html
        """

        os_version = self.os_version
        if not self.dryrun and os_version.distro != UBUNTU:
            raise NotImplementedError("OS %s is not supported." % os_version)

        r = self.local_renderer

        r.env.codename = (r.run('lsb_release -c -s') or "`lsb_release -c -s`").strip()
        r.sudo('apt-add-repository "deb http://download.virtualbox.org/virtualbox/debian {codename} contrib"')
        r.sudo('cd /tmp; wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -')
        r.sudo('apt-get update')
def configure ( self ) : os_version = self . os_version if not self . dryrun and os_version . distro != UBUNTU : raise NotImplementedError ( "OS %s is not supported." % os_version ) r = self . local_renderer r . env . codename = ( r . run ( 'lsb_release -c -s' ) or "`lsb_release -c -s`" ) . strip ( ) r . sudo ( 'apt-add-repository "deb http://download.virtualbox.org/virtualbox/debian {codename} contrib"' ) r . sudo ( 'cd /tmp; wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -' ) r . sudo ( 'apt-get update' )
Enables the repository for a most current version on Debian systems.

            https://www.rabbitmq.com/install-debian.html
Enables the repository for a most current version on Debian systems .