{"id":27958126,"url":"https://github.com/ericsson/puppet-module-tweaks","last_synced_at":"2025-05-07T18:16:28.681Z","repository":{"id":73331332,"uuid":"63244596","full_name":"Ericsson/puppet-module-tweaks","owner":"Ericsson","description":null,"archived":false,"fork":false,"pushed_at":"2018-10-30T13:47:34.000Z","size":104,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-05-07T18:16:24.441Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Ericsson.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2016-07-13T12:38:20.000Z","updated_at":"2024-03-25T13:26:54.000Z","dependencies_parsed_at":"2023-03-07T20:00:25.717Z","dependency_job_id":null,"html_url":"https://github.com/Ericsson/puppet-module-tweaks","commit_stats":null,"previous_names":["ericsson/puppet-module-tweaks"],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fpuppet-module-tweaks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fpuppet-module-tweaks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fpuppet-module-tweaks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ericsson%2Fpuppet-module-tweaks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ericsson","download_url":"https://codeload.github.com/Ericsson/puppet-module-tweaks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931508,"owners_count":21827112,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-05-07T18:16:27.978Z","updated_at":"2025-05-07T18:16:28.648Z","avatar_url":"https://github.com/Ericsson.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tweaks module #\n===\n\nCollection of Linux terminal server related system tweaks.\n\n===\n\n# Compatibility #\n\nThis module has been tested to work on the following systems with the latest Puppet v3, v3 with future parser,\nv4, v5 and v6. See `.travis.yml` for the exact matrix of supported Puppet and ruby versions.\n\n## OS Distributions ##\n\n* EL 5\n* EL 6\n* EL 7\n* Suse 10\n* Suse 11\n* Suse 12\n\n===\n\n\n# Function support matrix ##\n\n|fix \\ OS                |EL5|EL6|EL7|Suse10|Suse11|Suse12|\n|------------------------|---|---|---|------|------|------|\n|fix_access_to_alsa      | - | - | - | +    | +    | -    |\n|fix_core_pattern        | - | + | + | -    | +    | +    |\n|fix_haldaemon           | - | - | - | -    | +    | -    |\n|fix_localscratch        | + | + | + | +    | +    | +    |\n|fix_messages_permission | + | + | + | +    | +    | +    |\n|fix_pulse_respawn       | - | + | + | +    | +    | +    |\n|fix_services            | + | + | - | +    | +    | -    |\n|fix_swappiness          | + | + | + | +    | +    | +    |\n|fix_systohc_for_vm      | - | - | - | +    | +    | -    |\n|fix_updatedb            | - | - | - | +    | +    | +    |\n|fix_xinetd              | + | + | - | +    | +    | -    |\n\n\n# Parameters #\n\nfix_access_to_alsa (boolean)\n----------------------------\nAccess MODE of ALSA device will be set to 0666 to make sure they are accessible for all users if it's true.\nNothing will happen with /etc/udev/rules.d/40-alsa.rules if it's false.\n\n- *Default*: false\n\nfix_core_pattern (boolean)\n------------------------\nTrigger to manage the traditional core dump behavior.\n\n- *Default*: false\n\nfix_core_pattern_value (string)\n-----------------------------\nContent for the file /proc/sys/kernel/core_pattern.\n\n- *Default*: 'core'\n\nfix_haldaemon (boolean)\n-----------------------\nAdd the \"CPUFREQ=no\" line in /etc/sysconfig/haldaemon and make sure service haldaemon is running if it's true.\nIt only affects to Suse 11.\nNothing will happen with /etc/sysconfig/haldaemon if it's false.\n\n- *Default*: false\n\nfix_localscratch (boolean)\n--------------------------\nCreate local scratch folder if it's true.\nNothing will happen with local scratch folder if it's false.\n\n- *Default*: false\n\nfix_localscratch_path (string)\n------------------------------\nPath to local scratch.\n\n- *Default*: '/local/scratch'\n\nfix_messages_permission (boolean)\n---------------------------------\nMake sure the mode of /var/log/messages is 0644 if it's true.\nNothing will happen with /var/log/messages if it's false.\n\n- *Default*: false\n\nfix_pulse_respawn (boolean)\n---------------------------\nPrevents PulseAudio from respawning. It will set autospawn to no in /etc/pulse/client.conf.\nPulseAudio configuration will not get touched if it's false.\n\n- *Default*: false\n\nfix_services (boolean)\n----------------------\nDisable useless services based on the osfamily. (nfs service is removed from this disable list.)\nIt only affects to Suse 10\u002611, EL 5\u00266.\nNothing will happen with those services if it's false.\n\n- *Default*: false\n\nfix_services_services (array)\n-----------------------------\nArray of service names to disable when fix_services is activated. 'USE_DEFAULTS' will choose the appropriate default for the used OS.\n\n- *Default*: 'USE_DEFAULTS'\n\nfix_swappiness (boolean)\n------------------------\nSet parameter that controls the relative weight given to swapping out runtime memory if it's true.\n\n- *Default*: false\n\nfix_swappiness_value (string)\n-----------------------------\nSet parameter that controls the relative weight given to swapping out runtime memory.\nThe value will be set into /proc/sys/vm/swappiness directly.\n\n- *Default*: '30'\n\nfix_systohc_for_vm (boolean)\n----------------------------\nDisable hardware clock to the current system time if it's true.\nIt only affects to Suse virtual machine.\nNothing will happen with /etc/sysconfig/clock if it's false.\n\n- *Default*: false\n\nfix_updatedb (boolean)\n----------------------\nSet \"RUN_UPDATEDB=no\" in /etc/sysconfig/locate if it's true.\nUpdatedb cronjob in cron.daily will be disabled when \"RUN_UPDATEDB=no\".\nIt only affects to Suse.\nNothing will happen with /etc/sysconfig/locate if it's false.\n\n- *Default*: false\n\nfix_xinetd (boolean)\n--------------------\nXinetd will be fixed (install package, configure /etc/xinetd.d/echo) if it's true.\nNothing will happen with xinetd if it's false.\n\n- *Default*: false\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsson%2Fpuppet-module-tweaks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericsson%2Fpuppet-module-tweaks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericsson%2Fpuppet-module-tweaks/lists"}