Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sensu/sensu-puppet
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.26.0
Choose a base ref
...
head repository: sensu/sensu-puppet
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.27.0
Choose a head ref
  • 7 commits
  • 22 files changed
  • 3 contributors

Commits on Jul 18, 2017

  1. (#748) Add puppet-strings gem and dependencies

    Build the documentation with `bundle exec rake puppet:strings`
    
    The documentation is generated in every matrix cell for Travis.
    
    RedCarpet is used to support Github Flavored Markdown.
    
    The change to sensu_redis_config.rb is to avoid a bug in YARD, throwing
    ArgumentError trying to parse the affected node in the syntax tree.  This patch
    changes the code to be compatible with YARD.
    
    Resolves #748
    jeffmccune committed Jul 18, 2017
    Configuration menu
    Copy the full SHA
    78a6a8f View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2017

  1. (#463) Ensure sensu::plugins are managed before checks

    Without this patch plugins may be managed after the checks which use them.  This
    patch addresses the problem by adding a well known inert resource named
    `Anchor[plugins_before_checks]`.  The sensu::check and sensu_check_config type
    are managed after this anchor.  The sensu::plugin defined type is managed
    before this anchor.  The anchor approach has been implemented over collections
    to avoid realizing resources which the end user may be using.
    
    Resolves #463
    jeffmccune committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    0788152 View commit details
    Browse the repository at this point in the history
  2. (#550) Add sensu client de-registration

    Without this patch the sensu client does not support the deregister and
    deregistration attributes.  These attributes are documented at [deregistration
    attributes](https://sensuapp.org/docs/latest/reference/clients#deregistration-attributes)
    
    This patch adds the `sensu::client_deregister` and
    `sensu::client_deregistration` class parameters which flow through to the
    sensu_client_config type and provider.
    
    This patch also refactors the sensu_client_config type and provider to operate
    the same way as the sensu_check type and provider.  Specifically, the JSON
    provider dynamically introspects the set of properties from the type and
    creates getter and setter methods to output the JSON.  Custom attributes are
    enhanced, if `client_custom = absent` then all custom attributes in the client
    configuration are removed.  Otherwise, the custom attributes are merged on top
    of any existing custom attributes.
    
    When the client config is flushed to /etc/sensu/conf.d/client.json the top
    level set of keys are sorted.  This isn't terribly useful as there is usually
    just one key, `{"client":{}}`.  The value of the client attribute is also
    sorted, making the output more useful and human readable.
    
    Resolves #550
    jeffmccune committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    4a0a33f View commit details
    Browse the repository at this point in the history
  3. Merge pull request #756 from jeffmccune/748_rake_doc_task

    (#748) Add puppet-strings gem and dependencies
    ghoneycutt authored Jul 19, 2017
    Configuration menu
    Copy the full SHA
    34e92ac View commit details
    Browse the repository at this point in the history
  4. Merge pull request #755 from jeffmccune/463_plugins_before_checks

    (#463) Ensure sensu::plugins are managed before checks
    ghoneycutt authored Jul 19, 2017
    Configuration menu
    Copy the full SHA
    998ea0c View commit details
    Browse the repository at this point in the history
  5. Merge pull request #750 from jeffmccune/550_deregistration

    (#550) Add sensu client de-registration
    ghoneycutt authored Jul 19, 2017
    Configuration menu
    Copy the full SHA
    b4c4de5 View commit details
    Browse the repository at this point in the history
  6. Release v2.27.0

    ghoneycutt committed Jul 19, 2017
    Configuration menu
    Copy the full SHA
    c9e88ea View commit details
    Browse the repository at this point in the history
Loading