Forge Home

demarchessimplifiees

Install and configure a Demarche Simplifiees app

1,386 downloads

1,189 latest version

5.0 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

  • 3.0.0 (latest)
  • 2.1.0
  • 2.0.0
released Apr 21st 2021
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
  • Puppet >= 5.0.0 < 7.0.0

Start using this module

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

Add this module to your Puppetfile:

mod 'adullact-demarchessimplifiees', '3.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add adullact-demarchessimplifiees
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install adullact-demarchessimplifiees --version 3.0.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

adullact/demarchessimplifiees — version 3.0.0 Apr 21st 2021

demarchessimplifiees

Table of Contents

  1. Description
  2. Setup - The basics of getting started with demarchessimplifiees
  3. Usage - Configuration options and additional functionality
  4. Limitations - OS compatibility, etc.
  5. Development - Guide for contributing to the module

Description

This Puppet module install and configure Demarches Simplfiees component, aka DS.

Setup

What demarchessimplifiees affects

The module can :

  • install and configure a PostgreSQL backend.
  • install Ruby with Rbenv. This will install some dev packages to be able to compile Ruby.
  • install NodeJS from Nodesource and so it will add a new source in the package manager.
  • install Yarn
  • create an OS local account owner of files.

By default, it will do all of them. It is possible to disable these actions with the $*_manage parameters.

The clock hosting Demarches Simplifiées have to be on time for OTP (One Time Password).

Setup Requirements

All required modules and supported versions of Puppet are listed in metadata.json.

Beginning with demarchessimplifiees

With the default behavior it is possible to simply use :

include demarchessimplifiees

Usage

When DS uses a remote PostgreSQL service

This will not install a PostreSQL server locally and use a remote one :

  class { 'demarchessimplifiees':
    database_host     => '10.10.10.10',
    postgresql_manage => false,
  }

When DS files have to be owned by a user already created out of this module

  class { 'demarchessimplifiees':
    sysaccount_name   => 'dsuser',
    sysaccount_manage => false,
  }

Merge behavior with hash $config

The parameter $config is a Hash with many keys.

If you call the class demarchessimplifiees directly in Puppet code, you will have to provide a value for all keys that are not flagged as Optional in the custom data type Demarchessimplifiees::Config. Details about custom data type in REFERENCE.md.

If you use hiera to store the values keys, then you only have to provide a value for keys you want to modify. The others will use the default from hiera data of the module.

Reference

Details in REFERENCE.md file.

Limitations

Supported OSes are given is metadata.json file.

Development

Home at URL https://gitlab.adullact.net/demarches-simplifiees/puppet-demarchessimplifiees

Issues and MR are welcome.

Release Notes/Contributors/Etc.

Copyright (C) 2018 Association des Développeurs et Utilisateurs de Logiciels Libres
                     pour les Administrations et Colléctivités Territoriales.

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

You should have received a copy of the GNU Affero General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/agpl.html>.