Ejemplo n.º 1
0
def stopped():
    """
    Ensure that the firewall is stopped.
    """
    if not is_stopped():
        stop('shorewall')
Ejemplo n.º 2
0
def test_require_firewall_stopped(firewall):
    from fabtools.require.shorewall import stopped
    from fabtools.shorewall import is_stopped
    stopped()
    assert is_stopped()
Ejemplo n.º 3
0
def stopped():
    """
    Ensure that the firewall is stopped.
    """
    if not is_stopped():
        stop('shorewall')
Ejemplo n.º 4
0
def test_require_firewall_stopped(firewall):
    from fabtools.require.shorewall import stopped
    from fabtools.shorewall import is_stopped
    stopped()
    assert is_stopped()