summaryrefslogtreecommitdiff
path: root/src/Propellor/Property/Firewall.hs
AgeCommit message (Collapse)Author
2015-06-01reorganize Port type for systemd can use itJoey Hess
2015-05-27Export CommandParam, boolSystem, safeSystem and shellEscape from ↵Joey Hess
Propellor.Property.Cmd, so they are available for use in constricting your own Properties when using propellor as a library. Several imports of Utility.SafeCommand now redundant.
2015-01-24GADT properties seem to work (untested)Joey Hess
* Property has been converted to a GADT, and will be Property NoInfo or Property HasInfo. This was done to make sure that ensureProperty is only used on properties that do not have Info. Transition guide: - Change all "Property" to "Property NoInfo" or "Property WithInfo" (The compiler can tell you if you got it wrong!) - To construct a RevertableProperty, it is useful to use the new (<!>) operator - Constructing a list of properties can be problimatic, since Property NoInto and Property WithInfo are different types and cannot appear in the same list. To deal with this, "props" has been added, and can built up a list of properties of different types, using the same (&) and (!) operators that are used to build up a host's properties.
2015-01-19avoid haddock warningsJoey Hess
2014-12-08propellor spinJoey Hess
(cherry picked from commit 1d02d589c79781cc4b0bd82467edbdf64c40f34d)
2014-10-31remove hardcoded pathJoey Hess
propellor runs as root, and /sbin should always be in root's path
2014-10-31changed indentation for consistency with the rest of propellorJoey Hess
2014-10-31added licensing headerArnaud Bailly
2014-10-31missing exportArnaud Bailly
2014-10-31smarter constructor for ruleArnaud Bailly
2014-10-31added firewall propertiesArnaud Bailly