mirror of
https://github.com/krislamo/puppet-fluentd
synced 2025-09-13 17:09:29 +00:00
Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
9eb19b3d1b | ||
|
6a05cae33e | ||
|
2183f670f2 | ||
|
bcad5ca42c | ||
|
26694848cb | ||
|
bb2346df50 | ||
|
e062d4f2e0 | ||
|
f32ea2c0ba | ||
|
8081e8df20 | ||
|
6cb1364023 |
@@ -1,5 +1,11 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 0.5.3
|
||||||
|
* update treasure data repo gpg key
|
||||||
|
|
||||||
|
## 0.5.2
|
||||||
|
* Correct the docs related to the service_enable parameter
|
||||||
|
|
||||||
## 0.5.1
|
## 0.5.1
|
||||||
* Allow to install specific version of fluent gem plugins
|
* Allow to install specific version of fluent gem plugins
|
||||||
|
|
||||||
|
13
Gemfile
13
Gemfile
@@ -5,6 +5,17 @@ gem 'puppet', puppetversion
|
|||||||
gem 'puppetlabs_spec_helper', '>= 0.8.2'
|
gem 'puppetlabs_spec_helper', '>= 0.8.2'
|
||||||
gem 'puppet-lint', '>= 1.0.0'
|
gem 'puppet-lint', '>= 1.0.0'
|
||||||
gem 'facter', '>= 1.7.0'
|
gem 'facter', '>= 1.7.0'
|
||||||
gem 'beaker-rspec'
|
|
||||||
gem 'beaker-puppet_install_helper'
|
gem 'beaker-puppet_install_helper'
|
||||||
gem 'metadata-json-lint'
|
gem 'metadata-json-lint'
|
||||||
|
|
||||||
|
beakerrspec = '> 0'
|
||||||
|
platforms [:ruby_19, :ruby_21] do
|
||||||
|
beakerrspec = '<= 5.6.0'
|
||||||
|
end
|
||||||
|
gem 'beaker-rspec', beakerrspec
|
||||||
|
|
||||||
|
platforms :ruby_19 do
|
||||||
|
gem 'public_suffix', '< 1.5.0', :platforms => :ruby_19
|
||||||
|
gem 'nokogiri', '< 1.7.0', :platforms => :ruby_19
|
||||||
|
gem 'mime-types', '< 3.0', :platforms => :ruby_19
|
||||||
|
end
|
@@ -79,7 +79,7 @@ include '::fluentd'
|
|||||||
Service ensure.
|
Service ensure.
|
||||||
**Default:** 'running'
|
**Default:** 'running'
|
||||||
|
|
||||||
`service_enabled`
|
`service_enable`
|
||||||
|
|
||||||
Defines if the service should be enabled.
|
Defines if the service should be enabled.
|
||||||
**Default:** 'true'
|
**Default:** 'true'
|
||||||
|
1
Rakefile
1
Rakefile
@@ -1,6 +1,7 @@
|
|||||||
require 'puppetlabs_spec_helper/rake_tasks'
|
require 'puppetlabs_spec_helper/rake_tasks'
|
||||||
require 'puppet-lint/tasks/puppet-lint'
|
require 'puppet-lint/tasks/puppet-lint'
|
||||||
PuppetLint.configuration.send('disable_80chars')
|
PuppetLint.configuration.send('disable_80chars')
|
||||||
|
PuppetLint.configuration.send('disable_puppet_url_without_modules')
|
||||||
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
|
PuppetLint.configuration.ignore_paths = ["spec/**/*.pp", "pkg/**/*.pp"]
|
||||||
|
|
||||||
desc "Validate manifests, templates, and ruby files"
|
desc "Validate manifests, templates, and ruby files"
|
||||||
|
@@ -5,5 +5,5 @@
|
|||||||
# file installation
|
# file installation
|
||||||
::fluentd::plugin { 'fluent-plugin-elasticsearch':
|
::fluentd::plugin { 'fluent-plugin-elasticsearch':
|
||||||
type => 'file',
|
type => 'file',
|
||||||
source => 'puppet:///path/to/plugin'
|
source => 'puppet://path/to/plugin'
|
||||||
}
|
}
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
# [*service_ensure*]
|
# [*service_ensure*]
|
||||||
# Service ensure
|
# Service ensure
|
||||||
# Default: 'running'
|
# Default: 'running'
|
||||||
# [*service_enabled*]
|
# [*service_enable*]
|
||||||
# Defines if the service should be enabled
|
# Defines if the service should be enabled
|
||||||
# Default: 'true'
|
# Default: 'true'
|
||||||
# [*user_manage*]
|
# [*user_manage*]
|
||||||
|
@@ -7,7 +7,7 @@ class fluentd::repo::apt (
|
|||||||
$repos = 'contrib',
|
$repos = 'contrib',
|
||||||
$architecture = $::architecture,
|
$architecture = $::architecture,
|
||||||
$key = {
|
$key = {
|
||||||
'id' => 'C901622B5EC4AF820C38AB861093DB45A12E206F',
|
'id' => 'BEE682289B2217F45AF4CC3F901F9177AB97ACBE',
|
||||||
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
|
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
|
||||||
},
|
},
|
||||||
$include = {
|
$include = {
|
||||||
|
@@ -23,4 +23,11 @@ class fluentd::repo::yum (
|
|||||||
path => '/bin:/usr/bin/',
|
path => '/bin:/usr/bin/',
|
||||||
refreshonly => true,
|
refreshonly => true,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
exec { 'remove old GPG key':
|
||||||
|
command => 'rpm -e --allmatches gpg-pubkey-a12e206f-*',
|
||||||
|
onlyif => 'rpm -qi gpg-pubkey-a12e206f-*',
|
||||||
|
notify => Exec['add GPG key'],
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "wywygmbh-fluentd",
|
"name": "wywygmbh-fluentd",
|
||||||
"version": "0.5.1",
|
"version": "0.5.3",
|
||||||
"author": "wywy GmbH",
|
"author": "wywy GmbH",
|
||||||
"summary": "Generic module for fluentd (td-agent).",
|
"summary": "Generic module for fluentd (td-agent).",
|
||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
|
@@ -21,7 +21,7 @@ describe 'fluentd::repo::apt', :type => :class do
|
|||||||
'repos' => 'contrib',
|
'repos' => 'contrib',
|
||||||
'architecture' => 'amd64',
|
'architecture' => 'amd64',
|
||||||
'key' => {
|
'key' => {
|
||||||
'id' => 'C901622B5EC4AF820C38AB861093DB45A12E206F',
|
'id' => 'BEE682289B2217F45AF4CC3F901F9177AB97ACBE',
|
||||||
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
|
'source' => 'http://packages.treasuredata.com/GPG-KEY-td-agent'
|
||||||
},
|
},
|
||||||
'include' => {
|
'include' => {
|
||||||
|
Reference in New Issue
Block a user