From 9190ddfcdaf7c3d9769a17b72099a370df140e51 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Fri, 28 Mar 2014 15:03:04 -0400 Subject: [PATCH] Documentation updates / changelog. --- CHANGELOG.md | 1 + library/monitoring/logentries | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d242b1bb9a..565b49af64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,6 +22,7 @@ New Modules: * packaging: homebrew_tap (OS X) * packaging: homebrew_cask (OS X) * packaging: apt_rpm +* monitoring: logentries * notification: nexmo (SMS) * notification: twilio (SMS) * notification: slack (Slack.com) diff --git a/library/monitoring/logentries b/library/monitoring/logentries index 08a2d18264..373f4f777f 100644 --- a/library/monitoring/logentries +++ b/library/monitoring/logentries @@ -20,10 +20,10 @@ DOCUMENTATION = ''' --- module: logentries author: Ivan Vanderbyl -short_description: Log aggregation service +short_description: Module for tracking logs via logentries.com description: - Sends logs to LogEntries in realtime -version_added: "1.0" +version_added: "1.6" options: path: description: @@ -36,7 +36,7 @@ options: required: false default: present notes: - - Requires the LogEntries agent which can be installed following the instructions at logentires.com + - Requires the LogEntries agent which can be installed following the instructions at logentries.com ''' EXAMPLES = ''' - logentries: path=/var/log/nginx/access.log state=present @@ -124,7 +124,7 @@ def main(): elif p["state"] in ["absent", "unfollowed"]: unfollow_log(module, le_path, logs) -# this is magic, see lib/ansible/module_common.py -#<> +# import module snippets +from ansible.module_utils.basic import * main()