propellor-5.17: property-based host configuration management in haskell
Maintainer2016 Evan Cofsky <evan@theunixman.com>
Safe HaskellSafe-Inferred
LanguageHaskell2010

Propellor.Property.FreeBSD.Pkg

Description

FreeBSD pkgng properties

Documentation

noninteractiveEnv :: [([Char], [Char])] Source #

pkgCommand :: String -> [String] -> (String, [String]) Source #

runPkg :: String -> [String] -> IO [String] Source #

pkgCmd :: String -> [String] -> IO [String] Source #

newtype PkgUpdate Source #

Constructors

PkgUpdate String 

Instances

Instances details
Monoid PkgUpdate Source # 
Instance details

Defined in Propellor.Property.FreeBSD.Pkg

Semigroup PkgUpdate Source # 
Instance details

Defined in Propellor.Property.FreeBSD.Pkg

Methods

(<>) :: PkgUpdate -> PkgUpdate -> PkgUpdate #

sconcat :: NonEmpty PkgUpdate -> PkgUpdate

stimes :: Integral b => b -> PkgUpdate -> PkgUpdate

Show PkgUpdate Source # 
Instance details

Defined in Propellor.Property.FreeBSD.Pkg

Methods

showsPrec :: Int -> PkgUpdate -> ShowS

show :: PkgUpdate -> String

showList :: [PkgUpdate] -> ShowS

IsInfo PkgUpdate Source # 
Instance details

Defined in Propellor.Property.FreeBSD.Pkg

newtype PkgUpgrade Source #

Constructors

PkgUpgrade String 

Instances

Instances details
Monoid PkgUpgrade Source # 
Instance details

Defined in Propellor.Property.FreeBSD.Pkg

Semigroup PkgUpgrade Source # 
Instance details

Defined in Propellor.Property.FreeBSD.Pkg

Methods

(<>) :: PkgUpgrade -> PkgUpgrade -> PkgUpgrade #

sconcat :: NonEmpty PkgUpgrade -> PkgUpgrade

stimes :: Integral b => b -> PkgUpgrade -> PkgUpgrade

Show PkgUpgrade Source # 
Instance details

Defined in Propellor.Property.FreeBSD.Pkg

Methods

showsPrec :: Int -> PkgUpgrade -> ShowS

show :: PkgUpgrade -> String

showList :: [PkgUpgrade] -> ShowS

IsInfo PkgUpgrade Source # 
Instance details

Defined in Propellor.Property.FreeBSD.Pkg

type Package = String Source #

isInstalled :: Package -> IO Bool Source #

exists :: Package -> IO Bool Source #