Coder Social home page Coder Social logo

theforeman / foreman_remote_execution Goto Github PK

View Code? Open in Web Editor NEW
29.0 10.0 95.0 5.76 MB

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

License: GNU General Public License v3.0

Ruby 30.64% HTML 3.80% Makefile 0.13% JavaScript 64.96% CSS 0.01% Shell 0.07% SCSS 0.41%
hacktoberfest

foreman_remote_execution's Introduction

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

Compatibility

Foreman Version Plugin Version
>= 3.1 ~> 5.0.0
>= 3.2 >= 6.0.0

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!

To run Rubocop use the rake task in foreman dir:

bundle exec rake foreman_remote_execution:rubocop

Auto correct can be executed directly too:

bundle exec rubocop ~/work/foreman_remote_execution -a

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/.

foreman_remote_execution's People

Contributors

adamruzicka avatar amirfefer avatar ares avatar bkearney avatar dlobatog avatar dmitri-d avatar domitea avatar ekohl avatar evgeni avatar ezr-ondrej avatar inecas avatar jeremylenz avatar jlsherrill avatar lzap avatar mariaaga avatar mmoll avatar mvollmer avatar ofedoren avatar ohadlevy avatar parthaa avatar patilsuraj767 avatar pkoprda avatar ranjan avatar sbernhard avatar sharvit avatar shimshtein avatar stbenjam avatar stejskalleos avatar tbrisker avatar timogoebel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.