odoo

tasks
Installs, configures, and manages the Odoo ERP and CRM

Opus Codium

opuscodium

2,165 downloads

404 latest version

4.6 quality score

Version information

  • 1.2.1 (latest)
  • 1.2.0
  • 1.1.0
  • 1.0.2
  • 1.0.1
  • 1.0.0
released May 14th 2021
This version is compatible with:
  • Puppet Enterprise 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x
  • Puppet >= 6.0.0 < 8.0.0
  • Debian
    ,
    Ubuntu
Tasks:
  • list_users
  • change_user_password
  • database_backup
  • database_delete
  • database_duplicate
  • database_rename
  • database_restore
  • and 1 more. See all tasks

Start using this module

Documentation

opuscodium/odoo — version 1.2.1 May 14th 2021

puppet-odoo

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',
    ],
  }
}