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

turbotstat: Add LogicalCoreNames option #815

Merged
merged 1 commit into from
Jun 13, 2018

Conversation

sileht
Copy link
Contributor

@sileht sileht commented Jun 5, 2018

turbotstat: Add LogicalCoreNames option

Since collectd-5.7, we can configure the name convention for core names.

This change adds this.

@@ -0,0 +1,25 @@
<Plugin turbostat>
<% if $::collectd::plugin::turbostat::core_c_states { -%>
Copy link
Member

Choose a reason for hiding this comment

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

Drop the $:: - it's not needed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have dropped the useless '::', but the '$' is required.

@juniorsysadmin juniorsysadmin added the enhancement New feature or request label Jun 6, 2018
Since collectd-5.7, we can configure the name convention for core names.

This change adds this.
@sileht sileht force-pushed the sileht/turbotstat branch from 261d56d to d5c1fc1 Compare June 12, 2018 06:09
@@ -7,11 +7,12 @@
Optional[Boolean] $digital_temperature_sensor = undef,
Optional[Integer] $tcc_activation_temp = undef,
Optional[Integer] $running_average_power_limit = undef,
Optional[Boolean] $logical_core_names = undef,
Copy link
Member

Choose a reason for hiding this comment

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

datatypes \o/

@bastelfreak bastelfreak merged commit 592c63b into voxpupuli:master Jun 13, 2018
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.

3 participants