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.16.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.17.0
Choose a head ref
  • 4 commits
  • 9 files changed
  • 3 contributors

Commits on Jul 7, 2017

  1. Configuration menu
    Copy the full SHA
    37e5fae View commit details
    Browse the repository at this point in the history
  2. (#658) Manage the when attribute of sensu filters

    Without this patch sensu filters are unable to manage the [when
    attribute](https://sensuapp.org/docs/0.26/reference/filters.html#when-attributes)
    
    This patch implements the `when` property on the sensu_filter type and json
    provider.  The `sensu::filter` defined type is also updated to support the
    `when` parameter.
    
    The behavior may be exercised with `vagrant up el7-client`.  This will produce
    `/etc/sensu/conf.d/filters/offhours.json` with the content of:
    
        {
          "filters": {
            "offhours": {
              "attributes": {
                "client": {
                  "environment": "production"
                }
              },
              "when": {
                "days": {
                  "all": [
                    {
                      "begin": "2:00 AM",
                      "end": "1:00 AM"
                    }
                  ]
                }
              },
              "negate": false
            }
          }
        }
    
    Resolves #658
    jeffmccune committed Jul 7, 2017
    Configuration menu
    Copy the full SHA
    6721c55 View commit details
    Browse the repository at this point in the history

Commits on Jul 8, 2017

  1. Merge pull request #721 from jeffmccune/658_support_when_attribute_in…

    …_filters
    
    (#658) Manage the when attribute of sensu filters
    ghoneycutt authored Jul 8, 2017
    Configuration menu
    Copy the full SHA
    e88cc97 View commit details
    Browse the repository at this point in the history
  2. Release v2.17.0

    Add support for 'when' attribute for filters.
    ghoneycutt committed Jul 8, 2017
    Configuration menu
    Copy the full SHA
    df35e86 View commit details
    Browse the repository at this point in the history
Loading