summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2015-10-16Added Propellor.Property.Spin, which can be used to make a host be a ↵Joey Hess
controller of other hosts. The hard part of this is avoiding loops of controllers. To make that work, a ControllerChain is passed to the host that's spun, and is added to the Info of the host being spun, where the controller property can check it to detect an avoid a loop. That needed an expansion of the CmdLine data type. I made the new ControlledRun only be used when there is a ControllerChain provided. This avoids breaking backwards compatability with old propellor deployments, as --spin still uses SimpleRun. Note: Making an old propellor deployment be controlled by a controller won't work until it's been updated to this commit, so it knows about the ControlledRun parameter. (Untested)
2015-10-14recent changes broke the baseurlJoey Hess
2015-10-14fileProperty, and properties derived from it now write the new file content ↵Joey Hess
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. Also converted the new isSymlinkedTo property to use the same implementation, with some simplifications.
2015-10-14excess newlineJoey Hess
2015-10-14Add File.isSymlinkedToPer Olofsson
Signed-off-by: Per Olofsson <pelle@dsv.su.se>
2015-10-10reorg sectionsJoey Hess
2015-10-10wordingJoey Hess
2015-10-10example for withOSJoey Hess
2015-10-10improve docs in Propellor.PropertyJoey Hess
2015-10-10propellor spinJoey Hess
2015-10-10tighten focus of Propellor module, adding Propellor.Base for all the exportsJoey Hess
2015-10-10propellor spinJoey Hess
2015-10-10noteJoey Hess
2015-10-10propellor spinJoey Hess
2015-10-10propellor spinJoey Hess
2015-10-10propellor spinJoey Hess
2015-10-10Improved documentation, particularly of the Propellor module.Joey Hess
This involved some code changes, including some renaming of instance methods. (ABI change)
2015-10-08Add Apt.hasForeignArch.Per Olofsson
Signed-off-by: Per Olofsson <pelle@dsv.su.se>
2015-10-08Uwsgi: replace HostName by AppNameFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2015-10-08add basic Uwsgi moduleFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2015-10-04Fix --add-key to not fail committing when no privdata file exists yet.Joey Hess
2015-10-01change contact emailFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2015-09-30change HostContext for containersJoey Hess
Privdata that uses HostContext inside a container will now have the name of the container as its context, rather than the name of the host(s) where the container is used. This allows eg, having different passwords for a user in different containers. Note that previously, propellor would prompt using the container name as the context, but not actually use privdata using that context; so this is a bug fix. I don't entirely like the implementation; I had to put the code to change the context in PropAccum, and it's not generalized past PrivInfo.
2015-09-30force copy when destination existsJoey Hess
2015-09-29propellor spinJoey Hess
2015-09-29exports for haddockJoey Hess
2015-09-29add Maintainer entries for contributed modulesJoey Hess
These show up in the haddock documentation on the sidebar. The author emails are not hyperlinked, so hopefully this is not a spam source. Keeping track of Maintainers of modules is becoming necessary because I don't use all these modules and am not the best person to maintain them, beyond simple changes to keep them building. I'll loop in the Maintainer if there's a bug etc on their module.
2015-09-29Add basic Kerberos module.Jelmer Vernooij
2015-09-28Write same username to aiccu config as for which the password was obtained.Jelmer Vernooij
Without this change, the plain username always ends up in aiccu.conf. This breaks setups where a tunnel-specific password is in use.
2015-09-28Add Logcheck module.Jelmer Vernooij
2015-09-25propellor spinJoey Hess
2015-09-25Guard against power loss etc when building propellor, by updating the ↵Joey Hess
executable atomically.
2015-09-23remove git signing key when it's the key to be removedJoey Hess
2015-09-23Added --rm-key.Joey Hess
2015-09-23propellor spinJoey Hess
2015-09-23add "ancient" git-annex autobuilder using debian stable i386Joey Hess
2015-09-21Unbound: fix bug with duplicate "server" sectionFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2015-09-20aiccu's init script doesn't support reload; restart itJoey Hess
2015-09-20make sure aiccu.conf is only readable by root, even if it had a different ↵Joey Hess
mode to start with
2015-09-20bug fix: used wrong username for config file in case where username/tunnelid ↵Joey Hess
was provided in privdata
2015-09-20reload daemon on conf file changeJoey Hess
2015-09-20a few improvementsJoey Hess
2015-09-20fix example after recent changesJoey Hess
2015-09-20reformat and fix warning about 2 definitions of 'u'Joey Hess
2015-09-20Add aiccu module.Jelmer Vernooij
2015-09-18Unbound: improve haddock formattingFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2015-09-18Unbound: add example for cachingDnsServerFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2015-09-17Unbound: restart unbound when config in cachingDnsServer is modifiedFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2015-09-17Unbound: cachingServer propertyFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>
2015-09-16Types.Dns: simplify canonicalGroupFélix Sipma
Signed-off-by: Félix Sipma <felix.sipma@no-log.org>