Version information
This version is compatible with:
- Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
- Puppet >= 4.10.0 < 7.0.0
- , , , , ,
Start using this module
Add this module to your Puppetfile:
mod 'dodevops-ocsinventoryagent', '0.3.0'
Learn more about managing modules with a PuppetfileDocumentation
dodevops/ocsinventoryagent
Table of Contents
Description
This puppet module installs and configures the linux agent for OCS-Inventory.
Usage
Use the class ocsinventoryagent to install and configure the agent. See the reference section for details.
class {
'ocsinventoryagent':
server => 'https://ocs.company.com',
}
Reference
Table of Contents
Classes
ocsinventoryagent
: Installs and configures the OCS inventory agent package for the operating system
Classes
ocsinventoryagent
Installs and configures the OCS inventory agent package for the operating system
- See also https://forge.puppet.com/puppet/zypprepo Used component module for Zypper Repository
Parameters
The following parameters are available in the ocsinventoryagent
class.
ensure
Data type: Enum['present', 'absent']
Ensure wether the package is installed or not
Default value: 'present'
package_name
Data type: String
The name of the ocsinventory-agent package
Default value: 'ocsinventory-agent'
daemon
Data type: Enum['0', '1']
detach the agent in background
Default value: '0'
debug
Data type: Enum['0', '1']
debug mode
Default value: '0'
devlib
Data type: Enum['0', '1']
search for Backend mod in ./lib only
Default value: '0'
force
Data type: Enum['0', '1']
always send data to server (Don't ask before)
Default value: '0'
info
Data type: Enum['0', '1']
verbose mode
Default value: '1'
lazy
Data type: Enum['0', '1']
do not contact the server more than one time during the PROLOG_FREQ
Default value: '0'
local
Data type: String
do not contact server but write inventory in DIR directory in XML
Default value: ''
logfile
Data type: String
log message in this file
Default value: ''
password
Data type: String
password for server auth
Default value: ''
proxy
Data type: String
proxy address. e.g: http://user:pass\@proxy:port
Default value: ''
realm
Data type: String
realm for server auth. e.g: 'Restricted Area'
Default value: ''
server
Data type: String
server uri
Default value: 'http://ocsinventory-ng/ocsinventory'
stdout
Data type: Enum['0', '1']
do not write or post the inventory but print it on STDOUT
Default value: '0'
ocstag
Data type: String
Use tag for ocs
Default value: ''
user
Data type: String
user for server auth
Default value: ''
wait
Data type: String
wait a random period before contacting server like --daemon does
Default value: ''
nosoftware
Data type: Enum['0', '1']
do not return installed software list
Default value: '0'
delaytime
Data type: String
set a max delay time (in second) if no PROLOG_FREQ is set
Default value: '3600'
backendCollectTimeout
set a max delay time of one action (search package id, ...) is set
scanhomedirs
Data type: Enum['0', '1']
permit to scan home user directories
Default value: '0'
ssl
Data type: Enum['0', '1']
disable or enable SSL communications check
Default value: '1'
ca
Data type: String
path to CA certificates file in PEM format
Default value: ''
repo_dependencies
Data type: Optional[Hash]
A list of package dependencies required to install before the dependencies
Default value: undef
dependencies
Data type: Optional[Hash]
A list of package dependencies required to install OCS inventory package
Default value: undef
zypper_repo_url
Data type: Optional[String]
URL of Zypper Repository for SLES systems
Default value: undef
backendcollecttimeout
Data type: String
Default value: '600'
Change log
All notable changes to this project will be documented in this file. The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
v0.3.0 (2021-03-03)
Added
v0.2.0 (2020-02-20)
v0.1.0 (2020-02-19)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppet-zypprepo (>= 2.2.2)