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

Maintainer | 2016 Evan Cofsky <evan@theunixman.com>
Safe Haskell | Safe-Inferred
Language | Haskell2010

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 #

pkgCmdProperty :: String -> [String] -> UncheckedProperty FreeBSD 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 Methods mempty :: PkgUpdate # mappend :: PkgUpdate -> PkgUpdate -> PkgUpdate # mconcat :: [PkgUpdate] -> PkgUpdate #
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 Methods propagateInfo :: PkgUpdate -> PropagateInfo Source #

pkgUpdated :: PkgUpdate -> Bool Source #

update :: Property (HasInfo + FreeBSD) Source #

newtype PkgUpgrade Source #

Constructors

PkgUpgrade String |

#### Instances

Instances details

Monoid PkgUpgrade Source # |
Instance details Defined in Propellor.Property.FreeBSD.Pkg Methods mempty :: PkgUpgrade # mappend :: PkgUpgrade -> PkgUpgrade -> PkgUpgrade # mconcat :: [PkgUpgrade] -> PkgUpgrade #
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 Methods propagateInfo :: PkgUpgrade -> PropagateInfo Source #

pkgUpgraded :: PkgUpgrade -> Bool Source #

upgrade :: Property (HasInfo + FreeBSD) Source #

type Package = String Source #

installed :: Package -> Property FreeBSD Source #

isInstallable :: Package -> IO Bool Source #

isInstalled :: Package -> IO Bool Source #

exists :: Package -> IO Bool Source #