Sha256: bee5261740a8bb5adf14fe367835d716beb0a42ca606db97c4627e65cf7128b4

Contents?: true

Size: 909 Bytes

Versions: 72

Compression:

Stored size: 909 Bytes

Contents

  ##
  # HttpPost [Notifier]
  #
  notify_by HttpPost do |post|
    post.on_success = true
    post.on_warning = true
    post.on_failure = true

    # URI to post the notification to.
    # Port may be specified if needed.
    # If Basic Authentication is required, supply user:pass.
    post.uri = 'https://user:pass@your.domain.com:8443/path'

    ##
    # Optional
    #
    # Additional headers to send.
    # post.headers = { 'Authentication' => 'my_auth_info' }
    #
    # Additional form params to post.
    # post.params = { 'auth_token' => 'my_token' }
    #
    # Successful response codes. Default: 200
    # post.success_codes = [200, 201, 204]
    #
    # Defaults to true on most systems.
    # Force with +true+, disable with +false+
    # post.ssl_verify_peer = false
    #
    # Supplied by default. Override with a custom 'cacert.pem' file.
    # post.ssl_ca_file = '/my/cacert.pem'
  end

Version data entries

72 entries across 72 versions & 12 rubygems

Version Path
backup-ssh-4.4.5 templates/cli/notifiers/http_post
backup-5.0.0.beta.3 templates/cli/notifiers/http_post
backup-remote-0.0.19 templates/cli/notifiers/http_post
backupii-0.1.0.pre.alpha.2 templates/cli/notifiers/http_post
backupii-0.1.0.pre.alpha.1 templates/cli/notifiers/http_post
cm-backup-1.0.0 templates/cli/notifiers/http_post
backedup-5.0.0.beta.5 templates/cli/notifiers/http_post
backedup-5.0.0.beta.4 templates/cli/notifiers/http_post
backedup-5.0.0.beta.3 templates/cli/notifiers/http_post
ext_backup-5.0.0.beta.2.1 templates/cli/notifiers/http_post
backup-ssh-4.4.4 templates/cli/notifiers/http_post
backup-ssh-4.4.3 templates/cli/notifiers/http_post
ext_backup-5.0.0.beta.2.ext.0.1.2 templates/cli/notifiers/http_post
backup-4.4.1 templates/cli/notifiers/http_post
ext_backup-5.0.0.beta.2.ext.0.1.1 templates/cli/notifiers/http_post
ext_backup-5.0.0.beta.2.ext.0.1.0 templates/cli/notifiers/http_post
backup-remote-0.0.18 templates/cli/notifiers/http_post
backup-5.0.0.beta.2 templates/cli/notifiers/http_post
backup-5.0.0.beta.1 templates/cli/notifiers/http_post
backup-remote-0.0.17 templates/cli/notifiers/http_post