Skip to content

Normation/rudder-agent

Folders and files

NameName
Last commit message
Last commit date

Latest commit

eccf53b · Mar 6, 2025
Feb 19, 2025
Feb 19, 2025
Aug 8, 2024
Jul 17, 2018
Mar 6, 2025
Jul 17, 2018
Feb 19, 2025
Nov 27, 2015
Jul 17, 2018
Jun 1, 2021
Feb 19, 2025

Repository files navigation

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:

  • asciidoctor for the man output: gem install asciidoctor

Then run make in the man folder. It will generate rudder.8.