salt.modules.dummyproxy_service

Provide the service module for the dummy proxy used in integration tests

salt.modules.dummyproxy_service.enabled(name, sig=None)

Only the 'redbull' service is 'enabled' in the test

New in version 2016.11.3.

salt.modules.dummyproxy_service.get_all()

Return a list of all available services

New in version 2016.11.3.

CLI Example:

salt '*' service.get_all
salt.modules.dummyproxy_service.list_()

Return a list of all available services.

New in version 2016.11.3.

CLI Example:

salt '*' service.list
salt.modules.dummyproxy_service.restart(name, sig=None)

Restart the specified service with dummy.

New in version 2016.11.3.

CLI Example:

salt '*' service.restart <service name>
salt.modules.dummyproxy_service.running(name, sig=None)

Return whether this service is running.

New in version 2016.11.3.

salt.modules.dummyproxy_service.start(name, sig=None)

Start the specified service on the dummy

New in version 2016.11.3.

CLI Example:

salt '*' service.start <service name>
salt.modules.dummyproxy_service.status(name, sig=None)

Return the status for a service via dummy, returns a bool whether the service is running.

New in version 2016.11.3.

CLI Example:

salt '*' service.status <service name>
salt.modules.dummyproxy_service.stop(name, sig=None)

Stop the specified service on the dummy

New in version 2016.11.3.

CLI Example:

salt '*' service.stop <service name>