Commit Graph

12 Commits

Author SHA1 Message Date
Erik Arvstedt 9fc8cbf8e8 target: use default port from SSH config
This is the expected behavior.
The SSH config is also implicitly used for other SSH-related settings.
2021-11-20 14:28:54 +01:00
tv c2fa48550f isLocalTarget: use "localhost" as default
This fixes an issue when trying to deploy using sudo from systems that
don't provide means to determine the real host name.
2021-01-16 14:12:45 +01:00
tv 81c4885124 lib: add firstWord 2020-06-08 22:59:42 +02:00
Erik Arvstedt 8a8b2cf861 support default target attrs for attrSets 2020-04-18 23:38:43 +02:00
Erik Arvstedt 2cafddd78d add target.extraOptions 2020-04-18 23:05:18 +02:00
tv 70fa39607f ssh: support using ssh-configured user
Let ssh use the user configured in its configuration files when the
target user is set to the empty string.

Closes https://github.com/krebs/krops/issues/2
2019-11-29 13:21:04 +01:00
Milan Pässler cd21575333 ssh, rsync: support using sudo on remote
This allows deployment of remote hosts without having ssh access to the
root user. Passwordless sudo is recommended since krops will use
multiple ssh sessions and the password will not be remembered.

Closes https://github.com/krebs/krops/issues/3
2019-11-29 12:56:03 +01:00
tv 6f49342b2d populate file: add useChecksum 2018-11-28 12:45:21 +01:00
tv 170c46d53c populate git: add clean.exclude 2018-10-31 18:26:05 +01:00
tv 50868155fd lib: add shell.quote 2018-07-12 14:14:47 +02:00
tv e8505f71ff lib: add isLocalTarget 2018-07-12 14:14:27 +02:00
tv e89cf20d43 import stockholm's deployment tools
https://cgit.krebsco.de/stockholm 877b4104370c1ea9698a449e376e2842d7c372fd
2018-02-28 21:02:21 +01:00