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

Plugin turbostat #642

Merged
merged 1 commit into from Feb 12, 2017
Merged

Plugin turbostat #642

merged 1 commit into from Feb 12, 2017

Conversation

jkroepke
Copy link
Contributor


include ::collectd

validate_string($core_c_states, $package_c_states, $tcc_activation_temp, $running_average_power_limit)
Copy link
Member

Choose a reason for hiding this comment

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

can you instead declare the variables as String datatype?


validate_string($core_c_states, $package_c_states, $tcc_activation_temp, $running_average_power_limit)
if $system_management_interrupt {
validate_bool($system_management_interrupt)
Copy link
Member

Choose a reason for hiding this comment

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

same here, define as bool please

@jkroepke
Copy link
Contributor Author

@bastelfreak Did you mean the puppet 4 type definitions instead validate functions?

@bastelfreak
Copy link
Member

yep

@jkroepke
Copy link
Contributor Author

@bastelfreak What about erb? Should I use epp instead erb?

@vinzent vinzent added the needs-work not ready to merge just yet label Feb 10, 2017
@bastelfreak
Copy link
Member

@jkroepke can you take a look at this PR as well?

@jkroepke
Copy link
Contributor Author

@bastelfreak sure. I will try it.

@bastelfreak bastelfreak added enhancement New feature or request and removed needs-work not ready to merge just yet labels Feb 12, 2017
@bastelfreak
Copy link
Member

Thanks!

@bastelfreak bastelfreak merged commit 3d8ade7 into voxpupuli:master Feb 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants