propellor-3.0.5: property-based host configuration management in haskell

Safe HaskellNone
LanguageHaskell98

Propellor.Types.OS

Synopsis

Documentation

data System Source

High level description of a operating system.

Instances

data Distribution Source

Constructors

Debian DebianSuite 
Buntish Release

A well-known Debian derivative founded by a space tourist. The actual name of this distribution is not used in Propellor per http://joeyh.name/blog/entry/trademark_nonsense/

FreeBSD FreeBSDRelease 

data TargetOS Source

Properties can target one or more OS's; the targets are part of the type of the property, so need to be kept fairly simple.

Constructors

OSDebian 
OSBuntish 
OSFreeBSD 

data DebianSuite Source

Debian has several rolling suites, and a number of stable releases, such as Stable "jessie".

Instances

data FreeBSDRelease Source

FreeBSD breaks their releases into Production and Legacy.

type Release = String Source

type Architecture = String Source

type HostName = String

type UserName = String Source

newtype User Source

Constructors

User UserName 

Instances

Eq User Source 
Ord User Source 
Show User Source 

newtype Group Source

Constructors

Group String 

Instances

userGroup :: User -> Group Source

Makes a Group with the same name as the User.

fromPort :: Port -> String Source