Code Monkey home page Code Monkey logo

puppet-module-vas_local_user's Introduction

vas_local_user

Build Status

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 vas_local_user
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

Overview

This module allows you to manage both users and ssh_authorized_keys on systems using QAS/VAS. The thought behind it is make it easier for you to create users on systems with and without QAS installed.

Module Description

This module manages one or more local users and ssh_authorized_keys (if configured). If it's a newly provisioned system it will create the user or users before installing QAS. If QAS is already installed on the system it will only manage the user and its ssh_authorized_keys if libuser is supported. The user will be managed on systems without QAS too.

Setup

What vas_local_user affects

  • It affects the users and ssh_authorized_keys it's configured to manage.

Beginning with vas_local_user

If the module is included in the catalogue but not configured in any way it does not do anything. It takes in total four different parameters.

The following defaults are used when creating a user.

Not using QAS: 'manage_home' => true 'forcelocal' => true

Using QAS (settings above and...): 'before' => Class['vas']

Usage

manage_users

Boolean to control if this module should manage users or not.

  • Default: true

users

A hash of all users the module should manage/create.

  • Default: undef

ssh_keys

A hash of all ssh_authorized_keys the module should manage/create.

  • Default: undef

users_hiera_merge

Set to true to enable hiera_merge for parameter 'users'.

  • Default: false

groups_hiera_merge

Set to true to enable hiera_merge for parameter 'groups'.

  • Default: false

Reference

Classes:

  • vas_local_user

Limitations

This module uses before on Class['vas'] to guess whether QAS is in the catalogue or not. This module has been tested in combination with Ericsson/puppet-module-vas.

Requires Puppet >=3.2 since it uses User type's parameter forcelocal.

Development

Please make changes atomic. Rebase your commits if neccessary to make it atomic.

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.