| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2015-10-16 | improve ssh user key properties | Joey 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-16 | reword | Joey Hess | |
| 2015-10-16 | comment reorg | Joey Hess | |
| 2015-10-16 | improve types and add example | Joey Hess | |
| 2015-10-16 | rename | Joey Hess | |
| 2015-10-16 | Added 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) | |||
