propellor-5.4.0: 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 DebianKernel 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/

ArchLinux 
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.

Instances

Eq TargetOS Source # 
Ord TargetOS Source # 
Show TargetOS Source # 
type EqT TargetOS OSDebian OSDebian Source # 
type EqT TargetOS OSDebian OSBuntish Source # 
type EqT TargetOS OSDebian OSArchLinux Source # 
type EqT TargetOS OSDebian OSFreeBSD Source # 
type EqT TargetOS OSBuntish OSDebian Source # 
type EqT TargetOS OSBuntish OSBuntish Source # 
type EqT TargetOS OSBuntish OSArchLinux Source # 
type EqT TargetOS OSBuntish OSFreeBSD Source # 
type EqT TargetOS OSArchLinux OSDebian Source # 
type EqT TargetOS OSArchLinux OSBuntish Source # 
type EqT TargetOS OSArchLinux OSArchLinux Source # 
type EqT TargetOS OSArchLinux OSFreeBSD Source # 
type EqT TargetOS OSFreeBSD OSDebian Source # 
type EqT TargetOS OSFreeBSD OSBuntish Source # 
type EqT TargetOS OSFreeBSD OSArchLinux Source # 
type EqT TargetOS OSFreeBSD OSFreeBSD Source # 

data DebianKernel Source #

Most of Debian ports are based on Linux. There also exist hurd-i386, kfreebsd-i386, kfreebsd-amd64 ports

Constructors

Linux 
KFreeBSD 
Hurd 

data DebianSuite Source #

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

data Architecture Source #

Many of these architecture names are based on the names used by Debian, with a few exceptions for clarity.

Constructors

X86_64

64 bit Intel, called "amd64" in Debian

X86_32

32 bit Intel, called "i386" in Debian

ARMHF 
ARMEL 
PPC 
PPC64 
SPARC 
SPARC64 
MIPS 
MIPSEL 
MIPS64EL 
SH4 
IA64

Itanium

S390 
S390X 
ALPHA 
HPPA 
M68K 
ARM64 
X32

New Linux ABI for 64 bit CPUs using 32-bit integers. Not widely used.

type HostName = String #

Either a host name e.g., "haskell.org" or a numeric host address string consisting of a dotted decimal IPv4 address or an IPv6 address e.g., "192.168.0.1".

newtype User Source #

Constructors

User UserName 

Instances

Eq User Source # 

Methods

(==) :: User -> User -> Bool #

(/=) :: User -> User -> Bool #

Ord User Source # 

Methods

compare :: User -> User -> Ordering #

(<) :: User -> User -> Bool #

(<=) :: User -> User -> Bool #

(>) :: User -> User -> Bool #

(>=) :: User -> User -> Bool #

max :: User -> User -> User #

min :: User -> User -> User #

Show User Source # 

Methods

showsPrec :: Int -> User -> ShowS #

show :: User -> String #

showList :: [User] -> ShowS #

ConfigurableValue User Source # 

Methods

val :: User -> String Source #

newtype Group Source #

Constructors

Group String 

Instances

userGroup :: User -> Group Source #

Makes a Group with the same name as the User.