{"id":22700186,"url":"https://github.com/simp/pupmod-simp-swap","last_synced_at":"2025-06-23T07:09:45.053Z","repository":{"id":13986555,"uuid":"75580681","full_name":"simp/pupmod-simp-swap","owner":"simp","description":"A SIMP Puppet module for managing swappiness","archived":false,"fork":false,"pushed_at":"2024-08-20T19:54:07.000Z","size":132,"stargazers_count":1,"open_issues_count":2,"forks_count":10,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-05-15T08:29:07.064Z","etag":null,"topics":["simp","swap","swappiness"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/simp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-12-05T02:22:28.000Z","updated_at":"2024-07-11T21:08:48.000Z","dependencies_parsed_at":"2024-07-11T23:29:59.234Z","dependency_job_id":"d6742d5b-410b-4d84-bf20-df8291adf44b","html_url":"https://github.com/simp/pupmod-simp-swap","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"purl":"pkg:github/simp/pupmod-simp-swap","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-swap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-swap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-swap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-swap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simp","download_url":"https://codeload.github.com/simp/pupmod-simp-swap/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fpupmod-simp-swap/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260857456,"owners_count":23073445,"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":["simp","swap","swappiness"],"created_at":"2024-12-10T06:10:22.888Z","updated_at":"2025-06-23T07:09:40.040Z","avatar_url":"https://github.com/simp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/:license-apache-blue.svg)](http://www.apache.org/licenses/LICENSE-2.0.html)\n[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/73/badge)](https://bestpractices.coreinfrastructure.org/projects/73)\n[![Puppet Forge](https://img.shields.io/puppetforge/v/simp/swap.svg)](https://forge.puppetlabs.com/simp/swap)\n[![Puppet Forge Downloads](https://img.shields.io/puppetforge/dt/simp/swap.svg)](https://forge.puppetlabs.com/simp/swap)\n[![Build Status](https://travis-ci.org/simp/pupmod-simp-swap.svg)](https://travis-ci.org/simp/pupmod-simp-swap)\n\n#### Table of Contents\n\n\u003c!-- vim-markdown-toc GFM --\u003e\n\n* [Description](#description)\n  * [This is a SIMP module](#this-is-a-simp-module)\n* [Setup](#setup)\n  * [What swap affects](#what-swap-affects)\n  * [Beginning with swap](#beginning-with-swap)\n* [Limitations](#limitations)\n* [Development](#development)\n  * [Acceptance tests](#acceptance-tests)\n\n\u003c!-- vim-markdown-toc --\u003e\n\n## Description\n\nThis module manages the swappiness of a system, either directly or with a dynamic script.\n\nSee [REFERENCE.md](./REFERENCE.md) for API details.\n\n\n### This is a SIMP module\n\nThis module is a component of the [System Integrity Management Platform](https://simp-project.com),\na compliance-management framework built on Puppet.\n\nIf you find any issues, they may be submitted to our [bug tracker](https://simp-project.atlassian.net/).\n\n## Setup\n\n\n### What swap affects\n\n* The sysctl value `vm.swappiness`.\n* If enabled, the ability for the system to monitor the amount of free RAM and\n  dynamically set the swappiness based on monitored conditions.\n  * See [manifests/init.pp](./manifests/init.pp) for details.\n\n### Beginning with swap\n\nTo use this class, just include it on your system:\n\n```puppet\ninclude 'swap'\n```\n\n## Limitations\n\nSIMP Puppet modules are generally intended for use on Red Hat Enterprise Linux\nand compatible distributions, such as CentOS. Please see the [`metadata.json` file](./metadata.json)\nfor the most up-to-date list of supported operating systems, Puppet versions,\nand module dependencies.\n\n\n## Development\n\nPlease read our [Contribution Guide](https://simp.readthedocs.io/en/stable/contributors_guide/index.html).\n\n\n### Acceptance tests\n\nThis module includes [Beaker](https://github.com/puppetlabs/beaker) acceptance\ntests using the SIMP [Beaker\nHelpers](https://github.com/simp/rubygem-simp-beaker-helpers).  By default the\ntests use [Vagrant](https://www.vagrantup.com/) with\n[VirtualBox](https://www.virtualbox.org) as a back-end; Vagrant and VirtualBox\nmust both be installed to run these tests without modification. To execute the\ntests run the following:\n\n```shell\nbundle install\nbundle exec rake beaker:suites\n```\n\nPlease refer to the [SIMP Beaker Helpers documentation](https://github.com/simp/rubygem-simp-beaker-helpers/blob/master/README.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Fpupmod-simp-swap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimp%2Fpupmod-simp-swap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Fpupmod-simp-swap/lists"}