]> gitweb.fluxo.info Git - leap/leap_cli.git/log
leap/leap_cli.git
11 years agomoved core_ext and lib_ext under leap_cli develop
elijah [Tue, 25 Nov 2014 06:45:27 +0000 (22:45 -0800)]
moved core_ext and lib_ext under leap_cli

11 years agoallow more flexible `leap env` command
elijah [Mon, 24 Nov 2014 22:12:02 +0000 (14:12 -0800)]
allow more flexible `leap env` command

11 years agominor: warn if env doesn't exist in `leap env pin`
elijah [Mon, 24 Nov 2014 20:54:45 +0000 (12:54 -0800)]
minor: warn if env doesn't exist in `leap env pin`

11 years agoissue a warning if the platform.rb in the platform is incompatible with leap_cli
elijah [Sat, 22 Nov 2014 18:00:02 +0000 (10:00 -0800)]
issue a warning if the platform.rb in the platform is incompatible with leap_cli

11 years agopin gem gli to a version we know will work.
elijah [Mon, 10 Nov 2014 22:40:47 +0000 (14:40 -0800)]
pin gem gli to a version we know will work.

11 years agomake sure to specify HostKeyAlgorithms for ssh and rsync. this is needed because...
elijah [Sun, 9 Nov 2014 23:18:18 +0000 (15:18 -0800)]
make sure to specify HostKeyAlgorithms for ssh and rsync. this is needed because otherwise you can't connect to a server that has ecdsa host key if all you have is an rsa key host key. closes bug #6337

11 years agonode init - skip updating local host keys for vagrant nodes
elijah [Fri, 7 Nov 2014 18:24:24 +0000 (10:24 -0800)]
node init - skip updating local host keys for vagrant nodes

11 years agoallow leap_cli tests to run again
elijah [Thu, 6 Nov 2014 22:16:13 +0000 (14:16 -0800)]
allow leap_cli tests to run again

11 years agoprompt user to update ssh host keys when a better one is available. closes #6320
elijah [Wed, 5 Nov 2014 23:44:24 +0000 (15:44 -0800)]
prompt user to update ssh host keys when a better one is available. closes #6320

11 years agologging - suppress warnings 'You cannot collect without storeconfigs being set' ...
elijah [Tue, 4 Nov 2014 23:41:41 +0000 (15:41 -0800)]
logging - suppress warnings 'You cannot collect without storeconfigs being set' (unless -v2)

11 years agonode init - privilege rsa keys over ecdsa-sha2-nistp256 keys, because screw nist...
elijah [Tue, 4 Nov 2014 23:40:27 +0000 (15:40 -0800)]
node init - privilege rsa keys over ecdsa-sha2-nistp256 keys, because screw nist p256.

11 years agobugfix - deploy failed when all nodes had default environment
elijah [Tue, 4 Nov 2014 23:38:54 +0000 (15:38 -0800)]
bugfix - deploy failed when all nodes had default environment

11 years agoonly print out net-ssh info if --debug is active
elijah [Mon, 3 Nov 2014 18:36:34 +0000 (10:36 -0800)]
only print out net-ssh info if --debug is active

11 years agoMerge branch 'master' of https://github.com/KwadroNaut/leap_cli into develop
elijah [Sat, 1 Nov 2014 00:00:04 +0000 (17:00 -0700)]
Merge branch 'master' of https://github.com/KwadroNaut/leap_cli into develop

11 years agoonly spit out stack trace if --debug
elijah [Fri, 31 Oct 2014 23:56:46 +0000 (16:56 -0700)]
only spit out stack trace if --debug

11 years agoupdate basebox url closes #5468
KwadroNaut [Fri, 31 Oct 2014 23:49:14 +0000 (00:49 +0100)]
update basebox url closes #5468

By using 'wheezy' instead of Debian in the url and box name, this is less confusing. At the same time, this makes it easier to support jessie boxes in the near future. The subdirectory virtualbox is to differentiate with the libvirt ones.

11 years ago1.6.1
elijah [Fri, 31 Oct 2014 07:01:02 +0000 (00:01 -0700)]
1.6.1

11 years agoallow json properties to be named 'key'
elijah [Fri, 31 Oct 2014 07:00:04 +0000 (00:00 -0700)]
allow json properties to be named 'key'

11 years agodon't change log level to 3 when in bail!{} block
elijah [Fri, 31 Oct 2014 06:59:35 +0000 (23:59 -0700)]
don't change log level to 3 when in bail!{} block

11 years agominor fixes to Path.find_file
elijah [Fri, 31 Oct 2014 06:59:02 +0000 (23:59 -0700)]
minor fixes to Path.find_file

11 years agominor fix to bail and log level
elijah [Thu, 30 Oct 2014 21:37:34 +0000 (14:37 -0700)]
minor fix to bail and log level

11 years agoless verbose net-ssh logging
elijah [Thu, 30 Oct 2014 21:03:28 +0000 (14:03 -0700)]
less verbose net-ssh logging

11 years agosilently fail if ssh_key cannot be loaded
elijah [Thu, 30 Oct 2014 00:54:36 +0000 (17:54 -0700)]
silently fail if ssh_key cannot be loaded

11 years agogive up on removing activesupport
elijah [Thu, 30 Oct 2014 00:54:16 +0000 (17:54 -0700)]
give up on removing activesupport

11 years agofixed bugs with add-user: skip keys we can't understand, don't die if gpg can't be...
elijah [Thu, 30 Oct 2014 00:53:57 +0000 (17:53 -0700)]
fixed bugs with add-user: skip keys we can't understand, don't die if gpg can't be loaded.

11 years agoallow for control over how arrays are merged in json inheritance
elijah [Wed, 29 Oct 2014 22:09:51 +0000 (15:09 -0700)]
allow for control over how arrays are merged in json inheritance

11 years agoremove minitest deprecation notices when running tests
elijah [Wed, 29 Oct 2014 22:09:21 +0000 (15:09 -0700)]
remove minitest deprecation notices when running tests

11 years agoleap cli completion for bash added.
guido [Wed, 29 Oct 2014 16:02:04 +0000 (13:02 -0300)]
leap cli completion for bash added.

11 years agoupdated RELEASES.md
elijah [Wed, 29 Oct 2014 06:52:05 +0000 (23:52 -0700)]
updated RELEASES.md

11 years agopin net-ssh version to 2.7.0. later versions break interactive password authenticatio...
elijah [Wed, 29 Oct 2014 06:43:23 +0000 (23:43 -0700)]
pin net-ssh version to 2.7.0. later versions break interactive password authentication in capistrano. boo.

11 years agomake certificate authority only load the parts of activemodel it needs, so that all...
elijah [Wed, 29 Oct 2014 06:42:29 +0000 (23:42 -0700)]
make certificate authority only load the parts of activemodel it needs, so that all of activesupport doesn't get loaded.

11 years agoproperly debug Net::SSH based on -v log level
elijah [Wed, 29 Oct 2014 06:37:59 +0000 (23:37 -0700)]
properly debug Net::SSH based on -v log level

11 years agosupport both rsa and ecdsa ssh host keys in `leap node init`. closes #2373
elijah [Tue, 28 Oct 2014 21:02:45 +0000 (14:02 -0700)]
support both rsa and ecdsa ssh host keys in `leap node init`. closes #2373

11 years agobetter solution to activesupport dependency problem
elijah [Tue, 28 Oct 2014 18:23:55 +0000 (11:23 -0700)]
better solution to activesupport dependency problem

11 years agoautoload some of the external dependencies that are rarely used, so that we don't...
elijah [Tue, 28 Oct 2014 18:21:21 +0000 (11:21 -0700)]
autoload some of the external dependencies that are rarely used, so that we don't need to load them every time.

11 years agocerts: fix csr generation (correct the key usage, remove msExtReq from attributes)
elijah [Mon, 27 Oct 2014 21:46:16 +0000 (14:46 -0700)]
certs: fix csr generation (correct the key usage, remove msExtReq from attributes)

11 years agobug fix: fixed bad default for --tags in `leap deploy`
elijah [Wed, 22 Oct 2014 08:29:39 +0000 (01:29 -0700)]
bug fix: fixed bad default for --tags in `leap deploy`

11 years agojson bugfix: upgrading CertificateAuthority gem broke everything, since it depends...
elijah [Wed, 22 Oct 2014 08:27:08 +0000 (01:27 -0700)]
json bugfix: upgrading CertificateAuthority gem broke everything, since it depends on ActiveSupport, which in turn badly modifies how JSON works. This commit does some hacky stuff to prevent ActiveSupport from messing with JSON and allows us to mess with JSON.

11 years agofixed `leap cert csr` to add correct "Requested Extensions" attribute on the CSR.
elijah [Wed, 22 Oct 2014 00:32:28 +0000 (17:32 -0700)]
fixed `leap cert csr` to add correct "Requested Extensions" attribute on the CSR.

11 years agoversion bump to 1.6, added platform.major_version
elijah [Tue, 21 Oct 2014 22:09:27 +0000 (15:09 -0700)]
version bump to 1.6, added platform.major_version

11 years agofixed incorrect message in `leap env pin`
elijah [Tue, 21 Oct 2014 21:51:41 +0000 (14:51 -0700)]
fixed incorrect message in `leap env pin`

11 years agoremoved constants.rb, now defined in platform.rb
elijah [Tue, 21 Oct 2014 21:50:44 +0000 (14:50 -0700)]
removed constants.rb, now defined in platform.rb

11 years agoadded support for custom-puppet
elijah [Tue, 21 Oct 2014 09:18:23 +0000 (02:18 -0700)]
added support for custom-puppet

11 years agoimplement optional provider custom puppet support (#6201, #6225)
Micah Anderson [Tue, 21 Oct 2014 01:38:18 +0000 (21:38 -0400)]
implement optional provider custom puppet support (#6201, #6225)

if files/custom-puppet/{manifests,modules} does not exist, it will be
created and files/custom-puppet/manifests/site.pp will be populated with
a comment and necessary tag to apply in the platform.

The site.pp must exist, if it does not, then the import in the
platform/manifest/site.pp will fail.

Any puppet resources put in custom-puppet/manifests/site.pp will be
executed, and any modules placed in custom-puppet/modules will be made
available through the --modulepath parameter to puppet.

This requires the associated platform changes (#6226)

11 years agoallow more options to `leap cert csr`
elijah [Mon, 20 Oct 2014 22:26:44 +0000 (15:26 -0700)]
allow more options to `leap cert csr`

11 years agofilter: fix bug when given incorrect filter
elijah [Wed, 15 Oct 2014 21:44:04 +0000 (14:44 -0700)]
filter: fix bug when given incorrect filter

11 years agomake platform constraints optional (ask the user if they really want to do it).
elijah [Thu, 9 Oct 2014 19:19:40 +0000 (12:19 -0700)]
make platform constraints optional (ask the user if they really want to do it).

11 years agofixed `rake doc` and updated leap.md
elijah [Mon, 6 Oct 2014 22:01:52 +0000 (15:01 -0700)]
fixed `rake doc` and updated leap.md

11 years agomore robust env pinning, fixes several edge case bugs.
elijah [Mon, 6 Oct 2014 06:19:24 +0000 (23:19 -0700)]
more robust env pinning, fixes several edge case bugs.

11 years agoensure arrays are always sorted when exported to yaml
elijah [Mon, 6 Oct 2014 05:56:20 +0000 (22:56 -0700)]
ensure arrays are always sorted when exported to yaml

11 years agoleap cert update will now warn if commercial certs will expire soon.
elijah [Thu, 2 Oct 2014 19:11:24 +0000 (12:11 -0700)]
leap cert update will now warn if commercial certs will expire soon.

11 years agobugfix: only recompile nodes in affected environments when deploying
elijah [Thu, 2 Oct 2014 16:19:58 +0000 (09:19 -0700)]
bugfix: only recompile nodes in affected environments when deploying

11 years agobugfix: don't overwrite facts if environment is pinned. closes #6169
elijah [Thu, 2 Oct 2014 16:07:25 +0000 (09:07 -0700)]
bugfix: don't overwrite facts if environment is pinned. closes #6169

11 years agofixed bug that prevented compile
elijah [Thu, 2 Oct 2014 14:49:36 +0000 (07:49 -0700)]
fixed bug that prevented compile

11 years agofixed typo in manager.rb
elijah [Wed, 1 Oct 2014 21:56:01 +0000 (14:56 -0700)]
fixed typo in manager.rb

11 years agoenvironment pinning: new commands `leap env`, `leap env pin X` and `leap env unpin...
elijah [Tue, 30 Sep 2014 20:36:26 +0000 (13:36 -0700)]
environment pinning: new commands `leap env`, `leap env pin X` and `leap env unpin`. See `leap help env` for more information.

11 years agobugfix: make `leap deploy` actually run.
elijah [Thu, 25 Sep 2014 16:54:46 +0000 (09:54 -0700)]
bugfix: make `leap deploy` actually run.

11 years agoadd support for per-environment platform pinning. Support pins are platform.version...
elijah [Thu, 25 Sep 2014 07:54:09 +0000 (00:54 -0700)]
add support for per-environment platform pinning. Support pins are platform.version, platform.branch, and platform.commit

11 years agofix inspection of provider.*.json
elijah [Thu, 25 Sep 2014 07:52:17 +0000 (00:52 -0700)]
fix inspection of provider.*.json

11 years agoleap compile - allow optional ENVIRONMENT argument
elijah [Tue, 23 Sep 2014 22:04:22 +0000 (15:04 -0700)]
leap compile - allow optional ENVIRONMENT argument

11 years agominor: make SKIP log entries appear yellow
elijah [Wed, 3 Sep 2014 04:56:50 +0000 (21:56 -0700)]
minor: make SKIP log entries appear yellow

11 years agoleap list improvements: lazy evaluation; don't bomb on ConfigError; remove requiremen...
elijah [Sat, 28 Jun 2014 00:19:51 +0000 (17:19 -0700)]
leap list improvements: lazy evaluation; don't bomb on ConfigError; remove requirements.rb

11 years agotest: updated test/leap_platform so tests will pass.
elijah [Thu, 26 Jun 2014 16:52:41 +0000 (09:52 -0700)]
test: updated test/leap_platform so tests will pass.

11 years agoallows custom passthrough options for `leap ssh`. closes #5578
elijah [Thu, 26 Jun 2014 16:51:52 +0000 (09:51 -0700)]
allows custom passthrough options for `leap ssh`. closes #5578

11 years agoallow file(x, :missing => '') macro to report the path of x in the missing text.
elijah [Wed, 25 Jun 2014 19:48:04 +0000 (12:48 -0700)]
allow file(x, :missing => '') macro to report the path of x in the missing text.

11 years agoensure that monitor key directories exist before trying to generate the monitor ssh...
elijah [Wed, 25 Jun 2014 19:47:05 +0000 (12:47 -0700)]
ensure that monitor key directories exist before trying to generate the monitor ssh keys

11 years agoallow file(x, :missing => '') macro to report the path of x in the missing text. hotfix/6374 master
elijah [Wed, 25 Jun 2014 19:48:04 +0000 (12:48 -0700)]
allow file(x, :missing => '') macro to report the path of x in the missing text.

11 years agoensure that monitor key directories exist before trying to generate the monitor ssh...
elijah [Wed, 25 Jun 2014 19:47:05 +0000 (12:47 -0700)]
ensure that monitor key directories exist before trying to generate the monitor ssh keys

11 years agomoved all json macros to the platform (breaks compatibility with earlier platforms)
elijah [Fri, 20 Jun 2014 22:36:16 +0000 (15:36 -0700)]
moved all json macros to the platform (breaks compatibility with earlier platforms)

11 years agochanged how stunnel is generated in hiera files. breaks compatibility with older...
elijah [Fri, 20 Jun 2014 08:25:51 +0000 (01:25 -0700)]
changed how stunnel is generated in hiera files. breaks compatibility with older platforms

11 years agoadded `leap deploy --dev` which will skip `git submodule update`
elijah [Fri, 20 Jun 2014 08:25:28 +0000 (01:25 -0700)]
added `leap deploy --dev` which will skip `git submodule update`

11 years agoadded support for 'control files', files like the .json configuration files but conta...
elijah [Thu, 19 Jun 2014 06:59:05 +0000 (23:59 -0700)]
added support for 'control files', files like the .json configuration files but contain arbitrary ruby code evaluated in the context of the node.

11 years agoensure that local stunnel ports are allocated by alphabetical order of the node,...
elijah [Tue, 17 Jun 2014 22:52:57 +0000 (15:52 -0700)]
ensure that local stunnel ports are allocated by alphabetical order of the node, to ensure ports don't jump around.

11 years agolimit `leap db destroy` to FILTER.
elijah [Tue, 10 Jun 2014 17:53:19 +0000 (10:53 -0700)]
limit `leap db destroy` to FILTER.

11 years agoensure hiera hosts entry is an empty hash if there are no hosts (closes #3752)
elijah [Thu, 5 Jun 2014 17:20:04 +0000 (10:20 -0700)]
ensure hiera hosts entry is an empty hash if there are no hosts (closes #3752)

11 years agoensure that x509 certificates use dns names that are strictly sorted and unique,...
elijah [Wed, 4 Jun 2014 21:56:03 +0000 (14:56 -0700)]
ensure that x509 certificates use dns names that are strictly sorted and unique, to prevent unncessary regeneration of certificates.

11 years agoby default, skip local nodes on `leap facts update`
elijah [Wed, 4 Jun 2014 21:54:19 +0000 (14:54 -0700)]
by default, skip local nodes on `leap facts update`

11 years agoensure facts.json is keyed by node name and not hostname
elijah [Wed, 4 Jun 2014 21:44:00 +0000 (14:44 -0700)]
ensure facts.json is keyed by node name and not hostname

11 years agoversion 1.5.6
elijah [Wed, 4 Jun 2014 17:16:07 +0000 (10:16 -0700)]
version 1.5.6

11 years agocap puppet verbosity level at 5 and capistrano logger at 3.
elijah [Tue, 27 May 2014 20:04:50 +0000 (13:04 -0700)]
cap puppet verbosity level at 5 and capistrano logger at 3.

11 years agoadded 'try {}' macro.
elijah [Thu, 22 May 2014 07:01:04 +0000 (00:01 -0700)]
added 'try {}' macro.

11 years agoMerge branch 'feature/obfsproxy_macros' of https://github.com/irregulator/leap_cli
elijah [Thu, 22 May 2014 01:07:11 +0000 (18:07 -0700)]
Merge branch 'feature/obfsproxy_macros' of https://github.com/irregulator/leap_cli

11 years agoChange macro name to rand_range, add base32 gem dependency
irregulator [Thu, 22 May 2014 00:48:32 +0000 (03:48 +0300)]
Change macro name to rand_range, add base32 gem dependency

11 years agofix, once and for all and forever, ssh problems with a weird kludge
elijah [Wed, 21 May 2014 23:44:31 +0000 (16:44 -0700)]
fix, once and for all and forever, ssh problems with a weird kludge

11 years agoadded support for environmentally scoped services and tags (e.g. services/webapp...
elijah [Wed, 21 May 2014 06:37:44 +0000 (23:37 -0700)]
added support for environmentally scoped services and tags (e.g. services/webapp.production.json). requires latest platform.

11 years agoAdd two macros, base32_secret and obfs_port, used in obfsproxy
irregulator [Tue, 20 May 2014 22:36:30 +0000 (01:36 +0300)]
Add two macros, base32_secret and obfs_port, used in obfsproxy

11 years agofixed tests by making `leap --no-color list` work with no color
elijah [Tue, 20 May 2014 22:28:26 +0000 (15:28 -0700)]
fixed tests by making `leap --no-color list` work with no color

11 years agossh: modified yet again how ssh is used. pin to a newer version of capistrano that...
elijah [Tue, 20 May 2014 21:19:43 +0000 (14:19 -0700)]
ssh: modified yet again how ssh is used. pin to a newer version of capistrano that i think handles ~/.ssh/config better, and explicitly specify that ~/.ssh/config should be loaded for Net::SSH connections.

11 years agoadded a scary `leap db destroy` command
elijah [Tue, 20 May 2014 21:18:20 +0000 (14:18 -0700)]
added a scary `leap db destroy` command

11 years agobail `node init` on bad `apt-get update` (closes #3849)
elijah [Tue, 13 May 2014 08:52:58 +0000 (01:52 -0700)]
bail `node init` on bad `apt-get update` (closes #3849)

11 years agocompile all hiera nodes every time you deploy to any node. slower, but fewer surprise...
elijah [Fri, 2 May 2014 19:09:14 +0000 (12:09 -0700)]
compile all hiera nodes every time you deploy to any node. slower, but fewer surprises. in the future, i have some ideas for a better way.

11 years agostop/restart ntpd if present to change server time (fix bug #5599)
guido [Fri, 2 May 2014 17:25:43 +0000 (13:25 -0400)]
stop/restart ntpd if present to change server time (fix bug #5599)

11 years agoInstall ntpd daemon if it's not present on debian.
guido [Wed, 30 Apr 2014 19:39:47 +0000 (15:39 -0400)]
Install ntpd daemon if it's not present on debian.

11 years agomore graceful handling of error for `leap node add` (closes https://leap.se/code...
elijah [Sat, 5 Apr 2014 20:58:37 +0000 (13:58 -0700)]
more graceful handling of error for `leap node add` (closes https://leap.se/code/issues/3725)

11 years agoyasf: yet another ssh fix. should make `leap deploy` work better with ~/.ssh/config...
elijah [Fri, 4 Apr 2014 21:18:45 +0000 (14:18 -0700)]
yasf: yet another ssh fix. should make `leap deploy` work better with ~/.ssh/config per-domain settings.

11 years agoupdate the server time on `leap node init` (hopefully closes https://leap.se/code...
elijah [Thu, 3 Apr 2014 18:59:09 +0000 (11:59 -0700)]
update the server time on `leap node init` (hopefully closes https://leap.se/code/issues/5329)

11 years agoremove ascii string debug line (closes https://leap.se/code/issues/5428)
elijah [Thu, 3 Apr 2014 17:06:40 +0000 (10:06 -0700)]
remove ascii string debug line (closes https://leap.se/code/issues/5428)

11 years agouse download.leap.se/platform url for vagrant boxes (closes #5434)
elijah [Wed, 2 Apr 2014 22:38:05 +0000 (15:38 -0700)]
use download.leap.se/platform url for vagrant boxes (closes #5434)

11 years agoversion bump
elijah [Tue, 1 Apr 2014 17:46:47 +0000 (10:46 -0700)]
version bump

11 years agomore fixes for leap list
elijah [Tue, 1 Apr 2014 17:40:54 +0000 (10:40 -0700)]
more fixes for leap list