An open API service indexing awesome lists of open source software.

https://github.com/ericsson/puppet-module-tweaks


https://github.com/ericsson/puppet-module-tweaks

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

# tweaks module #
===

Collection of Linux terminal server related system tweaks.

===

# Compatibility #

This module has been tested to work on the following systems with the latest Puppet v3, v3 with future parser,
v4, v5 and v6. See `.travis.yml` for the exact matrix of supported Puppet and ruby versions.

## OS Distributions ##

* EL 5
* EL 6
* EL 7
* Suse 10
* Suse 11
* Suse 12

===

# Function support matrix ##

|fix \ OS |EL5|EL6|EL7|Suse10|Suse11|Suse12|
|------------------------|---|---|---|------|------|------|
|fix_access_to_alsa | - | - | - | + | + | - |
|fix_core_pattern | - | + | + | - | + | + |
|fix_haldaemon | - | - | - | - | + | - |
|fix_localscratch | + | + | + | + | + | + |
|fix_messages_permission | + | + | + | + | + | + |
|fix_pulse_respawn | - | + | + | + | + | + |
|fix_services | + | + | - | + | + | - |
|fix_swappiness | + | + | + | + | + | + |
|fix_systohc_for_vm | - | - | - | + | + | - |
|fix_updatedb | - | - | - | + | + | + |
|fix_xinetd | + | + | - | + | + | - |

# Parameters #

fix_access_to_alsa (boolean)
----------------------------
Access MODE of ALSA device will be set to 0666 to make sure they are accessible for all users if it's true.
Nothing will happen with /etc/udev/rules.d/40-alsa.rules if it's false.

- *Default*: false

fix_core_pattern (boolean)
------------------------
Trigger to manage the traditional core dump behavior.

- *Default*: false

fix_core_pattern_value (string)
-----------------------------
Content for the file /proc/sys/kernel/core_pattern.

- *Default*: 'core'

fix_haldaemon (boolean)
-----------------------
Add the "CPUFREQ=no" line in /etc/sysconfig/haldaemon and make sure service haldaemon is running if it's true.
It only affects to Suse 11.
Nothing will happen with /etc/sysconfig/haldaemon if it's false.

- *Default*: false

fix_localscratch (boolean)
--------------------------
Create local scratch folder if it's true.
Nothing will happen with local scratch folder if it's false.

- *Default*: false

fix_localscratch_path (string)
------------------------------
Path to local scratch.

- *Default*: '/local/scratch'

fix_messages_permission (boolean)
---------------------------------
Make sure the mode of /var/log/messages is 0644 if it's true.
Nothing will happen with /var/log/messages if it's false.

- *Default*: false

fix_pulse_respawn (boolean)
---------------------------
Prevents PulseAudio from respawning. It will set autospawn to no in /etc/pulse/client.conf.
PulseAudio configuration will not get touched if it's false.

- *Default*: false

fix_services (boolean)
----------------------
Disable useless services based on the osfamily. (nfs service is removed from this disable list.)
It only affects to Suse 10&11, EL 5&6.
Nothing will happen with those services if it's false.

- *Default*: false

fix_services_services (array)
-----------------------------
Array of service names to disable when fix_services is activated. 'USE_DEFAULTS' will choose the appropriate default for the used OS.

- *Default*: 'USE_DEFAULTS'

fix_swappiness (boolean)
------------------------
Set parameter that controls the relative weight given to swapping out runtime memory if it's true.

- *Default*: false

fix_swappiness_value (string)
-----------------------------
Set parameter that controls the relative weight given to swapping out runtime memory.
The value will be set into /proc/sys/vm/swappiness directly.

- *Default*: '30'

fix_systohc_for_vm (boolean)
----------------------------
Disable hardware clock to the current system time if it's true.
It only affects to Suse virtual machine.
Nothing will happen with /etc/sysconfig/clock if it's false.

- *Default*: false

fix_updatedb (boolean)
----------------------
Set "RUN_UPDATEDB=no" in /etc/sysconfig/locate if it's true.
Updatedb cronjob in cron.daily will be disabled when "RUN_UPDATEDB=no".
It only affects to Suse.
Nothing will happen with /etc/sysconfig/locate if it's false.

- *Default*: false

fix_xinetd (boolean)
--------------------
Xinetd will be fixed (install package, configure /etc/xinetd.d/echo) if it's true.
Nothing will happen with xinetd if it's false.

- *Default*: false