summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-10-20Added a commenthttps://mathstuf.id.fedoraproject.org/
2015-10-20(no commit message)https://mathstuf.id.fedoraproject.org/
2015-10-19simplify using type safe castJoey Hess
2015-10-19improve Info type using GADT, at nomeata's suggestionJoey Hess
This makes Show Info work, and simplifies the implementation.
2015-10-18closeJoey Hess
2015-10-18Merge branch 'master' of ssh://propellor.branchable.comJoey Hess
2015-10-18Merge branch 'joeyconfig'Joey Hess
2015-10-18document as api changeJoey Hess
2015-10-18fix typo: propigate → propagateFelix Gruber
2015-10-18Merge branch 'joeyconfig'Joey Hess
2015-10-18fix typo: propigate → propagateFelix Gruber
2015-10-18propose to change spelling of "propigate" to "propagate"felgru@ee99e6e19b83f4f9255bc41b8523d0e4fdb655ef
2015-10-17Merge branch 'joeyconfig'Joey Hess
2015-10-17typoFélix Sipma
2015-10-17do propigate Controlling info out of containersJoey Hess
If someone wants to make a container be a controller, that should work, and it should then detect loops that loop back to the container's host.
2015-10-17use Info to detect controller loopsJoey Hess
Much less invasive than the other implementation.
2015-10-17newtype info allows deriving monoidJoey Hess
2015-10-16fix key types in examplesJoey Hess
2015-10-16propellor spinJoey Hess
2015-10-16propellor spinJoey Hess
2015-10-16Merge branch 'joeyconfig'Joey Hess
2015-10-16Added --unset-unusedJoey Hess
2015-10-16propellor spinJoey Hess
2015-10-16fix commentJoey Hess
2015-10-16propellor spinJoey Hess
2015-10-16propellor spinJoey Hess
2015-10-16improve ssh user key propertiesJoey Hess
* 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) This makes eg, setting up ssh for spin controllers work better.
2015-10-16rewordJoey Hess
2015-10-16comment reorgJoey Hess
2015-10-16Merge branch 'joeyconfig'Joey Hess
2015-10-16add a LinkTarget type to disambiguate parameters of isSymlinkedToJoey Hess
Something about making symlinks is very confusing about which parameter is which. It perhaps doesn't help that isSymlinkedTo has the target second, while ln has it first. Let's use a type to prevent confusion. Also, simplified some properties that now use isSymlinkedTo. Since isSymlinkedTo checks the link target, these properties don't need to check themselves that the link is in place.
2015-10-16clarify which param is whichJoey Hess
2015-10-16revert change to JoeySitesJoey Hess
The change to JoeySites is wrong, because IIRC leafnode creates a spool directory, and isSymlinkedTo will not replace an existing directory with a symlink.
2015-10-16convert symlink properties to File.isSymlinkedToFélix Sipma
2015-10-16Merge branch 'joeyconfig'Joey Hess
2015-10-16improve types and add exampleJoey Hess
2015-10-16Merge branch 'joeyconfig'Joey Hess
2015-10-16renameJoey Hess
2015-10-16Merge branch 'joeyconfig'Joey Hess
2015-10-16update docs to match current file formatJoey Hess
2015-10-16Merge branch 'joeyconfig'Joey Hess
2015-10-16switch config-simple.hs to use a hosts list and toplevel Host definitionsJoey Hess
This is how I do it in my own config.hs, and it's generally useful to have a hosts list, and toplevel Host definitions to pass to various properties. If you're getting a conflict from this in your own config.hs file, you can just ignore these changes..
2015-10-16commentJoey Hess
2015-10-16Merge branch 'joeyconfig'Joey Hess
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-16Merge branch 'joeyconfig'Joey Hess
2015-10-16commentJoey Hess
2015-10-16(no commit message)mithrandi@311efa1b2b5c4999c2edae7da06fb825899e8a82
2015-10-14propellor spinJoey Hess
2015-10-14recent changes broke the baseurlJoey Hess