diff options
| author | Joey Hess <joeyh@joeyh.name> | 2015-12-06 15:40:46 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2015-12-06 15:40:46 -0400 |
| commit | 8b174a2f7160c30cd635cc92f5e24e30d9340234 (patch) | |
| tree | 115e65a2097367036486fc35febc8d0a8f7d45a8 /doc | |
| parent | b5b659ed3cba12223be19563e377f70fcb709bfb (diff) | |
add news item for propellor 2.15.0
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/news/version_2.15.0.mdwn | 29 | ||||
| -rw-r--r-- | doc/news/version_2.9.0.mdwn | 35 |
2 files changed, 29 insertions, 35 deletions
diff --git a/doc/news/version_2.15.0.mdwn b/doc/news/version_2.15.0.mdwn new file mode 100644 index 00000000..ebd847e2 --- /dev/null +++ b/doc/news/version_2.15.0.mdwn @@ -0,0 +1,29 @@ +propellor 2.15.0 released with [[!toggle text="these changes"]] +[[!toggleable text=""" + * Added UncheckedProperty type, along with unchecked to indicate a + Property needs its result checked, and checkResult and changesFile + to check for changes. + * Properties that run an arbitrary command, such as cmdProperty + and scriptProperty are converted to use UncheckedProperty, since + they cannot tell on their own if the command truely made a change or not. + (API Change) + Transition guide: + - When GHC complains about an UncheckedProperty, add: + `assume` MadeChange + (Since these properties used to always return MadeChange, that + change is always safe to make.) + - Or, if you know that the command should modifiy a file, use: + `changesFile` filename + * The `trivial` combinator has been removed. (API change) + Instead, use: + `assume` NoChange + Or, better, use changesFile or checkResult to accurately report + when a property makes a change. + * A few properties have had their Result improved, for example + Apt.buldDep and Apt.autoRemove now check if a change was made or not. + * User.hasDesktopGroups changed to avoid trying to add the user to + groups that don't exist. + * Added Postfix.saslPasswdSet. + * Added Propellor.Property.Locale. + Thanks, Sean Whitton. + * Added Propellor.Property.Fail2Ban."""]]
\ No newline at end of file diff --git a/doc/news/version_2.9.0.mdwn b/doc/news/version_2.9.0.mdwn deleted file mode 100644 index ef445452..00000000 --- a/doc/news/version_2.9.0.mdwn +++ /dev/null @@ -1,35 +0,0 @@ -propellor 2.9.0 released with [[!toggle text="these changes"]] -[[!toggleable text=""" - * Added basic Uwsgi module, maintained by Félix Sipma. - * Add Apt.hasForeignArch. Thanks, Per Olofsson. - * Improved documentation, particularly of the Propellor module. - * The Propellor module no longer exports many of the things it used to, - being now focused on only what's needed to write config.hs. - Use Propellor.Base to get all the things exported by Propellor before. - (API change) - * Some renaming of instance methods, and moving of functions to more - appropriate modules. (API change) - * Added File.isSymlinkedTo. Thanks, Per Olofsson. - * fileProperty, and properties derived from it now write the new - file content via origfile.propellor-new~, instead of to a randomly named - temp file. This allows them to clean up any temp file that may have - been left by an interrupted run of propellor. - * Added Propellor.Property.Spin, which can be used to make a host be a - controller of other hosts, which will automatically spin them each time - propellor is run. - * Ssh.keyImported is replaced with Ssh.userKeys. (API change) - The new property only gets the private key from the privdata; the - public key is provided as a parameter, and so is available as - Info that other properties can use. - * Ssh.keyImported' is renamed to Ssh.userKeyAt, and also changed - to only import the private key from the privdata. (API change) - * While Ssh.keyImported and Ssh.keyImported' avoided updating existing - keys, the new Ssh.userKeys and Ssh.userKeyAt properties will - always update out of date key files. - * Ssh.pubKey renamed to Ssh.hostPubKey. (API change) - * Added --unset-unused - * Fix typo: propigate → propagate. Thanks, Felix Gruber. - (A minor API change) - * Chroot: Converted to use a ChrootBootstrapper type class, so - other ways to bootstrap chroots can easily be added in separate - modules. (API change)"""]]
\ No newline at end of file |
