GithubHelp home page GithubHelp logo

chef-dsi-users's Introduction

dsi-users

Installe et configure les différents comptes utilisés par la DSI. Le principe est hébergé sur Github, les comptes réels sont privés.

Platformes suppportées

  • Debian 7
  • Ubuntu 14.04

Attributs

  • default['dsi-users']['dev'] = false
  • default['dsi-users']['databag']['name'] = 'users'
  • default['dsi-users']['databag']['encrypted'] = true

Utilisation

Data bag

Créer un data bag 'users' avec un compte par item au format json. Des exemples de configuration de compte se trouvent dans le répertoire 'test/integration/default/data_bags/users'.

Pour générer un mot de passe, une procédure rake est inclus dans ce cookbook :

rake password

Si vous ne saisissez pas de mot de passe, il en génèrera un automatiquement. Le mot de passe à privilégier est celui au format SHA512.

Une fois votre data bag configuré et injecter sur le serveur chef, vous pouvez passer à la suite.

Recipe

Inclure dsi-users dans la run_list de votre noeud pour injecter les comptes par défaut :

{
  "run_list": [
    "recipe[dsi-users::default]"
  ]
}

Définition

Ce cookbook peut-être réutiliser en le mettant en dépendance du votre. La définition suivante est disponible :

dsi_users 'compte' do
  password 'PASSWORD_SHA512'
  passwordless true
end

ou plus simplement si vous avez un data bag :

dsi_users 'compte'

License and Authors

Copyright 2015 Stephane LII

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Authors :

chef-dsi-users's People

Contributors

sitle avatar

Watchers

James Cloos avatar SLII 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.