A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality
Ruby HTML JavaScript Other
Latest commit 3bd1b1c Aug 14, 2018
Permalink
Failed to load latest commit information.
.tx fixes #11948 - setup remote execution for localization Feb 12, 2016
app Fixes #14019 - Use template name as default description template Aug 7, 2018
config Fixes #23163 - Fix breadcrumbs in template invocation details Jun 4, 2018
db Fixes #23891 - share all templates to all taxonomies (#357) Jun 14, 2018
lib Bump version to 1.6.1 Aug 14, 2018
locale i18n - pulling from tx Jul 12, 2018
scripts Fixes #13333 - Use Patternfly cards to redesign job invocations Apr 6, 2018
test Fixes #14019 - Use template name as default description template Aug 7, 2018
webpack Fixes #13333 - Use Patternfly cards to redesign job invocations Apr 6, 2018
.babelrc Fixes #13333 - Use Patternfly cards to redesign job invocations Apr 6, 2018
.eslintignore Fixes #13333 - Use Patternfly cards to redesign job invocations Apr 6, 2018
.eslintrc Fixes #13333 - Use Patternfly cards to redesign job invocations Apr 6, 2018
.gitignore Fixes #13333 - Use Patternfly cards to redesign job invocations Apr 6, 2018
.hound.yml Fixes #13333 - Use Patternfly cards to redesign job invocations Apr 6, 2018
.rubocop.yml Fixes #23891 - share all templates to all taxonomies (#357) Jun 14, 2018
.rubocop_todo.yml Refs #22849 - update .rubocop_todo.yml Apr 4, 2018
.travis.yml Fixes #13333 - Use Patternfly cards to redesign job invocations Apr 6, 2018
Gemfile Fixes #19360 - fix rubocop May 3, 2017
LICENSE Plugin template with sensible data Jun 12, 2015
README.md Fixes #18651 - Provide a way to test REX at scale (#233) Mar 17, 2017
Rakefile Fix issues with rubocop 0.49.1 Jun 8, 2017
foreman_remote_execution.gemspec Set the license in the gemspec (#352) May 28, 2018
foreman_remote_execution_core.gemspec Remove duplicate license tag in core gemspec (#353) May 29, 2018
package.json Fixes #13333 - Use Patternfly cards to redesign job invocations Apr 6, 2018

README.md

Build Status Gem Version Code Climate GPL License

Foreman Remote Execution

A plugin bringing remote execution to the Foreman, completing the config management functionality with remote management functionality.

Features

  • Visualize remote execution job process live job detail
  • Schedule or run jobs on hosts invocation form
  • Create templates to customize your jobs job templates

Installation and usage

Check the Foreman manual remote execution section

Simulated runs

There is an option to use an alternative ScriptRunner implementation. Instead of doing ssh connections it discards any input its given and gives back fake output.

It is controlled by setting the following environment variables REX_SIMULATE - setting to 1, yes or true enables the use of the fake runner REX_SIMULATE_PATH - full path to a file which should be given back as output by the runner, currently one line per runner's refresh REX_SIMULATE_FAIL_CHANCE - number from 0 to 100, each host has a REX_SIMULATE_FAIL_CHANCE of exiting with REX_SIMULATE_EXIT, useful for simulating random failures REX_SIMULATE_EXIT - see the previous

Because it doesn't really open the outgoing connections, it doesn't need hosts with valid IP addresses as targets.

Links

Contributing

Fork and send a Pull Request. Thanks!

Release Process

Pull Translations from Transifex

As part of the release process, localization must be synced from Transifex. See the wiki for more information.

Sync Job Templates from Community Templates

The community-templates repo is the source for our job templates. Prior to release, use the script/sync_templates.sh script to pull in any changes.

Copyright

Copyright (c) 2015 The Foreman developers

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.