Skip to content

Commit

Permalink
Merge commit '994d091f799cd1f8672686d5963b0505a3cd6516' as '.puppet/m…
Browse files Browse the repository at this point in the history
…odules/kibana'
  • Loading branch information
Michael Friedrich committed Jul 16, 2018
2 parents 61a87d7 + 994d091 commit 0c6afec
Show file tree
Hide file tree
Showing 63 changed files with 2,772 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .puppet/modules/kibana/.fixtures.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
fixtures:
forge_modules:
apt:
repo: puppetlabs/apt
ref: 2.0.0
elastic_stack:
repo: elastic/elastic_stack
ref: 6.1.0
stdlib:
repo: puppetlabs/stdlib
ref: 4.21.0
symlinks:
kibana: "#{source_dir}"
46 changes: 46 additions & 0 deletions .puppet/modules/kibana/.github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
<!--
Please note that issues should be used for bugs and feature requests.
If you have a general support question, consider asking it on the
[Elastic discussion forums](https://discuss.elastic.co/) before
creating an issue to determine whether your question is for support
or an actual bug/feature.
Please use **only one** of the following examples depending upon
whether you are reporting a bug or feature request.
-->

<!--
If you are filing a bug report, please remove the Feature
Description block and provide responses for all of the below items.
Please also include an example manifest and puppet logs if relevant.
-->

## Bug Report

* Module version:
* Puppet version:
* OS and version:

### Bug description

Expected behavior:

Observed behavior:

Example manifest:

Puppet run logs:

<!--
If you are filing a feature request, please remove the above bug
report block and describe the feature below the heading.
-->

## Feature Request

### Feature Description
15 changes: 15 additions & 0 deletions .puppet/modules/kibana/.github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!--
The following list of checkboxes are the prerequisites for getting your contribution accepted.
Please check them as they are completed.
-->

Pull request acceptance prerequisites:

- [ ] Signed the [CLA](https://www.elastic.co/contributor-agreement/) (if not already signed)
- [ ] Rebased/up-to-date with base branch
- [ ] Updated CHANGELOG.md with patch notes (if necessary)
- [ ] Any relevant docs (README.markdown or inline documentation) updated (if necessary)
- [ ] Updated CONTRIBUTORS (if you would like attribution)
- [ ] Tests pass CI
17 changes: 17 additions & 0 deletions .puppet/modules/kibana/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
.*.sw?
/pkg
/coverage
/doc
/spec/fixtures/manifests
/spec/fixtures/modules
/.rspec_system
/.vagrant
/.bundle
/vendor
/Gemfile.lock
/junit
/log
.yardoc
*.deb
*.rpm
coverage
8 changes: 8 additions & 0 deletions .puppet/modules/kibana/.pmtignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
coverage/
doc/
junit/
log/
spec/
tmp/
vendor/
Guardfile
2 changes: 2 additions & 0 deletions .puppet/modules/kibana/.rspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--format documentation
--color
63 changes: 63 additions & 0 deletions .puppet/modules/kibana/.rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
AllCops:
Exclude:
- pkg/**/*
- spec/fixtures/**/*
- vendor/**/*
Include:
- Rakefile
TargetRubyVersion: 1.9

Metrics/AbcSize:
Enabled: false

Metrics/LineLength:
Enabled: false

Metrics/MethodLength:
Enabled: false

Style/AndOr:
Enabled: false

Style/BlockDelimiters:
Enabled: false

Style/BlockEndNewline:
Enabled: false

Style/ClassAndModuleCamelCase:
Enabled: false

Style/ClassAndModuleChildren:
Enabled: false

Style/FirstParameterIndentation:
Enabled: false

Style/FrozenStringLiteralComment:
Enabled: false

Style/HashSyntax:
Enabled: false

Style/IndentArray:
Enabled: false

Style/Lambda:
Enabled: false

Style/MultilineBlockChain:
Enabled: false

Style/MultilineBlockLayout:
Enabled: false

Style/Not:
Enabled: false

# This is the default post-0.41.2 rubocop, set it to be forward-compatible here.
Style/PercentLiteralDelimiters:
PreferredDelimiters:
'%r': '{}'
'%w': '[]'
'%W': '[]'
1 change: 1 addition & 0 deletions .puppet/modules/kibana/.ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.4.0
1 change: 1 addition & 0 deletions .puppet/modules/kibana/.tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ruby 2.4.0
62 changes: 62 additions & 0 deletions .puppet/modules/kibana/.travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
---
sudo: required
services:
- docker

before_install: rm Gemfile.lock || true
bundler_args: --without development
cache:
bundler: true
directories:
- spec/fixtures/artifacts
- spec/fixtures/modules

language: ruby

script: travis_retry bundle exec rake $TASK

jobs:
include:
- stage: intake
env:
- TASK=test
- PUPPET_VERSION='~> 4.5.0'
- env:
- TASK=test
- env:
- TASK=test
- PUPPET_VERSION='~> 5.0'
- stage: acceptance
env:
- TASK=beaker:amazonlinux-x64
- env:
- TASK=beaker:centos-6-x64
- env:
- TASK=beaker:centos-7-x64
- env:
- TASK=beaker:debian-7-x64
- env:
- TASK=beaker:debian-8-x64
- env:
- TASK=beaker:ubuntu-1404-x64
- env:
- TASK=beaker:ubuntu-1604-x64
- env:
- TASK=beaker:fedora-24-x64
- env:
- TASK=beaker:fedora-25-x64
- stage: snapshots
env:
- TASK=beaker:ubuntu-1604-x64:snapshot
- env:
- OSS_PACKAGE=true
- TASK=beaker:ubuntu-1604-x64:snapshot
- env:
- TASK=beaker:centos-7-x64:snapshot
- env:
- OSS_PACKAGE=true
- TASK=beaker:centos-7-x64:snapshot

notifications:
slack:
secure: T1FO+ttrJNH+bXmNR6349qcttG68Qr1xmMqVVRnUr7+129GQO5174Z8MFC8ck0qOCZGHO7GCNO5seNFflrjF/5EKbdkmVnqhf9gVa9kN7I4psMzxJX9bp29xJA6m3wA4VqCosDKVFSfilDZujAblWT+KDHZLjP8sEWEnHPvCjf69S2XDQEWUoxZan5V9IJQas4XR+hMdIZTA3ChVrEyqRfeehAZImbAr/LH8zChZaTdHZQY7p2rN3+qVNi3+GISV9fNPpOCynnX/ACbdUaRt3+1etxGGaQMPzGmTejN3VlMw4OZRXImb6HQ2rXE+fNCASXiKiwylxTbriQsS0dFv4skxH03YlYM8pqaBpeIOwzf4n45tTzdAQZJMC5cOb+RvwS7qkAwuaVlVxiiA+MWRG/UcFpWS+iNn4KEKxbpBjYP8X1JIP9DlHLME7DNMM2pePv9X6ZjY6eDhVM1gbKi77dXOo5y2Sp0ru8QkLpIKFVXS01O+x7oDHHv2Osvih0jNMgM66Byso3KJYJ6EJ0D2/3Q9ZNpVM4CMuIY5pBQfXf691zqkBHI6JUnU6VMw97cH0k6Gq0ypZoW5trXdnRC5aEg4jKKid84zKmAeTpj/iMuagyb/a5msJstIVboynRtfDHR0J8WWhfSU2wzqKAb6L66iyRe62Fe8OGzLhk2+KNU=
1 change: 1 addition & 0 deletions .puppet/modules/kibana/.yardopts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--markup markdown
115 changes: 115 additions & 0 deletions .puppet/modules/kibana/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
## x.x.x (Month Day, Year)

#### Features

#### Fixes

## 6.3.0 (June 18, 2018)

This release deprecates Kibana 4.x, which is end-of-life.

### Migration Guide

* Support for 4.x has been deprecated, so consider upgrading to Kibana 5 or later before upgrading this module since only versions 5 and later are supported.
* The module defaults to the upstream package repositories, which now include X-Pack bundled by default. To preserve previous behavior which does _not_ include X-Pack, follow the `README` instructions to configure `oss`-only repositories/packages.
* Use of the `elastic_stack::repo` class for managing package repositories may mean that leftover yum/apt/etc. repositories named `kibana` may persist after upgrade.

#### Features
* Support for 6.3 style repositories using elastic_stack module

#### Fixes

## 6.0.1 (March 13, 2018)

#### Fixes
* Fixed language compatibility errors that could arise when using JRuby 1.7 on Puppet Servers.

## 6.0.0 (November 14, 2017)

Major version upgrade with important deprecations:

* Puppet version 3 is no longer supported.

The following migration guide is intended to help aid in upgrading this module.

### Migration Guide

#### Puppet 3.x No Longer Supported

Puppet 4.5.0 is the new minimum required version of Puppet, which offers better safety, module metadata, and Ruby features.
Migrating from Puppet 3 to Puppet 4 is beyond the scope of this guide, but the [official upgrade documentation](https://docs.puppet.com/upgrade/upgrade_steps.html) can help.
As with any version or module upgrade, remember to restart any agents and master servers as needed.

## 5.2.0 (November 13, 2017)

#### Features
* Added support for service status

## 5.1.0 (August 18, 2017)

#### Features
* Installation via package files (`.deb`/`.rpm`) now supported. See documentation for the `package_source` parameter for usage.
* Updated puppetlabs/apt dependency to reflect support for 4.x versions.

## 5.0.1 (July 19, 2017)

This is a bugfix release to properly contain classes within the `kibana` class so that relationship ordering is respected correctly.

## 5.0.0 (May 10, 2017)

### Summary
Formally release major version 5.0 of the module.

#### Fixes
* metadata.json dependencies now compatible with Puppet 3.x.

## 0.3.0 (April 26, 2017)

### Summary
This release backports support for Puppet 3.8.

## 0.2.1 (April 10, 2017)

### Summary
Bugfix release resolving several minor issues.

#### Features
* Package revisions now supported for ensure values.

#### Fixes
* The `url` parameter for 4.x plugins is now properly passed to the plugin install command.
* Nonzero plugin commmands now properly raise errors during catalog runs.
* Boolean values allowed in config hash.
* apt-transport-https package no longer managed by this module.

## 0.2.0 (March 20, 2017)

### Summary
Minor fixes and full 4.x support.

#### Features
* Feature parity when managing plugins on Kibana 4.x.

#### Fixes
* Removed potential conflict with previously-defined apt-transport-https packages.
* Permit boolean values in configuration hashes.

## 0.1.1 (March 11, 2017)

### Summary
Small bugfix release.

#### Fixes
* Actually aknowledge and use the manage_repo class flag.

## 0.1.0 (March 8, 2017)

### Summary
Initial release.

#### Features
* Support for installing, removing, and updating Kibana and the Kibana service.
* Plugin support.
* Initial support for version 4.x management.

#### Fixes
Loading

0 comments on commit 0c6afec

Please sign in to comment.