Sha256: 95b46ab3fb4f1b9b84cf7b72c691d159ab3c4035f6f63b90377632dbe254c216

Contents?: true

Size: 806 Bytes

Versions: 2

Compression:

Stored size: 806 Bytes

Contents

Report values to [Sheriff](https://github.com/dawanda/sheriff) or run plugins from sheriff.

# Install

    sudo gem install deputy

# Configuration

Put into `~/.deputy.yml` or `/etc/deputy.yml`

    sheriff_url: http://sheriff.mydomain.com
    # overwrite defaults if needed
    max_random_start_delay: 30
    timeout: 10
    silent_on_errors: true

Basic auth login can be added to the url:

    sheriff_url: http://username:password@sheriff.mydomain.com

Disable Deputy for local use:

    disabled: true

Add deputy to cron with `deputy --install-cron` (logs to /tmp/deputy.log)

# Usage

### Report something
    deputy Cronjob.ran
    deputy Cronjob.users_found 123
    dump_database.sh 2>&1 ; deputy Cron.database_dumped $?

### Run plugins by hand for debugging
    deputy --run-plugins --no-wait

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
deputy-0.1.58 Readme.md
deputy-0.1.57 Readme.md