Giter VIP home page Giter VIP logo

puppet-xserver's Introduction

xserver

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 xserver
  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

Puppet module to manage the installation and configuration of Xorg's X Server.

Module Description

The X.Org project provides an open source implementation of the X Window System.

This module manages the installation and configuration of the Xorg X Window Server. This module does not manage the X Server service. See the wilrnh-xdm module for that.

Setup

What xserver affects

  • X Server package
  • X server configuration - xorg.conf

Beginning with xserver

To get started with the X server with default configurations, simply include the module in your manifest:

include ::xserver

This will install the Xorg X Server, and install an empty xorg.conf, which should make X use its defaults. To o setup a working xorg.conf, a a bunch of sections, eg.,:

xserver::section{'Layout0':
  section_name => 'ServerLayout'
  section_entries => [
    'Identifier "Layout0"', # section entry
    'Screen 0  "Screen0"',
    'InputDevice "Keyboard0" "CoreKeyboard"',
    'InputDevice "Keyboard0" "CoreKeyboard"',
    {'Display' => [ # subsection
      'Virtual 1280 1024',
      'Depth 24'
    ]}
  ]
}

Usage

Reference

Public Classes

xserver: Initializes X Server installation and configuration.

Defined types

xserver::section: Manages a single section in xorg.conf

Parameters

::xserver

package_ensure: Passed directly to the ensure attribute of the package type. Defaults to 'present'.

::xserver::section

section_name: The name of the xorg.conf section. See man xorg.conf(5) for valid values.

section_entries: Array of Section Entries to place within the section. 'Strings' are entered verbatim, and hash structures denote a subsection (see example above.)

Limitations

This module currenly only supports Ubuntu Trusty.

Development

Pull requests are always awesome.

puppet-xserver's People

Contributors

wilrnh avatar

Watchers

 avatar

Forkers

jaredjennings

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.