Difference between revisions of "Automatic Configuration with Cdist"

From ArchWiki
Jump to: navigation, search
(Created page with " This page describes how to automatically configure archlinux using [http://www.nico.schottelius.org/software/cdist cdist]. == Introduction == Cdist is a configuration manag...")
 
Line 6: Line 6:
 
Cdist is a configuration management system. The author of cdist is also using Archlinux as a target distribution
 
Cdist is a configuration management system. The author of cdist is also using Archlinux as a target distribution
 
and has some re-usable example configurations online.
 
and has some re-usable example configurations online.
 +
 +
== Preperation ==
 +
 +
Get the [http://git.schottelius.org/?p=cdist-nico;a=summary cdist repository with Nicos modications]:
 +
 +
    git://git.schottelius.org/cdist-nico
 +
 +
== How to use the types ==
 +
 +
Edit '''cdist/conf/manifest/init''', add your hostname and use the types as seen on the present hosts.
 +
Afterwards run
 +
 +
    ./bin/cdist config -v your-host-name
 +
 +
And then the your-host-name will be configured.
 +
 +
== Type overview ==
 +
 +
The following types are present and have been tested on Archlinux systems.
 +
 +
== Managed Desktop (__nico_managed_desktop) ==
 +
 +
Features:
 +
 +
* User can shutdown, suspend the computer (pm-utils)
 +
* Graphical user login (slim)
 +
* LXDE Desktop environment
 +
* Office suite (Libreoffice)
 +
* Browser (chromium)
 +
* User can configure network (using wicd)

Revision as of 16:17, 18 November 2012

This page describes how to automatically configure archlinux using cdist.

Introduction

Cdist is a configuration management system. The author of cdist is also using Archlinux as a target distribution and has some re-usable example configurations online.

Preperation

Get the cdist repository with Nicos modications:

   git://git.schottelius.org/cdist-nico

How to use the types

Edit cdist/conf/manifest/init, add your hostname and use the types as seen on the present hosts. Afterwards run

   ./bin/cdist config -v your-host-name

And then the your-host-name will be configured.

Type overview

The following types are present and have been tested on Archlinux systems.

Managed Desktop (__nico_managed_desktop)

Features:

  • User can shutdown, suspend the computer (pm-utils)
  • Graphical user login (slim)
  • LXDE Desktop environment
  • Office suite (Libreoffice)
  • Browser (chromium)
  • User can configure network (using wicd)