Ocsinventory-agent (Unix/Linux) setup using puppet

Fran Lois



8,551 latest version

2.6 quality score

Version information

  • 0.1.1 (latest)
  • 0.1.0
released Nov 19th 2014
This version is compatible with:
  • Debian

Start using this module


franlr/ocsinventory_agent — version 0.1.1 Nov 19th 2014


####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 ocsinventory_agent
  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
  8. License


Module to install ocsinventory_agent.

##Module Description

This module installs and runs the "ocsinventory-agent" on Debian computers. This module configures the agent to run against its OCSInventory server. Current deb version on wheezy main repository is 2.0.5.


###What ocsinventory_agent affects

  • Files affected: /etc/ocsinventory/ocsinventory-agent.cfg and files under /var/lib/ocsinventory-agent/ folder.

###Setup Requirements

This module requires the puppetlabs/stdlib and rlenglet/debconf_package modules.

###Beginning with ocsinventory_agent

Simply including this module will install and execute the ocsinventory-agent on your host.


A sample configuration illustrates the basic usage of this module.

class { 'ocsinventory_agent':
  server => 'servername.domain',
  method => 'http',
  tag    => 'mytag',

##Reference TODO List all the classes and organization


This module has been tested on:

  • Debian wheezy


Please feel free to submit issues and pull requests to the project's Github page. Changes are periodically reviewed, merged, and published back to the Puppet Forge.


Copyright 2011-2014 FranLR

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.