propellor 5.3.3 → 5.3.4
raw patch · 11 files changed
+41/−14 lines, 11 files
Files
- CHANGELOG +12/−2
- README.md +1/−1
- contrib/post-merge-hook +1/−1
- debian/changelog +12/−2
- doc/README.mdwn +1/−1
- joeyconfig.hs +1/−0
- propellor.cabal +1/−1
- src/Propellor/Property/Apt.hs +1/−1
- src/Propellor/Property/Firewall.hs +2/−2
- src/Propellor/Property/Laptop.hs +4/−0
- src/Propellor/Property/SiteSpecific/JoeySites.hs +5/−3
CHANGELOG view
@@ -1,11 +1,21 @@+propellor (5.3.4) unstable; urgency=medium++ * Apt.trustsKey: Use apt-key to add key rather than manually driving gpg,+ which seems to not work anymore.+ Thanks, Russell Sim.+ * Firewall: Reorder iptables parameters that are order+ dependant to make --to-dest and --to-source work.+ Thanks, Russell Sim++ -- Joey Hess <id@joeyh.name> Wed, 21 Mar 2018 14:59:15 -0400+ propellor (5.3.3) unstable; urgency=medium * Warn again about new upstream version when ~/.propellor was cloned from the Debian git bundle using an older version of propellor that set up an upstream remote. * Avoid crashing if initial fetch from origin fails when spinning a host.- * Added Propllor.Property.Openssl module contributed by contributed by- Félix Sipma.+ * Added Propllor.Property.Openssl module contributed by Félix Sipma. -- Joey Hess <id@joeyh.name> Mon, 26 Feb 2018 14:34:37 -0400
README.md view
@@ -56,4 +56,4 @@ 7. Write some neat new properties and send patches! (Want to get your feet wet with propellor before plunging in?-[[try this|forum/Simple_quickstart_without_git__44___SSH__44___GPG]])+[try this|http://propellor.branchable.com/forum/Simple_quickstart_without_git__44___SSH__44___GPG])
contrib/post-merge-hook view
@@ -16,7 +16,7 @@ commit () { if [ -n "$(git status --short privdata/relocate config.hs)" ]; then- git commit privdata/relocate config.hs -m "$1"+ git commit -m "$1" fi }
debian/changelog view
@@ -1,11 +1,21 @@+propellor (5.3.4) unstable; urgency=medium++ * Apt.trustsKey: Use apt-key to add key rather than manually driving gpg,+ which seems to not work anymore.+ Thanks, Russell Sim.+ * Firewall: Reorder iptables parameters that are order+ dependant to make --to-dest and --to-source work.+ Thanks, Russell Sim++ -- Joey Hess <id@joeyh.name> Wed, 21 Mar 2018 14:59:15 -0400+ propellor (5.3.3) unstable; urgency=medium * Warn again about new upstream version when ~/.propellor was cloned from the Debian git bundle using an older version of propellor that set up an upstream remote. * Avoid crashing if initial fetch from origin fails when spinning a host.- * Added Propllor.Property.Openssl module contributed by contributed by- Félix Sipma.+ * Added Propllor.Property.Openssl module contributed by Félix Sipma. -- Joey Hess <id@joeyh.name> Mon, 26 Feb 2018 14:34:37 -0400
doc/README.mdwn view
@@ -56,4 +56,4 @@ 7. Write some neat new properties and send patches! (Want to get your feet wet with propellor before plunging in?-[[try this|forum/Simple_quickstart_without_git__44___SSH__44___GPG]])+[try this|http://propellor.branchable.com/forum/Simple_quickstart_without_git__44___SSH__44___GPG])
joeyconfig.hs view
@@ -90,6 +90,7 @@ & Hostname.sane & Apt.serviceInstalledRunning "swapspace" & Laptop.powertopAutoTuneOnBoot+ & Laptop.trimSSD & Grub.cmdline_Linux_default "i915.enable_psr=1" ! Grub.cmdline_Linux_default "quiet"
propellor.cabal view
@@ -1,5 +1,5 @@ Name: propellor-Version: 5.3.3+Version: 5.3.4 Cabal-Version: >= 1.20 License: BSD2 Maintainer: Joey Hess <id@joeyh.name>
src/Propellor/Property/Apt.hs view
@@ -447,7 +447,7 @@ trustsKey' :: AptKey -> Property DebianLike trustsKey' k = check (not <$> doesFileExist f) $ property desc $ makeChange $ do withHandle StdinHandle createProcessSuccess- (proc "gpg" ["--no-default-keyring", "--keyring", f, "--import", "-"]) $ \h -> do+ (proc "apt-key" ["--keyring", f, "add", "-"]) $ \h -> do hPutStr h (pubkey k) hClose h nukeFile $ f ++ "~" -- gpg dropping
src/Propellor/Property/Firewall.hs view
@@ -44,8 +44,8 @@ toIpTable :: Rule -> [CommandParam] toIpTable r = map Param $ val (ruleChain r) :- toIpTableArg (ruleRules r) ++- ["-t", val (ruleTable r), "-j", val (ruleTarget r)]+ ["-t", val (ruleTable r), "-j", val (ruleTarget r)] +++ toIpTableArg (ruleRules r) toIpTableArg :: Rules -> [String] toIpTableArg Everything = []
src/Propellor/Property/Laptop.hs view
@@ -26,3 +26,7 @@ `requires` check (doesFileExist servicefile) (Systemd.disabled "powertop") servicefile = "/etc/systemd/system/powertop.service"++-- | Enables weekly TRIM for SSDs, using systemd's fstrim.timer,+trimSSD :: Property Linux+trimSSD = Systemd.enabled "fstrim.timer"
src/Propellor/Property/SiteSpecific/JoeySites.hs view
@@ -636,6 +636,7 @@ `onChange` Postfix.dedupMainCf `onChange` Postfix.reloaded `requires` dkimInstalled+ `requires` Postfix.installed -- This does not configure postfix to use the dkim milter, -- nor does it set up domainkey DNS.@@ -990,7 +991,8 @@ `onChange` Service.restarted "dnsmasq" & ipmasq "wlan0" & Apt.serviceInstalledRunning "netplug"- & Network.dhcp' "eth0"+ & Network.static' "eth0" (IPv4 "192.168.1.100")+ (Just (Network.Gateway (IPv4 "192.168.1.1"))) -- When satellite is down, fall back to dialup [ ("pre-up", "poff -a || true") , ("post-down", "pon")@@ -1049,8 +1051,8 @@ , "xmonad", "libghc-xmonad-dev", "libghc-xmonad-contrib-dev" , "ttf-bitstream-vera" , "mairix", "offlineimap", "mutt"- , "nmap", "whois", "wireshark", "tcpdump", "iftop"- , "udevil", "pmount", "tree", "pv"+ , "mtr", "nmap", "whois", "wireshark", "tcpdump", "iftop"+ , "pmount", "tree", "pv" , "arbtt", "hledger", "bc" , "apache2", "ikiwiki", "libhighlight-perl" , "pal"