{"id":32129982,"url":"https://github.com/fftux/rex","last_synced_at":"2026-02-20T12:32:09.560Z","repository":{"id":40424082,"uuid":"98939270","full_name":"fftux/rex","owner":"fftux","description":"Module to configure Foreman clients for REX","archived":false,"fork":false,"pushed_at":"2022-05-09T14:42:34.000Z","size":42,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-14T05:48:45.380Z","etag":null,"topics":["foreman","katello","puppet-module","remote-execution","rex","satellite","satellite6"],"latest_commit_sha":null,"homepage":"","language":"Puppet","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fftux.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-31T23:42:54.000Z","updated_at":"2025-12-09T20:08:13.000Z","dependencies_parsed_at":"2022-08-09T20:01:09.681Z","dependency_job_id":null,"html_url":"https://github.com/fftux/rex","commit_stats":null,"previous_names":["chopskxw/rex"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fftux/rex","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fftux%2Frex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fftux%2Frex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fftux%2Frex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fftux%2Frex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fftux","download_url":"https://codeload.github.com/fftux/rex/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fftux%2Frex/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29650853,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-20T09:27:29.698Z","status":"ssl_error","status_checked_at":"2026-02-20T09:26:12.373Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["foreman","katello","puppet-module","remote-execution","rex","satellite","satellite6"],"created_at":"2025-10-21T01:45:34.485Z","updated_at":"2026-02-20T12:32:09.527Z","avatar_url":"https://github.com/fftux.png","language":"Puppet","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rex\n\n#### Table of Contents\n\n1. [Description](#description)\n1. [Setup - The basics of getting started with rex](#setup)\n    * [What rex affects](#what-rex-affects)\n    * [Setup requirements](#setup-requirements)\n    * [Beginning with rex](#beginning-with-rex)\n1. [Usage - Configuration options and additional functionality](#usage)\n1. [Reference - An under-the-hood peek at what the module is doing and how](#reference)\n1. [Limitations - OS compatibility, etc.](#limitations)\n1. [Development - Guide for contributing to the module](#development)\n\n## Description\n\nThe purpose of this module is to configure existing Satellite/Foreman systems for remote execution (REX).\n\n## Setup\n\nImport module and publish/promote to appropriate CV/LCE.  Configure overrides overrides for the rex::params class.  The following is required, any additional can be tweeked to the desired value.\n\n```\nrex_keys = \u003c% @host.params['remote_execution_ssh_keys'] %\u003e\n```\n\nFollowing this, simply enable the rex and rex::params classes on the host[s] or host group[s] of your choosing.\n\n**Note:** If you plan to use a user other than root, you must configure the `remote_execution_ssh_user` found in the Remote Execution portion of the Settings menu.\n\n### What rex affects\n\nThis module will creat the REX user, if it is not already present and will manage this users password.  It will deploy sudo rules to /etc/sudoers.d/rex.  Finally, it will deploy the required ssh keys.\n\n**Files affected:**\n* user's home dir\n* /etc/passwd\n* /etc/shadow\n* /etc/sudoers.d/rex\n* $home_dir/.ssh/authorized_keys\n\n**Warnings:**\n* this module will not work correctly if using ldap (or other external) user\n* this module will house the users encrypted password in the UI\n* this module could cause unexpected security risks, if not properly configured\n\n### Setup Requirements\n\nIf the desired ssh user for REX is not root, this must be configured prior to enabling this module.\n\n### Beginning with rex\n\n* import the module\n* configure override for rex_keys\n* enable module\n\n## Usage\n\nAdditional user configurable parameters are available via the params class. These paramaters can be used to manage the REX user's password, set password policies, and the user comments field.\n\n## Reference\n\n\n## Limitations\n\nThis module will not work with external users for REX ssh user.\n\n## Development\n\nContributions welcome!\n\n## Release Notes/Contributors/Etc.\n\n**Author:** Roy Williams (chopskxw)\n\n**Releases:**\n0.1.0 - initial dev release\n0.1.1 - syntax fixes, etc.\n0.1.2 - syntax fixes\n0.2.0 - Removed !requiretty from sudo rule, created manifest to check working dir mount options, and change resources parameter to rex_keys\n0.3.0 - Removed dependency on hash_resources as it was causing parsing issues when updating ruby\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffftux%2Frex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffftux%2Frex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffftux%2Frex/lists"}