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

Safe HaskellNone
LanguageHaskell98

Propellor.Types.PrivData

Synopsis

Documentation

data PrivDataField Source

Note that removing or changing constructors or changing types will break the serialized privdata files, so don't do that! It's fine to add new constructors.

newtype Context Source

A context in which a PrivDataField is used.

Often this will be a domain name. For example, Context "www.example.com" could be used for the SSL cert for the web server serving that domain. Multiple hosts might use that privdata.

This appears in serialized privdata files.

Constructors

Context String 

newtype HostContext Source

A context that varies depending on the HostName where it's used.

Constructors

HostContext 

class IsContext c where Source

Class of things that can be used as a Context.

anyContext :: Context Source

Use when a PrivDataField is not dependent on any paricular context.

hostContext :: HostContext Source

Makes a HostContext that consists just of the hostname.

sshKeyTypeParam :: SshKeyType -> String Source

Parameter that would be passed to ssh-keygen to generate key of this type

data DnsSecKey Source

Constructors

PubZSK

DNSSEC Zone Signing Key (public)

PrivZSK

DNSSEC Zone Signing Key (private)

PubKSK

DNSSEC Key Signing Key (public)

PrivKSK

DNSSEC Key Signing Key (private)