Created by Marco Ceppi on 2014-01-16 and last modified on 2014-11-20
Get this branch:
bzr branch lp:charms/papertrail
Members of charmers can upload to this branch. Log in for directions.

Branch merges

Related bugs

Related blueprints

Branch information


Recent revisions

9. By Tim Van Steenburgh on 2014-11-20

[marcoceppi] Added tests

8. By Charles Butler on 2014-04-20

Returns only work in functions, exit 0 so the hook doesn't fail

7. By Charles Butler on 2014-01-12

Added removal of rsyslog configuration to hooks/stop

Updated icon.svg

Replaced invalid nulls in config.yaml with emptystring

Updated config-changed with emptystring processing

6. By Charles Butler on 2013-12-12

Corrects unrouteable email

5. By Charles Butler on 2013-12-05

Expands upon the readme, replaces configuration yaml output with configuration tutorial, and brief overview of the configuration options

4. By Charles Butler on 2013-12-04

    Corrects some oversights in the start hook

    There was no PORT variable after changing the configuration to read
    syslog_endpoint. Removed the restart call to syslog-ng - it didn't make
    any sense since the config-changed hook was handling restarting those
    daemons after populating the configuration.

3. By Charles Butler on 2013-12-04

Removes non required relation event hooks. I clearly didn't understand what was required of the relations and what the papertrail subordinate would be providing.

Adds a spiffy new icon for the charm store listing - revision 1 for review

Updated the config flag from port to syslog_endpoint - it makes more sense for the user to copy and paste a configuration string from the control panel so we get the full endpoint URL for parsing in our flavor of syslog instead of assuming a single host, with a changing port.

Updates to the hooks. A majority of the propagation logic is now in config-changed. config-changed now has basic support for syslog-ng based syslog daemon in addition to rsyslog. Another noteworthy addition is calling the installation hook when the monitorall or applicationlog config values are changed.

Sets the error failout flags at the top of each hook per Marco Ceppi's review

The install hook now skips ruby installation if we are not consuming any of the secondary non-required configuration flags

upgrade-charm calls config-changed

renamed README.markdown to README.md for consistency

2. By Charles Butler on 2013-12-02

Updates readme, removes icon.svg, and ignores git structure

1. By Charles Butler on 2013-12-02

Initial charm

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.