Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace toml templates with toml-rb gem #80

Merged
merged 3 commits into from
Jan 17, 2018
Merged

Conversation

nrdmn
Copy link
Contributor

@nrdmn nrdmn commented Sep 9, 2017

This uses a real toml generator instead of templates.
It is an alternative approach to #47 and #79 and fixes #32, #38, #41, #42 and #68.

Tests are still mostly broken because I don't know ruby.

@yankcrime
Copy link
Member

Thanks for this @nrdmn - this looks like the most sensible way forward. I'll see about fixing those tests, and then this would be ideal for v2.0 of the module.

@hanej
Copy link

hanej commented Nov 10, 2017

There's some functionality that we require (like having multiple inputs of the same type in hiera) that I am working on adding. It looks like this PR solves that and much more. Looking forward to seeing this in a new version.

@hanej
Copy link

hanej commented Nov 14, 2017

@nrdmn I created a PR for your branch that may fix the spec tests and also added plugin_type through hiera so we can have the same input/output multiple times.

@yankcrime
Copy link
Member

@hanej @nrdmn Any progress with filling the gaps in functionality? I'd like to get this merged ASAP if at all possible as it fixes a lot of issues.

@hanej
Copy link

hanej commented Jan 3, 2018

The ball is in @nrdmn's court. I issued a pull request to his repo.

Fixed hiera example, added precision and plugin_type for hiera
@yankcrime
Copy link
Member

Thanks both!

},
inputs => {
'cpu' => {
'cpu' => [{
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This same change needs to be made in manifests/params.pp defaults. (sorry for being so late with this comment) @hanej @nrdmn

sparr referenced this pull request in hotschedules/puppet-telegraf Jan 18, 2018
yankcrime added a commit that referenced this pull request Jan 19, 2018
This commit updates information related to version 2.0 of this module,
including changes to the README.

It explicitly states support for Ubuntu 16.04 as this is the default SUT
for acceptance testing.

It also includes an unrelated but necessary fix called out by @sparr in
PR #80.
yankcrime added a commit that referenced this pull request Jan 19, 2018
This commit updates information related to version 2.0 of this module, including changes to the README.

Puppet 4 is now the minimum version requirement.

It explicitly states support for Ubuntu 16.04 as this is now the default SUT for acceptance testing.

It also includes an unrelated but necessary fix called out by @sparr in PR #80.
@nrdmn nrdmn mentioned this pull request Jan 19, 2018
@nrdmn nrdmn mentioned this pull request Jan 23, 2018
sparr pushed a commit to hotschedules/puppet-telegraf that referenced this pull request Jan 26, 2018
This commit updates information related to version 2.0 of this module, including changes to the README.

Puppet 4 is now the minimum version requirement.

It explicitly states support for Ubuntu 16.04 as this is now the default SUT for acceptance testing.

It also includes an unrelated but necessary fix called out by @sparr in PR voxpupuli#80.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot differentiate string and numeric options
4 participants