Skip to content

Latest commit

 

History

History
76 lines (47 loc) · 1.91 KB

README.md

File metadata and controls

76 lines (47 loc) · 1.91 KB

fusioninventory

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with fusioninventory
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This puppet module installs and configures fusion inventory agent in RHEL and Debian

Module Description

Installs fusion inventory agents and configures the agent service or cron scripts that runs daily to update inventory database.

Setup

What fusioninventory affects

fusion-inventoryagent cron

Beginning with fusioninventory

puppet module install nodanero-fusioninventory

Usage

class { 'fusioninventory': server_url => 'http://localhost/glpi/plugin/fusioninventory' }

Use cron scripts instead of service

class { 'fusioninventory': cronscript_enable => true , service => false, server_url => 'http://localhost/glpi/plugin/fusioninventory' }

Reference

  • class fusioninventory : Installs and configures
  • class fusioninventory::cronscript: Sets a cronjob
  • class fusioninventory::install: Installs
  • class fusioninventory::params: Configurations Parameters
  • class fusioninventory::service: Sets the init service

Limitations

Tested in Debian and Rhel

Development

Github repository

git clone https://github.com/nodanero/nodanero-fusioninventory fusioninventory

Building module

sudo puppet module build . --verbose

Testing json:

http://jsonlint.com/