From e464543fc30faaf15976711c783572f3db80e58b Mon Sep 17 00:00:00 2001 From: david@1439a1cab13195a56248b6a8fd98a62028bcba8a Date: Wed, 22 Aug 2018 23:19:44 +0000 Subject: rename forum/versioned_depends.mdwn to forum/making_sure_a_package_is_at_the_latest_version.mdwn --- .../making_sure_a_package_is_at_the_latest_version.mdwn | 13 +++++++++++++ doc/forum/versioned_depends.mdwn | 13 ------------- 2 files changed, 13 insertions(+), 13 deletions(-) create mode 100644 doc/forum/making_sure_a_package_is_at_the_latest_version.mdwn delete mode 100644 doc/forum/versioned_depends.mdwn (limited to 'doc') diff --git a/doc/forum/making_sure_a_package_is_at_the_latest_version.mdwn b/doc/forum/making_sure_a_package_is_at_the_latest_version.mdwn new file mode 100644 index 00000000..5eff9424 --- /dev/null +++ b/doc/forum/making_sure_a_package_is_at_the_latest_version.mdwn @@ -0,0 +1,13 @@ +The following property sets up my wacky outbound mail setup. +
+smtpLeaf :: Property (HasInfo + DebianLike)
+smtpLeaf = propertyList "smtp leaf node" $ props
+         & Apt.installed["nullmailer", "bsd-mailx"]
+         & File.hasPrivContent "/etc/nullmailer/remotes" anyContext
+         & tetheraApt
+         & Apt.installed ["nullmailer-extras"] & Apt.update & Apt.upgrade
+         & Ssh.userKeys (User "mail") anyContext [ (SshRsa, Tethera.Keys.mail_ssh) ]
+         & Ssh.knownHost hosts "smtp.tethera.net" (User "mail")
+
+ +The "Apt.update & Apt.upgrade" is there because nullmailer-extras is kindof a work in progress and I need to make sure that when I add a new version to the private apt repo it's drawing from, that get's installed. It works but it seems a bit slow, and more importantly upgrading everything is kindof a heavy side effect (which might even break things), in order to update this one package. Is there a better way to do this? Don't assume I know anything, I started using propellor 2 days ago... diff --git a/doc/forum/versioned_depends.mdwn b/doc/forum/versioned_depends.mdwn deleted file mode 100644 index 5eff9424..00000000 --- a/doc/forum/versioned_depends.mdwn +++ /dev/null @@ -1,13 +0,0 @@ -The following property sets up my wacky outbound mail setup. -
-smtpLeaf :: Property (HasInfo + DebianLike)
-smtpLeaf = propertyList "smtp leaf node" $ props
-         & Apt.installed["nullmailer", "bsd-mailx"]
-         & File.hasPrivContent "/etc/nullmailer/remotes" anyContext
-         & tetheraApt
-         & Apt.installed ["nullmailer-extras"] & Apt.update & Apt.upgrade
-         & Ssh.userKeys (User "mail") anyContext [ (SshRsa, Tethera.Keys.mail_ssh) ]
-         & Ssh.knownHost hosts "smtp.tethera.net" (User "mail")
-
- -The "Apt.update & Apt.upgrade" is there because nullmailer-extras is kindof a work in progress and I need to make sure that when I add a new version to the private apt repo it's drawing from, that get's installed. It works but it seems a bit slow, and more importantly upgrading everything is kindof a heavy side effect (which might even break things), in order to update this one package. Is there a better way to do this? Don't assume I know anything, I started using propellor 2 days ago... -- cgit v1.2.3