Skip to content

Commit

Permalink
Finalize RockyLinux 8 support (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-riddle authored Aug 1, 2023
1 parent 4f1ae63 commit 442ca45
Show file tree
Hide file tree
Showing 4 changed files with 53 additions and 22 deletions.
1 change: 1 addition & 0 deletions .github/workflows/pr_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ jobs:
puppet_version: '~> 8.0'
ruby_version: 3.1
experimental: true
fail-fast: false
env:
PUPPET_VERSION: ${{matrix.puppet.puppet_version}}
steps:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@ dist
/junit
/log
/doc
/Gemfile.lock
1 change: 1 addition & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ pup7.pe-unit:
<<: *pup_7_pe
<<: *unit_tests

# Commenting until Puppet 8 is released
#pup8.x-unit:
# <<: *pup_8_x
# <<: *unit_tests
Expand Down
72 changes: 50 additions & 22 deletions REFERENCE.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,45 @@
# Reference

<!-- DO NOT EDIT: This document was generated by Puppet Strings -->

## Table of Contents

**Classes**
### Classes

* [`tuned`](#tuned): Manages the activation of tuned The following options only affect 'tuned'

### Data types

* [`Tuned::IoSchedule`](#Tuned--IoSchedule)

## Classes

### tuned
### <a name="tuned"></a>`tuned`

Manages the activation of tuned

The following options only affect 'tuned'

#### Parameters

The following parameters are available in the `tuned` class.

##### `use_sysctl`
The following parameters are available in the `tuned` class:

* [`use_sysctl`](#-tuned--use_sysctl)
* [`use_sysctl_post`](#-tuned--use_sysctl_post)
* [`io_scheduler`](#-tuned--io_scheduler)
* [`elevator_tune_devs`](#-tuned--elevator_tune_devs)
* [`tuning_interval`](#-tuned--tuning_interval)
* [`diskmonitor_enable`](#-tuned--diskmonitor_enable)
* [`disktuning_enable`](#-tuned--disktuning_enable)
* [`disktuning_hdparm`](#-tuned--disktuning_hdparm)
* [`disktuning_alpm`](#-tuned--disktuning_alpm)
* [`netmonitor_enable`](#-tuned--netmonitor_enable)
* [`nettuning_enable`](#-tuned--nettuning_enable)
* [`cpumonitor_enable`](#-tuned--cpumonitor_enable)
* [`cputuning_enable`](#-tuned--cputuning_enable)
* [`package_ensure`](#-tuned--package_ensure)

##### <a name="-tuned--use_sysctl"></a>`use_sysctl`

Data type: `Boolean`

Expand All @@ -28,7 +48,7 @@ use only the ktune settings.

Default value: `true`

##### `use_sysctl_post`
##### <a name="-tuned--use_sysctl_post"></a>`use_sysctl_post`

Data type: `Boolean`

Expand All @@ -38,7 +58,7 @@ settings.

Default value: `false`

##### `io_scheduler`
##### <a name="-tuned--io_scheduler"></a>`io_scheduler`

Data type: `Tuned::IoSchedule`

Expand All @@ -48,93 +68,101 @@ the scheduler for any block device that is using a non-default scheduler
when ktune starts. You should probably leave this on "deadline", but
"as", "cfq", and "noop" are also legal values.

Default value: 'deadline'
Default value: `'deadline'`

##### `elevator_tune_devs`
##### <a name="-tuned--elevator_tune_devs"></a>`elevator_tune_devs`

Data type: `Array[String]`

These are the devices, that should be tuned with the ELEVATOR

Default value: ['hd','sd','cciss']
Default value: `['hd','sd','cciss']`

##### `tuning_interval`
##### <a name="-tuned--tuning_interval"></a>`tuning_interval`

Data type: `Integer`

The number of seconds between tuning runs.

Default value: 10
Default value: `10`

##### `diskmonitor_enable`
##### <a name="-tuned--diskmonitor_enable"></a>`diskmonitor_enable`

Data type: `Boolean`

Enable the disk monitoring plugin.

Default value: `true`

##### `disktuning_enable`
##### <a name="-tuned--disktuning_enable"></a>`disktuning_enable`

Data type: `Boolean`

Enable the disk tuning plugin.

Default value: `true`

##### `disktuning_hdparm`
##### <a name="-tuned--disktuning_hdparm"></a>`disktuning_hdparm`

Data type: `Boolean`

Use 'hdparm' for disk tuning.

Default value: `true`

##### `disktuning_alpm`
##### <a name="-tuned--disktuning_alpm"></a>`disktuning_alpm`

Data type: `Boolean`

Use 'ALPM' when disk tuning.

Default value: `true`

##### `netmonitor_enable`
##### <a name="-tuned--netmonitor_enable"></a>`netmonitor_enable`

Data type: `Boolean`

Enable the network monitoring plugin.

Default value: `true`

##### `nettuning_enable`
##### <a name="-tuned--nettuning_enable"></a>`nettuning_enable`

Data type: `Boolean`

Enable the network tuning plugin.

Default value: `true`

##### `cpumonitor_enable`
##### <a name="-tuned--cpumonitor_enable"></a>`cpumonitor_enable`

Data type: `Boolean`

Enable the CPU monitoring plugin.

Default value: `true`

##### `cputuning_enable`
##### <a name="-tuned--cputuning_enable"></a>`cputuning_enable`

Data type: `Boolean`

Enable the CPU tuning plugin.

Default value: `true`

##### `package_ensure`
##### <a name="-tuned--package_ensure"></a>`package_ensure`

Data type: `String`

The ensure status of the tuned package

Default value: simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })
Default value: `simplib::lookup('simp_options::package_ensure', { 'default_value' => 'installed' })`

## Data types

### <a name="Tuned--IoSchedule"></a>`Tuned::IoSchedule`

The Tuned::IoSchedule data type.

Alias of `Enum['deadline', 'as', 'cfq', 'noop']`

0 comments on commit 442ca45

Please sign in to comment.