1
0
mirror of https://github.com/krislamo/puppet-fluentd synced 2024-12-16 13:20:35 +00:00
Commit Graph

68 Commits

Author SHA1 Message Date
6620a30633
Upgrade to td-agent v4 on older Puppet installs
The fluentd_gem provider for installing fluentd plugins uses
Puppet's built-in gem provider. Unfortunately, that gem provider
on our Puppet version is not compatible with td-agent's new embedded
Ruby since it includes the no-rdoc and no-ri flags deprecated and
replaced by the no-document flag. This install function override
replaces the flags and might be removable after a Puppet upgrade.
2022-05-18 15:24:34 -04:00
Ricky Ramirez
ff5ea7563a Don't pull gpg key from a keyserver. (#3)
This prevents an outage should the keyserver be unaccesible (e.g. the
host doesn't allow outbound traffic or the keyserver is down)

The subkey has been removed from the original key since it is not
required and older versions of the apt module incorrectly parse the
subkey's fingerprint.
2019-08-15 08:49:55 -07:00
Rafal Mierzwiak
526fd7a84e Ensure apt source exists before package installation (#2)
Puppet tried to install the package without apt source.
2019-08-14 14:58:55 +01:00
Ricky Ramirez
e880d11f51 Realize virtual resources.
This allows other modules to declare fluentd resources without depending on
them being installed.
2018-05-08 16:02:38 -07:00
Ricky Ramirez
19820e5e2a Allow configuring the major version of the repository. 2018-05-04 13:11:21 -07:00
Christian Becker
948431f50c
Merge pull request #23 from tinkerborg/master
Fix hard coded user/group names in config manifest
2018-01-16 18:46:05 +01:00
Christian Becker
9eea9f2009 migrate from stdlib validation to puppet datatypes
fixes some puppet 4 deprecation warnings caused by stdlib
2018-01-16 16:23:03 +01:00
tinkerborg
344453c241 Fix hard coded user/group names in config manifest 2018-01-12 15:27:53 -05:00
Jan Krause
cd9813f574 rename company 2017-08-17 16:49:04 +02:00
Max Wilhelm
0c62c616f0 updated comments & README 2017-08-14 13:18:06 +02:00
Luca Zecca
ee3a8e968a bug in referenced class variable 2017-07-25 16:10:06 +02:00
Luca Zecca
c8046ee2c6 added boolean param for enabling fluentd::conf_dir exclusive file handling by puppet. 2017-07-24 14:33:21 +02:00
Nicanor Gutierrez
3fb5293880 Fix formatting 2017-07-11 11:13:23 +02:00
Nicanor Gutierrez
e5650f47d1 Add path to exec to avoid error
Error received before: Error: Failed to apply catalog: Parameter onlyif failed on Exec[remove old GPG key]: 'rpm -qi gpg-pubkey-a12e206f-*' is not qualified and no path was specified. Please qualify the command or specify a path. at /etc/puppetlabs/code/environments/acceptance/modules/fluentd/manifests/repo/yum.pp:27
2017-07-11 11:13:23 +02:00
Max Wilhelm
f4c24ee881 fixed lint warnings 2017-07-11 10:53:53 +02:00
Christian Becker
2183f670f2 change tresuredata GPG key
http://www.fluentd.org/blog/update-gpg-key-for-td-agent
2017-01-19 14:40:44 +01:00
Peter Drake
6cb1364023 Correct the docs related to the service_enable parameter. 2016-07-13 15:55:55 -04:00
Martin Hrabovcin
9754e64490 Allow to install specific version of fluent plugins 2016-05-11 18:32:31 +02:00
Max Wilhelm
9900e8f172 fixed path for 'add GPG key' exec 2016-01-27 11:59:00 +01:00
Max Wilhelm
7ddbe46025 Merge pull request #1 from ume3/add-redhat-repository-support
added redhat(yumrepo) support
2016-01-27 10:06:38 +01:00
ume3
e3e4b9bd61 add: an $ensure parameter
review:
https://github.com/wywygmbh/puppet-fluentd/pull/1#discussion-diff-50847623
refs:
http://docs.puppetlabs.com/puppet/latest/reference/type.html#yumrepo-attribute-ensure
2016-01-27 11:35:43 +09:00
ume3
9aaccda9e0 del: not really needed included
review:
https://github.com/wywygmbh/puppet-fluentd/pull/1#discussion-diff-50847501
2016-01-27 11:18:07 +09:00
Max Wilhelm
2b86e57b7b fixed lint warning 2016-01-26 22:38:44 +01:00
Max Wilhelm
08a27245f7 Merge branch 'master' of https://github.com/cotocisternas/puppet-fluentd
Conflicts:
	manifests/init.pp
	manifests/params.pp
	manifests/repo/apt.pp
2016-01-26 22:13:30 +01:00
ume3
b465108fcc added redhat(yumrepo) support
Check CentOS7.2(1511) / Redhat7.1
refs
 - https://td-agent-package-browser.herokuapp.com/2/redhat/
 - http://docs.puppetlabs.com/puppet/latest/reference/type.html#yumrepo
2016-01-26 18:07:01 +09:00
Max Wilhelm
a6fbde8a4c fixed apt repo location 2016-01-23 00:33:16 +01:00
Max Wilhelm
471eb1bbf2 added debian support 2016-01-23 00:32:29 +01:00
Max Wilhelm
9eb93da056 cleanup beaker tests
- use beaker/puppet_install_helper to install puppet
- installed dependency modules like they are listed in the metadata.json
- changed apt repo source from https to http, https produced ssl errors under certain ruby versions and needs additional packages on some systems and the packages are signed anyways
2016-01-22 18:52:12 +01:00
Max Wilhelm
afc59cb27e renamed manage_repo to repo_manage
consistency
2016-01-22 18:50:04 +01:00
Coto Cisternas
490868d6b1 require => Exec['apt_update'] before install 2016-01-20 00:40:21 -03:00
Coto Cisternas
e693af3c42 debian support, fix exec validations and repository 2016-01-15 17:35:19 -03:00
Max Wilhelm
5da076c98a changed fluentd repo location from http to https 2016-01-11 18:37:09 +01:00
Max Wilhelm
7821317f84 added ::fluentd::user
this will manage the user if  is set to true. This will add the td-agent user to the user group 'adm', so td-agent can view log files under /var/log/*.
2015-12-22 13:56:46 +01:00
Jan Krause
88f021de43 allow repeating keys in match rules
extends the match template, yes, its not pretty
readable, to support array definitions for
defining multiple server or stores.
2015-12-11 10:21:27 +01:00
Jan Krause
641873546f minor changes 2015-12-09 16:04:28 +01:00
Max Wilhelm
922914c32b fixed lint warnings 2015-12-07 11:09:31 +01:00
Max Wilhelm
9d2175411b parameterized config path, dir, file and user/group 2015-12-04 14:20:11 +01:00
Max Wilhelm
c957e70511 fixed fluentd::plugin::file call 2015-12-04 13:27:29 +01:00
Max Wilhelm
4eca5e3a14 fixed fluentd::plugin::gem 2015-12-04 13:24:19 +01:00
Max Wilhelm
0b4c930762 fixed fluentd::plugin::file 2015-12-04 13:24:01 +01:00
Max Wilhelm
d1907b14f6 added missing , in examples 2015-12-04 12:54:07 +01:00
Max Wilhelm
395128abd5 changed apt key to full fingerprint 2015-12-04 12:48:17 +01:00
Max Wilhelm
49529498aa prettified notify calls 2015-12-04 12:30:30 +01:00
Max Wilhelm
ef70744f8c prettified comments for external classes/defines 2015-12-04 11:03:52 +01:00
Max Wilhelm
1057a97d2e removed ensure from comment 2015-12-04 10:47:04 +01:00
Max Wilhelm
8e1a9035f0 removed unused $ensure parameter 2015-12-04 10:43:37 +01:00
Max Wilhelm
6fb278603b changed class calls in init.pp
this is needed to be able to test classes independently. All these sub classes inherit from the base class (::fluentd). If you call these classes directly you will get a duplicated declaration error.
2015-12-03 19:30:07 +01:00
Max Wilhelm
86c5e91781 Revert "manifests/config.pp -> manifests/config/init.pp"
This reverts commit 51b5f0f640.

This is needed to make sure the puppet autoloader can load the class  while running tests.
2015-12-03 17:44:02 +01:00
Max Wilhelm
b0a98aa149 added definition to install plugins 2015-12-03 11:59:51 +01:00
Max Wilhelm
79ab220662 fail if fluentd::config::file gets called from external 2015-12-01 15:29:53 +01:00