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

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.


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









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



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
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://
default[:glpi][:ad][:basedn] String DN Base for search users dc=contoso,dc=com
default[:glpi][:ad][:binddn] String user for bind DN
default[:glpi][:ad][:bindpassword] String password of user for bind DN password
default[:glpi][:ad][:port] string Port of Active directory 389


not config required

Examples of mail collector array
Key Type Description Example
default[:glpi][:mailcollector][#{name}][host] string conection string for mail server {}
default[:glpi][:mailcollector][#{name}][login] String user email
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": {
      "": {
        "host": "{}INBOX",
        "login': "",
        "filesize_max": 10,
        "password': "test"

Example of hots string conection for mailcollector:


{} #pop config
{} #imap config


#pop, ssl, no check certificate config, tsl enable, debug enable



Just include glpi in your node's run_list:

  "run_list": [


  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