Forge Home

odoo

Installs, configures, and manages the Odoo ERP and CRM

5,298 downloads

214 latest version

4.7 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 4.1.0 (latest)
  • 4.0.0
  • 3.0.2
  • 3.0.1
  • 3.0.0
  • 2.2.0
  • 2.1.0
  • 2.0.1
  • 2.0.0
  • 1.2.1
  • 1.2.0
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0
released Jun 5th 2024
This version is compatible with:
  • Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 9.0.0
  • ,
Tasks:
  • change_user_password
  • database_backup
  • database_delete
  • database_duplicate
  • database_init
  • database_rename
  • database_restore
  • and 3 more. See all tasks

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'opuscodium-odoo', '4.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add opuscodium-odoo
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install opuscodium-odoo --version 4.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

opuscodium/odoo — version 4.1.0 Jun 5th 2024

puppet-odoo

Build Status Puppet Forge Puppet Forge - downloads Puppet Forge - endorsement Puppet Forge - scores License

Table of Contents

Module description

This Puppet module allows managing odoo with Puppet

Usage

Basic usage

Usage in a profile is straightforward, the only mandatory parameter being the version of odoo you want to install:

class profile::odoo {
  class { 'odoo':
    version => '13.0',
  }
}

Usage with odoo-enterprise

Odoo-enterprise is a collection of non-free plugins installed on top of odoo which provide extra features.

The easiest way is probably to fork https://github.com/odoo/enterprise in your organization, and add deploy keys for your servers in your copy of the repo.

Then rely on vcsrepo to fetch the proper version of the repository and configure it in your profile:

class profile::odoo (
  Enum['10.0', '11.0', '12.0', '13.0'] $version,
) {
  $enterprise_path = '/opt/odoo/enterprise'
  $enterprise_revision = $version ? {
    '10.0' => '123456',
    '11.0' => '234567',
    '12.0' => '345678',
    '13.0' => '456789',
  }

  vcsrepo { $enterprise_path:
    ensure   => present,
    provider => 'git',
    source   => "git@github.com:${organization}/odoo-enterprise.git",
    revision => $enterprise_revision,
    notify   => Class['odoo::service'],
    force    => true,
  }

  class { 'odoo':
    version     => $version,
    addons_path => [
      $enterprise_path,
      '/usr/lib/python3/dist-packages/odoo/addons',
    ],
  }
}