{"id":16316484,"url":"https://github.com/ulhpc/puppet-rclocal","last_synced_at":"2025-10-30T05:19:30.779Z","repository":{"id":57664152,"uuid":"51595806","full_name":"ULHPC/puppet-rclocal","owner":"ULHPC","description":"Puppet module to add commands to rc.local","archived":false,"fork":false,"pushed_at":"2025-08-05T09:26:21.000Z","size":113,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":8,"default_branch":"devel","last_synced_at":"2025-08-05T11:29:59.483Z","etag":null,"topics":["puppet","rc"],"latest_commit_sha":null,"homepage":"","language":"Puppet","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/ULHPC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"docs/contributing/index.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-02-12T15:09:24.000Z","updated_at":"2025-08-05T09:26:24.000Z","dependencies_parsed_at":"2023-01-21T06:20:37.929Z","dependency_job_id":null,"html_url":"https://github.com/ULHPC/puppet-rclocal","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/ULHPC/puppet-rclocal","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ULHPC%2Fpuppet-rclocal","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ULHPC%2Fpuppet-rclocal/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ULHPC%2Fpuppet-rclocal/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ULHPC%2Fpuppet-rclocal/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ULHPC","download_url":"https://codeload.github.com/ULHPC/puppet-rclocal/tar.gz/refs/heads/devel","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ULHPC%2Fpuppet-rclocal/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281748753,"owners_count":26554835,"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","status":"online","status_checked_at":"2025-10-30T02:00:06.501Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["puppet","rc"],"created_at":"2024-10-10T22:04:47.757Z","updated_at":"2025-10-30T05:19:30.747Z","avatar_url":"https://github.com/ULHPC.png","language":"Puppet","funding_links":[],"categories":[],"sub_categories":[],"readme":"-*- mode: markdown; mode: visual-line;  -*-\n\n# Rclocal Puppet Module \n\n[![Puppet Forge](http://img.shields.io/puppetforge/v/ULHPC/rclocal.svg)](https://forge.puppetlabs.com/ULHPC/rclocal)\n[![License](http://img.shields.io/:license-GPL3.0-blue.svg)](LICENSE)\n![Supported Platforms](http://img.shields.io/badge/platform-debian|centos-lightgrey.svg)\n[![Documentation Status](https://readthedocs.org/projects/ulhpc-puppet-rclocal/badge/?version=latest)](https://readthedocs.org/projects/ulhpc-puppet-rclocal/?badge=latest)\n\nConfigure the rc.local file\n\n      Copyright (c) 2017 UL HPC Team \u003chpc-sysadmins@uni.lu\u003e\n      \n\n| [Project Page](https://github.com/ULHPC/puppet-rclocal) | [Sources](https://github.com/ULHPC/puppet-rclocal) | [Documentation](https://ulhpc-puppet-rclocal.readthedocs.org/en/latest/) | [Issues](https://github.com/ULHPC/puppet-rclocal/issues) |\n\n## Synopsis\n\nConfigure the rc.local file.\n\nThis module implements the following elements: \n\n* __Puppet classes__:\n    - `rclocal` \n    - `rclocal::common` \n    - `rclocal::common::debian` \n    - `rclocal::common::redhat` \n    - `rclocal::debian` \n    - `rclocal::params` \n    - `rclocal::redhat` \n\n* __Puppet definitions__: \n    - `rclocal::update` \n\nAll these components are configured through a set of variables you will find in\n[`manifests/params.pp`](manifests/params.pp). \n\n_Note_: the various operations that can be conducted from this repository are piloted from a [`Rakefile`](https://github.com/ruby/rake) and assumes you have a running [Ruby](https://www.ruby-lang.org/en/) installation.\nSee `docs/contributing.md` for more details on the steps you shall follow to have this `Rakefile` working properly. \n\n## Dependencies\n\nSee [`metadata.json`](metadata.json). In particular, this module depends on \n\n* [puppetlabs/stdlib](https://forge.puppetlabs.com/puppetlabs/stdlib)\n* [puppetlabs/concat](https://forge.puppetlabs.com/puppetlabs/concat)\n\n## Overview and Usage\n\n### Class `rclocal`\n\nThis is the main class defined in this module.\nIt accepts the following parameters: \n\n* `$ensure`: default to 'present', can be 'absent'\n\nUse it as follows:\n\n     include ' rclocal'\n\nSee also [`tests/init.pp`](tests/init.pp)\n\n\n### Definition `rclocal::update`\n\nThe definition `rclocal::update` provides ...\nThis definition accepts the following parameters:\n\n* `$ensure`: default to 'present', can be 'absent'\n* `$content`: specify the contents of the directive as a string\n* `$source`: copy a file as the content of the directive.\n\nExample:\n\n        rclocal::update{ 'do_something_in_rc_local':\n          content =\u003e \"echo noop /etc/some_file\\n\"\n        }\n\n        rclocal::update{ 'do_something_in_rc_local':\n          source =\u003e 'module_name/path/to/file',\n          order  =\u003e '51',\n        }\n\nSee also [`tests/init.pp`](tests/init.pp)\n\n\n## Librarian-Puppet / R10K Setup\n\nYou can of course configure the rclocal module in your `Puppetfile` to make it available with [Librarian puppet](http://librarian-puppet.com/) or\n[r10k](https://github.com/adrienthebo/r10k) by adding the following entry:\n\n     # Modules from the Puppet Forge\n     mod \"ULHPC/rclocal\"\n\nor, if you prefer to work on the git version: \n\n     mod \"ULHPC/rclocal\", \n         :git =\u003e 'https://github.com/ULHPC/puppet-rclocal',\n         :ref =\u003e 'production' \n\n## Issues / Feature request\n\nYou can submit bug / issues / feature request using the [ULHPC/rclocal Puppet Module Tracker](https://github.com/ULHPC/puppet-rclocal/issues). \n\n## Developments / Contributing to the code \n\nIf you want to contribute to the code, you shall be aware of the way this module is organized. \nThese elements are detailed on [`docs/contributing.md`](contributing/index.md).\n\nYou are more than welcome to contribute to its development by [sending a pull request](https://help.github.com/articles/using-pull-requests). \n\n## Puppet modules tests within a Vagrant box\n\nThe best way to test this module in a non-intrusive way is to rely on [Vagrant](http://www.vagrantup.com/).\nThe `Vagrantfile` at the root of the repository pilot the provisioning various vagrant boxes available on [Vagrant cloud](https://atlas.hashicorp.com/boxes/search?utf8=%E2%9C%93\u0026sort=\u0026provider=virtualbox\u0026q=svarrette) you can use to test this module.\n\nSee [`docs/vagrant.md`](vagrant.md) for more details. \n\n## Online Documentation\n\n[Read the Docs](https://readthedocs.org/) aka RTFD hosts documentation for the open source community and the [ULHPC/rclocal](https://github.com/ULHPC/puppet-rclocal) puppet module has its documentation (see the `docs/` directly) hosted on [readthedocs](http://ulhpc-puppet-rclocal.rtfd.org).\n\nSee [`docs/rtfd.md`](rtfd.md) for more details.\n\n## Licence\n\nThis project and the sources proposed within this repository are released under the terms of the [GPL-3.0](LICENCE) licence.\n\n\n[![Licence](https://www.gnu.org/graphics/gplv3-88x31.png)](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulhpc%2Fpuppet-rclocal","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fulhpc%2Fpuppet-rclocal","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fulhpc%2Fpuppet-rclocal/lists"}