{"id":22700250,"url":"https://github.com/simp/simp-rsync-skeleton","last_synced_at":"2025-08-07T08:32:07.943Z","repository":{"id":32298747,"uuid":"35873708","full_name":"simp/simp-rsync-skeleton","owner":"simp","description":"Default files to host via Rsync in SIMP","archived":false,"fork":false,"pushed_at":"2022-02-16T22:21:28.000Z","size":143,"stargazers_count":3,"open_issues_count":0,"forks_count":8,"subscribers_count":16,"default_branch":"master","last_synced_at":"2023-03-11T07:28:36.557Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":false,"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":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-05-19T09:49:45.000Z","updated_at":"2021-10-05T14:43:01.000Z","dependencies_parsed_at":"2022-08-24T14:23:17.016Z","dependency_job_id":null,"html_url":"https://github.com/simp/simp-rsync-skeleton","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fsimp-rsync-skeleton","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fsimp-rsync-skeleton/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fsimp-rsync-skeleton/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/simp%2Fsimp-rsync-skeleton/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/simp","download_url":"https://codeload.github.com/simp/simp-rsync-skeleton/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229013251,"owners_count":18006191,"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":"2024-12-10T06:10:41.139Z","updated_at":"2024-12-10T06:10:41.840Z","avatar_url":"https://github.com/simp.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- vim-markdown-toc GFM --\u003e\n\n* [SIMP Rsync](#simp-rsync)\n  * [Notes on Building](#notes-on-building)\n  * [Usage](#usage)\n    * [Copy the Repository to the skeleton directory](#copy-the-repository-to-the-skeleton-directory)\n    * [To create a new environment](#to-create-a-new-environment)\n    * [Restore the SELinux Contexts](#restore-the-selinux-contexts)\n\n\u003c!-- vim-markdown-toc --\u003e\n\n## SIMP Rsync\n\nThis is the default data store for the SIMP Rsync content.\n\nBy default, this is used by the ``simp`` Puppet module to ensure that various\nsubsystems have content that can be successfully delivered to clients.\n\nMultiple environments are supported as well as any number of Operating Systems.\nAdditionally, you may freely add to the directory structure so long as there is\nsome reasonable way of serving the material via ``rsync``.\n\nAny top level directory without an associated ``rsync::server::section``\nresource will not be served to clients.\n\nWhen updating this repository, you **must** ensure that you update the\n``.rsync.facl`` file appropriately!\n\n### Notes on Building\n\nThis RPM requires ``simp-environment-selinux-policy`` which contains the\nselinux contexts for SIMP, including the context for the ``rsync`` directories.\n\nTo build the RPMs for this repository, you will need to enable the *earliest*\nEL6 and EL7 repositories for your development system so that it can use an\nSELinux Development stack that is guaranteed to work.\n\nIf you are using the SIMP global build system, you should not need to make any\nchanges to your environment.\n\n* EL7\n\n```\n[legacy]\nname=Legacy\nbaseurl=http://vault.centos.org/7.0.1406/os/x86_64\ngpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-7\ngpgcheck=1\n```\n\n* EL6\n\n```\n[legacy]\nname=Legacy\nenabled=1\nbaseurl=http://vault.centos.org/6.0/os/x86_64\ngpgkey=file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-6\ngpgcheck=1\n```\n\n### Usage\n\nTo get full functionality out of the SIMP modules, particularly, the `simp`\nmodule itself, you need to perform the following operations:\n\n**NOTE:** If you're using the ``simp-environment-skeleton`` RPM, all of this is\ndone for you and is the recommended method for installing these files.\n\n#### Copy the Repository to the skeleton directory\n\n  1. ``mkdir -p /usr/share/simp/environments``\n  2. Copy the ``rsync`` directory from this repository into ``/usr/share/simp/environments``\n  3. ``cd /usr/share/simp/environments/rsync``\n  4. ``setfacl --restore=.rsync.facl 2\u003e/dev/null``\n\n####  To create a new environment\n  1. ``mkdir -p /var/simp/environments/\u003cnew-env name\u003e``\n  2.  rsync -a ``/usr/share/simp/environments/rsync`` ``/var/simp/environments/\u003cnew-env name\u003e``\n  3. ``cd /var/simp/environments/\u003cnew-env name\u003e/rsync``\n  4. ``setfacl --restore=.rsync.facl 2\u003e/dev/null``\n\n#### Restore the SELinux Contexts\n\nIf required, follow the instructions in the ``simp-environment-skeleton``\nmodule to build the necessary SELinux policy, (it is done automatically if\ninstalled from the ``simp-environment-selinux-policy`` RPM) and then run:\n\n  1. ``/sbin/fixfiles -R simp-environment restore\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Fsimp-rsync-skeleton","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimp%2Fsimp-rsync-skeleton","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimp%2Fsimp-rsync-skeleton/lists"}