Coder Social home page Coder Social logo

config-tools's Introduction

Config Tools

Config Tools are a set of tools to use puppet to configure a set of nodes with complex configuration using a step by step approach. Each step is validated by serverspec tests before going to the next step. If the tests of a step fail, puppet is called again on all the nodes.

Prerequisites

You need puppet already installed on all the nodes and on the puppet master. All the nodes must be reachable using ssh from the puppet master without interaction.

On the puppet master, you need to have the following installed:

  • make
  • python with the hardware, jinja2 and yaml modules
  • rake
  • serverspec

Config files

Serverspec tests must be under /etc/serverspec.

Puppet files are under /etc/puppet.

The puppet manifests and the YAML file describing the tests must be Jinja2 templates in /etc/puppet/manifest/site.pp.tmpl, /etc/puppet/manifest/params.pp.tmpl and /etc/serverspec/arch.yml.tmpl.

Configuration is centralized in /etc/config-tools/global.yaml.

Provisioning

To provision the needed files, you can use the provision.sh script like this:

$ ./provision.sh H.1.2.0 git://myserver/mydeployment/deployment.yml

with a deployment.yml like this:

module:
  [email protected]:stackforge/puppet-openstack-cloud
serverspec:
  [email protected]:enovance/openstack-serverspec.git
environment:
  env
infrastructure:
  [email protected]:enovance/os-ref-arch

Available designs

Examples of infrastructure git repositories:

config-tools's People

Contributors

emilienm avatar fcharlier avatar fredericlepied avatar fridim avatar gaell avatar georgegoh avatar prophidys avatar sbadia avatar spredzy avatar talset avatar tremble avatar ylamgarchal avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.