Skip to content

Misleading comments and use of sudo method in mongrel.rb recipes #2

Description

@bratta

The tasks in the mongrel namespace are using the sudo method to interact with monit, but the comments allude to the fact that they can be run without sudo access by toggling :use_sudo. This is not true, however, because the sudo command always runs using sudo. The commands should most likely use the try_sudo command instead, which looks at the :use_sudo flag or if :run_method is :sudo.

This was reported by jonah_ in IRC.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions