GithubHelp home page GithubHelp logo

alexxnica / rudder-agent Goto Github PK

View Code? Open in Web Editor NEW

This project forked from normation/rudder-agent

0.0 2.0 0.0 218 KB

Rudder agent support utility repository

License: GNU General Public License v3.0

Shell 85.61% Awk 14.39%

rudder-agent's Introduction

rudder-agent

Rudder agent support utility repository.

CLI

This repository contains a CLI for rudder. Here is how it works :

rudder help
rudder agent help
rudder agent <command>
rudder server help
rudder server <command> # if you have server support

This cli is made to be expandable, which means that you can add new commands at will.

To add a new command, just drop it into /opt/rudder/share/command and/or make a new pull request to add it to share/command in this repository.

A command must have the following properties :

  • be called agent- or server-

  • parameters will not include the 'agent', 'server' or given in the command line

  • the executable must contain a string with a single line of the form:

    @description

  • the executable may also contain a single or multi-line string of the form:

    @man

New commands should follow these guidelines :

  • have as few dependencies as possible on the agent side
  • if -h is an option, it must provide help
  • if -v is an option, it must make the command verbose
  • if -d is an option, it must be debug

Build man pages

In order to build the man pages, you will need:

  • asciidoc for man pages: probably packaged by your distribution
  • asciidoctor for the HTML output: gem install asciidoctor

Then run make in the man folder. It will generate rudder.1 and rudder.html.

rudder-agent's People

Contributors

peckpeck avatar amousset avatar jooooooon avatar vincemacbuche avatar ncharles avatar fanf avatar matya avatar

Watchers

James Cloos 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.