glpi-cookbook

Created: 2014-05-19 16:38
Updated: 2017-12-13 19:52

README.md

Build Status

Glpi Cookbook

This cookbook install glpi from the source code.

####The GLPI Proyect "GLPI is the Information Resource-Manager with an additional Administration- Interface. You can use it to build up a database with an inventory for your company (computer, software, printers...). It has enhanced functions to make the daily life for the administrators easier, like a job-tracking-system with mail-notification and methods to build a database with basic information about your network-topology."

The principal functionalities of the application are :

  1. the precise inventory of all the technical resources. All their characteristics will be stored in a database.
  2. management and the history of the maintenance actions and the bound procedures. This application is dynamic and is directly connected to the users who can post requests to the technicians. An interface thus authorizes the latter with if required preventing the service of maintenance and indexing a problem encountered with one of the technical resources to which they have access.

Skin GLPI

Two variants of graphic templates to change the appearance of the ticketing system.

Grey

Grey

Black

Black

Default

Default

Requirements

Cookbooks:

The following platforms and versions are tested and supported using Opscode's test-kitchen.

  • CentOS 5.8, 6.3

The following platform families are supported in the code, and are assumed to work based on the successful testing on CentOS.

  • Red Hat (rhel)
  • Fedora
  • Amazon Linux

Recipes

glpi:default

Basic Config
Key Type Description Default
node[:glpi][:version] String Tag version for install 0.84.5
node[:glpi][:url] String url for tag svn repo https://forge.indepnet.net/svn/glpi/tags
node[:glpi][:path] String Install Path for glpi /usr/share/glpi
node[:glpi][:db_name] String Database name for glpi glpi
node[:glpi][:db_user] String username for glpi database glpi
node[:glpi][:db_password] String user password for glpi database password
node[:glpi][:server_name] String Server Name tag for Apache conf tickets
node[:glpi][:server_alias] String Server alias tag for Apache conf nil
node[:glpi][:glpi_pass] String Default password for glpi,tech,post-only and normal default
node[:glpi][:theme] String Default, black or grey are acepted values default
node[:glpi][:mailcollector] array Configure n mail collectors n/a

#####Config Auth Active Directory

Key Type Description Example
default[:glpi][:ad][:enable] boolean Enable/Disable Active Directory Auth false
default[:glpi][:ad][:domain] String Domain name CONTOSO
default[:glpi][:ad][:PDC] String PDC IP or DNS, ldap:// or ldaps:// (Optional) ldap://192.168.0.1
default[:glpi][:ad][:basedn] String DN Base for search users dc=contoso,dc=com
default[:glpi][:ad][:binddn] String user for bind DN user@contoso.com
default[:glpi][:ad][:bindpassword] String password of user for bind DN password
default[:glpi][:ad][:port] string Port of Active directory 389

glpi:theme

not config required

Examples of mail collector array
Key Type Description Example
default[:glpi][:mailcollector][#{name}][host] string conection string for mail server {mail.contoso.com:110/pop/ssl}
default[:glpi][:mailcollector][#{name}][login] String user email user@contoso.com
default[:glpi][:mailcollector][#{name}][:filesize_max] Int Max filesize in MB 10
default[:glpi][:mailcollector][#{name}][:password] String Password of mail user secret
"default_attributes": {
  "glpi": {
    "mailcollector": {
      "test@contoso.com": {
        "host": "{mail.contoso.com:110/pop/ssl}INBOX",
        "login': "test@contoso.com",
        "filesize_max": 10,
        "password': "test"
      }
    }
  }
}

Example of hots string conection for mailcollector:

######Basic

{mail.contoso.com/pop} #pop config
{mail.contoso.com/imap} #imap config

######Advance

{mail.contoso.com:110/pop/ssl/novalidate-cert/tsl/debug}
#pop, ssl, no check certificate config, tsl enable, debug enable

Usage

glpi::default

Just include glpi in your node's run_list:

{
  "name":"my_node",
  "run_list": [
    "recipe[glpi]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

More details

License and Authors

Authors: Lucas Mariani (Psyreactor)

Martin Cheveste (TinchosOS)

Cookies help us deliver our services. By using our services, you agree to our use of cookies Learn more