def run_action(self, unit_sentry, action,
                   _check_output=subprocess.check_output,
                   params=None):
        """Translate to amulet's built in run_action(). Deprecated.

        Run the named action on a given unit sentry.

        params a dict of parameters to use
        _check_output parameter is no longer used

        @return action_id.
        """
        self.log.warn('charmhelpers.contrib.amulet.utils.run_action has been '
                      'deprecated for amulet.run_action')
        return unit_sentry.run_action(action, action_args=params)
Translate to amulet's built in run_action(). Deprecated.

        Run the named action on a given unit sentry.

        params a dict of parameters to use
        _check_output parameter is no longer used

        @return action_id.