propellor spin

This commit is contained in:
Joey Hess 2014-07-05 17:57:19 -04:00
parent 4bb659682e
commit d062e21a5e
Failed to extract signature
2 changed files with 4 additions and 3 deletions

2
debian/changelog vendored
View File

@ -2,6 +2,8 @@ propellor (0.7.1) UNRELEASED; urgency=medium
* Add --edit to edit a privdata value in $EDITOR. * Add --edit to edit a privdata value in $EDITOR.
* Add --list-fields to list a host's currently set privdata fields. * Add --list-fields to list a host's currently set privdata fields.
* Fix randomHostKeys property to run openssh-server's postinst in a
non-failing way.
-- Joey Hess <joeyh@debian.org> Thu, 19 Jun 2014 14:27:21 -0400 -- Joey Hess <joeyh@debian.org> Thu, 19 Jun 2014 14:27:21 -0400

View File

@ -72,9 +72,8 @@ randomHostKeys = flagFile prop "/etc/ssh/.unique_host_keys"
[ Param "-c" [ Param "-c"
, Param "rm -f /etc/ssh/ssh_host_*" , Param "rm -f /etc/ssh/ssh_host_*"
] ]
ensureProperty $ ensureProperty $ scriptProperty
cmdProperty "/var/lib/dpkg/info/openssh-server.postinst" [ "DPKG_MAINTSCRIPT_PACKAGE=openssh-server /var/lib/dpkg/info/openssh-server.postinst configure" ]
["configure"]
-- | Sets ssh host keys from the site's PrivData. -- | Sets ssh host keys from the site's PrivData.
-- --