summaryrefslogtreecommitdiff
path: root/src/Propellor/Property
AgeCommit message (Collapse)Author
2018-09-19propellor spinJoey Hess
2018-09-14updateJoey Hess
2018-09-09propellor spinJoey Hess
2018-09-09propellor spinJoey Hess
2018-08-28propellor spinJoey Hess
2018-08-20Removed HostingProvider.CloudatCost module as it lacks a maintainerJoey Hess
(If anyone would like to maintain it, send a patch adding it back.) (API change)
2018-08-20Sudo.enabledFor: Write to /etc/sudoers.d/000users rather than to /etc/sudoersJoey Hess
(Any old lines it wrote to /etc/sudoers will be removed.) This fixes a potential ordering problem; the property used to append the line to /etc/sudoers, but that would override more specific lines in the include directory. By putting it in a file that is included first, it'll come before all includes, without needing to parse the sudoers file in order to put it before the includedir line. Note that, if there is a more specific line for the user in /etc/sudoers before the includedir, it will be overridden by the line in /etc/sudoers.d/000users. But, this is not a behavior change from before, when the line was appended to the end. This commit was sponsored by Jeff Goeke-Smith on Patreon.
2018-08-20propellor spinJoey Hess
2018-08-20Added Sudo.sudoersDFile property.Joey Hess
This commit was sponsored by Ewen McNeill on Patreon.
2018-08-20hub permsJoey Hess
2018-08-20comment typoJoey Hess
2018-08-20propellor spinJoey Hess
2018-08-19avoid "Mounted Mount" in journalJoey Hess
2018-08-19propellor spinJoey Hess
2018-08-19propellor spinJoey Hess
2018-08-19one more fixJoey Hess
2018-08-19propellor spinJoey Hess
2018-08-19fix escaping non-alphanumericsJoey Hess
2018-08-19propellor spinJoey Hess
2018-08-19Systemd.escapePath functionJoey Hess
Useful when creating mount units.
2018-08-19Split mailname property out of Hostname.saneJoey Hess
Since bad mailname guesses can lead to ugly surprises. (API change) Kept it in the Hostname module for easy discoverability, and similar to Hostname.searchDomain it sets a value based on the hostname so makes sense to keep it in that module. Didn't implement the mailname equivilant of Hostname.setTo, because it's trivial to write the mailname file with a custom value if desired. This commit was sponsored by John Pellman on Patreon.
2018-08-09letsencrypt': Pass --expand to support expanding the list of domainsJoey Hess
2018-08-09updateJoey Hess
2018-07-29propellor spinJoey Hess
2018-07-13updateJoey Hess
2018-07-13updatesJoey Hess
2018-07-11remove build-time warning for dockerJoey Hess
Propellor.Cmdline imports it, which made propellor compilation warn.
2018-07-11remove unused valuesJoey Hess
2018-07-11propellor spinJoey Hess
2018-07-11Merge branch 'master' into joeyconfigJoey Hess
2018-07-11two unmaintained modulesJoey Hess
2018-06-24refactorJoey Hess
could use zoneFileString for other things eg SSHFP. I have not yet, because AFAICS, SSHFP already splits the key up in a different way and while using zoneFileString should be ok, I'd need to test it..
2018-06-24update rValue of Dns TXT record typersiddharth
The TXT record's string is split into strings of length <= 255 characters and these strings are enclosed inside a pair of parentheses. Signed-off-by: rsiddharth <s@ricketyspace.net>
2018-06-16Grub.configured uses ConfFile.containsShellSettingSean Whitton
This implies the following behavioural changes: (1) Grub.configured will now change the value set by the first line it finds that sets the value of its key, if one exists. Previously, Grub.configured would unconditionally append to /etc/default/grub, unless the key=value pair was already present. (2) Grub.configured will comment out any further lines setting the value of its key found further down the file. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2018-06-16add EtcDefault.setSean Whitton
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2018-06-16add ConfFile.containsShellSetting & ConfFile.lacksShellSettingSean Whitton
Code adapted from Grub.configured. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2018-06-01note about fixJoey Hess
2018-05-29propellor spinJoey Hess
2018-05-17Merge branch 'joeyconfig'Joey Hess
2018-05-17Apt.installedBackport replaced with Apt.backportInstalledSean Whitton
Apt.installedBackport would do this: apt-get install -t stretch-backports foo bar Apt.backportInstalled does this: apt-get install foo/stretch-backports bar/stretch-backports The Apt.installedBackport behaviour can install the dependencies of foo and bar from stretch-backports even when the versions in stretch will satisfy the dependencies of the backports of foo and bar. So this property can result in very many more backports being installed on the host when intended. But the number of installed backports should always be minimised. Worse, whether this happens is highly dependent on the system state, and the order in which other properties get ensured. For example, & Apt.installed ["dgit"] & Apt.installedBackport ["dgit"] will install only dgit from stretch-backports, but unless debhelper and devscripts happen to already be installed, & Apt.installedBackport ["dgit"] & Apt.installed ["dgit"] will install dgit, debhelper, devscripts and maybe more from backports. This is surprising, difficult to debug, and breaks the expectation that when the order in which properties are ensured is not specified with connectives like `requires` and `before`, ensuring them in any order will produce the same result. Property renamed because user configs should not silently break, as they would if they did not list dependencies that must be installed from stable-backports. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2018-05-17Restic.installed: stop trying to install a backport on jessieSean Whitton
No such backport exists in the archive. Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
2018-05-09propellor spinJoey Hess
2018-05-07propellor spinJoey Hess
2018-05-06Merge remote-tracking branch 'felix/unbound' into joeyconfigJoey Hess
2018-05-05propellor spinJoey Hess
2018-05-05propellor spinJoey Hess
2018-05-05Unbound: move haddock comment to cachingDnsServerFĂ©lix Sipma
2018-05-05propellor spinJoey Hess
2018-05-04propellor spinJoey Hess
2018-05-04updateJoey Hess