Commit Graph
100 Commits
Author SHA1 Message Date
Max Wilhelm 258a37ff11 use rspec-puppet-facts for filter_spec 2017-08-17 13:33:43 +02:00
Max Wilhelm c2f95f4bc9 use rspec-puppet-facts for fluentd_user_spec 2017-08-17 13:26:38 +02:00
Max Wilhelm 257880811c use rspec-puppet-facts for fluentd_spec 2017-08-17 13:26:16 +02:00
Max Wilhelm 6e97016aac use rspec-puppet-facts for fluentd_service_spec 2017-08-17 13:26:03 +02:00
Max Wilhelm b34c7dc4e4 use rspec-puppet-facts for fluentd_repo_yum_spec 2017-08-14 17:56:33 +02:00
Max Wilhelm d7f6d91a11 use rspec-puppet-facts for fluentd_repo_apt_spec 2017-08-14 17:56:20 +02:00
Max Wilhelm e8cdc9a9e0 use rspec-puppet-facts for fluentd_install_spec 2017-08-14 17:56:06 +02:00
Max Wilhelm b51a559684 use rspec-puppet-facts for fluentd_config_spec 2017-08-14 17:55:39 +02:00
Max Wilhelm 754cd4a696 use rspec-puppet-facts for fluentd_repo_spec 2017-08-14 17:55:27 +02:00
Max Wilhelm 41a617c156 add and init rspec-puppet-facts 2017-08-14 17:54:56 +02:00
Max Wilhelm 0c62c616f0 updated comments & README 2017-08-14 13:18:06 +02:00
Max Wilhelm 76d26e8216 changed puppet-lint config 2017-08-14 13:07:16 +02:00
Max Wilhelm 3e3de2aed9 fixed source.erb template indentation 2017-08-04 11:16:51 +02:00
Max Wilhelm 5f84f04f0f fixed match.erb template indentation 2017-08-04 11:16:31 +02:00
Max Wilhelm ad17694713 fixed filter.erb template indentation 2017-08-04 11:16:07 +02:00
Max Wilhelm 533857e49c added missing fixtures 2017-08-03 12:11:13 +02:00
Max Wilhelm 525fc9c5ab use fixtures for conf file tests
should help to solve https://github.com/wywygmbh/puppet-fluentd/issues/4
2017-08-03 12:00:59 +02:00
Max Wilhelm bfa6de193e prepare 0.5.6 2017-07-25 16:24:03 +02:00
Max Wilhelm 3f26736084 prepare 0.5.5 2017-07-25 15:17:22 +02:00
Max Wilhelm fc94e7ba6f prepare 0.5.4 2017-07-11 11:25:10 +02:00
Max Wilhelm f4c24ee881 fixed lint warnings 2017-07-11 10:53:53 +02:00
Max Wilhelm 2e789170a0 puppet lint configuration 2017-07-11 10:53:53 +02:00
Max Wilhelm 22a9578a88 drop support for ruby 1.9.3
EOL since February 23, 2015
2017-07-11 10:53:53 +02:00
Max Wilhelm bb2346df50 prepare 0.5.2 release 2016-07-14 11:22:44 +02:00
Max Wilhelm e062d4f2e0 disable_puppet_url_without_modules for puppet-lint 2016-07-14 11:12:20 +02:00
Max Wilhelm f32ea2c0ba try to fix build 2016-07-14 10:56:34 +02:00
Max Wilhelm 3dab36ee83 prepare 0.5.1 release 2016-05-13 10:18:52 +02:00
Max Wilhelm 6b915de23c prepare 0.5.0 release 2016-01-27 21:05:34 +01:00
Max Wilhelm 3797e70098 added metadata-json-lint to Gemfile 2016-01-27 20:46:23 +01:00
Max Wilhelm 9c34a6cbf6 added gem plugin installation to acceptance test 2016-01-27 20:12:28 +01:00
Max Wilhelm 9f79619a08 fixed typeo in README 2016-01-27 18:25:36 +01:00
Max Wilhelm 89287cc828 updated README 2016-01-27 13:43:34 +01:00
Max Wilhelm 3e36e94971 added CentOS to operatingsystem_support 2016-01-27 12:56:49 +01:00
Max Wilhelm ae7256a8c2 added context to class spec tests to be able to test osfamily RedHat 2016-01-27 12:45:27 +01:00
Max Wilhelm be1a555591 added spec test for fluentd::repo::yum 2016-01-27 12:42:11 +01:00
Max Wilhelm 3ef403cf65 add nodesets for centos 6 & 7 2016-01-27 12:00:35 +01:00
Max Wilhelm 9900e8f172 fixed path for 'add GPG key' exec 2016-01-27 11:59:00 +01:00
Max Wilhelm 2b86e57b7b fixed lint warning 2016-01-26 22:38:44 +01:00
Max Wilhelm b0000fc99b added include parameter to fluentd::repo::apt test 2016-01-26 22:20:26 +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
Max Wilhelm 4c3f1f9a18 Revert "fixed travis build"
This reverts commit c39f88be0b.

Has been fixed with rspec-puppet version 2.3.2
2016-01-26 19:08:53 +01:00
Max Wilhelm c39f88be0b fixed travis build
there seems to be a bing in rspec-puppet 2.3.1
https://github.com/rodjek/rspec-puppet/issues/353
2016-01-26 12:35:50 +01:00
Max Wilhelm 567a07ebb2 fixed serverspec test for Debian 8
there seems to be a bug while checking for service enabled
2016-01-25 12:42:03 +01: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
Max Wilhelm 2e5892663e fixed spec tests 2016-01-11 18:38:08 +01:00
Max Wilhelm 5da076c98a changed fluentd repo location from http to https 2016-01-11 18:37:09 +01:00
Max Wilhelm c6e3a69f2b added first version of beaker tests (wip) 2016-01-11 18:36:45 +01:00
Max Wilhelm 7beb6b5298 added class parameters to README 2015-12-22 13:57: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
Max Wilhelm 428a220e1f increased stdlib dependency 2015-12-08 11:50:23 +01:00
Max Wilhelm 225df3361b prepared release 0.1.0 2015-12-07 18:35:59 +01:00
Max Wilhelm 89c98b79d6 added examples to examples folder 2015-12-07 13:23:41 +01:00
Max Wilhelm c1de2cb703 removed future parser rvm 2015-12-07 12:37:02 +01:00
Max Wilhelm 6d2f4b43d9 added travis.yml 2015-12-07 12:34:35 +01:00
Max Wilhelm 99675255e5 prettified README.md 2015-12-07 11:20:51 +01:00
Max Wilhelm cec2c1c0c7 added running linter to test suite README 2015-12-07 11:18:04 +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 43cfae7797 plugin_spec 2015-12-04 13:28:06 +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 fcdbee4903 fixed spec context 2015-12-04 13:14:40 +01:00
Max Wilhelm 0723d2df21 added match_spec 2015-12-04 13:11:34 +01:00
Max Wilhelm 87b6efde4b added filter_spec 2015-12-04 13:11:23 +01:00
Max Wilhelm df6c698931 added source_spec 2015-12-04 13:11:08 +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 ea344aa9ad added fluentd_repo_apt_spec 2015-12-04 12:29:06 +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 240c4b37b8 added fluentd_service_spec.rb 2015-12-03 19:30:07 +01:00
Max Wilhelm b12b650357 added fluentd_config_spec.rb 2015-12-03 19:30:07 +01:00
Max Wilhelm 54431b8542 added fluentd_install_spec.rb 2015-12-03 19:30:07 +01:00
Max Wilhelm b21e606acb added fluentd_repo_spec.rb 2015-12-03 19:30:07 +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 3c10ce7aac spec/classes/init_spec.rb -> spec/classes/fluentd_spec.rb 2015-12-03 19:30:06 +01:00
Max Wilhelm e7a41f2ad5 added how to run the test suite to README 2015-12-03 17:56:34 +01:00
Max Wilhelm 1cc05f5b1b WIP: added first init.pp test 2015-12-03 17:53:01 +01:00
Max Wilhelm fc4c9c6bb5 added .fixtures.yml 2015-12-03 17:52:19 +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 98f55bd1fd added fluentd_gem provider
this provider will be used to install fluentd plugins
2015-12-01 17:56:16 +01:00
Max Wilhelm 9bcc78ec74 added requirements section to README 2015-12-01 17:21:31 +01:00
Max Wilhelm 7276c9426b first README draft 2015-12-01 17:18:07 +01:00
Max Wilhelm 79ab220662 fail if fluentd::config::file gets called from external 2015-12-01 15:29:53 +01:00
Max Wilhelm 540a50ea46 added parameter validation for fluentd::source 2015-12-01 15:11:24 +01:00
Max Wilhelm 8d3c272916 added parameter validation for fluentd::match 2015-12-01 15:11:19 +01:00
Max Wilhelm d24781fcad added parameter validation for fluentd::filter 2015-12-01 15:11:05 +01:00
Max Wilhelm ced0f3ad2b added fluentd::service notify on config change 2015-12-01 14:25:42 +01:00
Max Wilhelm 51b5f0f640 manifests/config.pp -> manifests/config/init.pp 2015-12-01 14:23:37 +01:00
Max Wilhelm 49857ddb1d added fluentd::match definition 2015-12-01 14:19:18 +01:00
Max Wilhelm 4c880b1a9b added fluentd::filter definition 2015-12-01 14:18:37 +01:00
Max Wilhelm ce9a65a4e4 added fluentd::source definition 2015-12-01 14:18:06 +01:00
Max Wilhelm b79c8bfd25 added generic fluentd::config::file resource
this is used to create config files for sources, matches and filters.
2015-12-01 13:28:51 +01:00