Forge Home

9,479 downloads

9,479 latest version

1.1 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

  • 0.1.0 (latest)
released Feb 19th 2015
This version is compatible with:
  • Puppet 3.x
  • , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'firm1-zds', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add firm1-zds
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install firm1-zds --version 0.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

firm1/zds — version 0.1.0 Feb 19th 2015

zds

Table of Contents

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with zds
  4. Usage - Configuration options and additional functionality
  5. Development - Guide for contributing to the module

Overview

This module allows to deploy the ZDS project in production environnement. This is a community website opensource engine made with django.

This project supports the following OS:

  • Debian
  • Ubuntu

It should run on Centos, but not yet tested

Module Description

This project includes the following tools necessary for the operation of ZDS.

  • back-end:
    • django: virtualenv, gunicorn (WSGI)
    • solr
    • pandoc
  • front-end
    • nodejs
    • npm
  • database:
    • mysql
  • Web server
    • nginx

Each tool is installed, configured and the services are started

Setup

What zds affects

ZDS exposes on port 80 the web service and on port 8983 Solr program. An entry is reserved in the crontab for automatic indexing (every 20 minutes)

New users are created : nginx, cabal

Usage

The best way to use ZDS is to use hiera, like this.

zds:
    repo:
        author: "zestedesavoir"
        branch: "dev"
    site:
        url: "zestedesavoir.com"
        id: "daily"
    database:
        host: "localhost"
        name: "bdd"
        user: "root"
        password: "SuperPassword"
    front:
        node_version: "v0.10.36"
        logo_url: ""
        color:
            primary: "#F39539"
            secondary: "#C21936"
            body_bg: "#FFF"
            header_hv: "#B03712"
            side_bg: "#F6F6F6"
            side_hv: "#FFF"
    settings:
        name: ""
        litteral_name: ""
        slogan: ""
        abbr: "OC"
        email_contact: ""
        email_noreply: ""
        forum_feedback_users: ""
        long_description: ""
        cnil: ""
        social:
            facebook: "https://www.facebook.com/"
            twitter: "https://twitter.com/"
            google: "https://plus.google.com/"

Development