Merge branch 'master' into add-requirements-ci

This commit is contained in:
Werner Dijkerman
2020-10-16 15:47:41 +02:00
6 changed files with 11 additions and 13 deletions

View File

@ -66,4 +66,4 @@ jobs:
MY_MOLECULE_IMAGE=${{ matrix.molecule_distro.image }} MY_MOLECULE_IMAGE=${{ matrix.molecule_distro.image }}
MY_MOLECULE_GROUP=${{ matrix.molecule_distro.group }} MY_MOLECULE_GROUP=${{ matrix.molecule_distro.group }}
MY_MOLECULE_DOCKER_COMMAND=${{ matrix.molecule_distro.command }} MY_MOLECULE_DOCKER_COMMAND=${{ matrix.molecule_distro.command }}
molecule test molecule test

View File

@ -139,7 +139,7 @@ Version (Release date)
* tagdrop * tagdrop
* interval * interval
* Updated documentation * Updated documentation
0.0.2 (2015-09-20) 0.0.2 (2015-09-20)

View File

@ -22,9 +22,9 @@ Please note that this project is released with a Contributor Code of Conduct. By
2. Create a branch and apply your changes to this branch. 2. Create a branch and apply your changes to this branch.
a. Make sure you have updated the documentation when adding new variables; a. Make sure you have updated the documentation when adding new variables;
b. Don't forget to add/update tests so we can test the functionality during each Pull Request; b. Don't forget to add/update tests so we can test the functionality during each Pull Request;
c. Make sure the tests will succeed. c. Make sure the tests will succeed.
3. Push the branch to your fork and submit a pull request. 3. Push the branch to your fork and submit a pull request.
@ -85,4 +85,4 @@ Some web pages describing for virtual env:
[Molecule V2 with your own role](https://werner-dijkerman.nl/2017/09/05/using-molecule-v2-to-test-ansible-roles/) [Molecule V2 with your own role](https://werner-dijkerman.nl/2017/09/05/using-molecule-v2-to-test-ansible-roles/)
**End note**: Have fun making changes. If a feature helps you, then others find it helpful too and I will happily have it merged. **End note**: Have fun making changes. If a feature helps you, then others find it helpful too and I will happily have it merged.

View File

@ -205,10 +205,8 @@ More information: [https://github.com/influxdata/telegraf/blob/master/docs/FAQ.m
telegraf_plugins_default: telegraf_plugins_default:
- plugin: cpu - plugin: cpu
config: config:
- percpu = "true" - percpu = true
- plugin: disk - plugin: disk
tags:
- diskmetrics = "true"
tagpass: tagpass:
- fstype = [ "ext4", "xfs" ] - fstype = [ "ext4", "xfs" ]
tagdrop: tagdrop:
@ -298,12 +296,12 @@ An example might look like this:
- fstype = [ "ext4", "xfs" ] - fstype = [ "ext4", "xfs" ]
- path = [ "/opt", "/home" ] - path = [ "/opt", "/home" ]
If you want to define processors you can simply use `telegraf_processors` variable. If you want to define processors you can simply use `telegraf_processors` variable.
An example might look like this: An example might look like this:
``` ```
telegraf_processors: telegraf_processors:
- processor: rename - processor: rename
- processor: rename.replace - processor: rename.replace
config: config:
- tag = "level" - tag = "level"
- dest = "LogLevel" - dest = "LogLevel"

View File

@ -209,4 +209,4 @@ case $1 in
echo "Usage: $0 {start|stop|restart|status|version}" echo "Usage: $0 {start|stop|restart|status|version}"
exit 2 exit 2
;; ;;
esac esac

View File

@ -54,4 +54,4 @@
{{ item }} {{ item }}
{% endfor %} {% endfor %}
{% endfor %} {% endfor %}
{% endif %} {% endif %}