Giter Site home page Giter Site logo

fanf / rudder-plugin-external-node-information Goto Github PK

View Code? Open in Web Editor NEW

This project forked from normation/rudder-plugin-external-node-information

0.0 2.0 0.0 67 KB

This plugin allows to add external, static documents in a new tab in node details. With the plugin, you configure one (or several) root directory where are located your documents, and if a node has one for it (based on a regex and its hostname or uuid), the document will be downloadable.

License: GNU Affero General Public License v3.0

rudder-plugin-external-node-information's Introduction

Rudder plugin: Hello world !

This project is part of Rudder - IT infrastructure Automation and Compliance

See: http://rudder-project.org for more information.

Authors

License

This project is licensed under GNU AGPLv3 license, see the provided "LICENSE" file or http://www.gnu.org/licenses/agpl-3.0.txt

Contributing

Thank you for your interest in your our project! The contribution process is detailed here: http://www.rudder-project.org/HowToContribute

Synopsis

This plugin allows to add external, static documents in a new tab in node details.

With the plugin, you configure one (or several) root directory where are located your documents, and if a node has one for it (based on a regex and its hostname or uuid), the document will be downloadable.

Documents name

The document name matching is done based on the hostname of the node or its uuid (both will be tested), in LOWER cases.

Configuration

The configuration file for the plugin is located at: TODO.

Example: see TODO

The format allow to declare as many base directory you want.

This is an example for a "security" report:

security {
  title=Security Report
  description=This report display pen test results
  dirname=/tmp/security
  filename=@@node@@.html
  content-type=text/html
}
  • "security" is a unique key (only used internally)

  • "title" is the name of section in the exeternal document tab

  • "dirname" is the basedirectory on the local file system where documents are stored

  • "description" is a description for what the document is about

  • "filename": the file template name to lookup the document name. @@node@@ will be replaced by the node hostname and uuid.

  • "contentType": the HTTP content type to use for the new page. It allows to direct what the browser will do (open a PDF viewer, display an HTML page, etc).

rudder-plugin-external-node-information's People

Contributors

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