]> gitweb.fluxo.info Git - leap/leap_cli.git/log
leap/leap_cli.git
12 years agoadded support for 'monitor' ssh keys.
elijah [Fri, 7 Feb 2014 07:37:05 +0000 (23:37 -0800)]
added support for 'monitor' ssh keys.

12 years agodownload vagrant box via https (closes #3334)
elijah [Tue, 17 Dec 2013 21:38:45 +0000 (13:38 -0800)]
download vagrant box via https (closes #3334)

12 years agoadded `--continue` to test run
elijah [Tue, 10 Dec 2013 19:09:03 +0000 (11:09 -0800)]
added `--continue` to test run

12 years agoadded `--sync` to deploy.
elijah [Tue, 10 Dec 2013 19:08:39 +0000 (11:08 -0800)]
added `--sync` to deploy.

12 years agobumb version to 1.2.5
elijah [Fri, 6 Dec 2013 00:34:06 +0000 (16:34 -0800)]
bumb version to 1.2.5

12 years agoadded no-deploy check and simple `leap test run`.
elijah [Fri, 6 Dec 2013 00:26:36 +0000 (16:26 -0800)]
added no-deploy check and simple `leap test run`.

12 years agouse https source for more secure gem retrieval
Azul [Mon, 4 Nov 2013 14:37:29 +0000 (15:37 +0100)]
use https source for more secure gem retrieval

12 years agoMerge branch 'master' of ssh://code.leap.se/leap_cli
varac [Wed, 30 Oct 2013 20:56:26 +0000 (21:56 +0100)]
Merge branch 'master' of ssh://code.leap.se/leap_cli

12 years agofix `compile zone` (contacts.default is now always an array)
elijah [Tue, 15 Oct 2013 18:22:25 +0000 (11:22 -0700)]
fix `compile zone` (contacts.default is now always an array)

12 years agofix def vagrant_version for vagrant >= v1.3
varac [Wed, 9 Oct 2013 13:57:12 +0000 (15:57 +0200)]
fix def vagrant_version for vagrant >= v1.3

vagrant reports it's version differently >= v1.3

before: Vagrant version 1.2.2
now:    Vagrant 1.3.4

12 years agopin capistrano to 2.x so it doesn't update to 3.0.0 (#4088)
varac [Wed, 9 Oct 2013 12:24:36 +0000 (14:24 +0200)]
pin capistrano to 2.x so it doesn't update to 3.0.0 (#4088)

12 years agouse https:// instead of git://
elijah [Sun, 22 Sep 2013 02:03:53 +0000 (19:03 -0700)]
use https:// instead of git://

12 years agofix for: locale-gen should be run after package "locales" is installed (Bug #3741)
elijah [Sun, 22 Sep 2013 01:50:47 +0000 (18:50 -0700)]
fix for: locale-gen should be run after package "locales" is installed (Bug #3741)

12 years agoremove ping from `leap node init`
elijah [Sun, 22 Sep 2013 01:40:36 +0000 (18:40 -0700)]
remove ping from `leap node init`

12 years agoadded support for config arrays that are required: e.g. ["REQUIRED"]. this will ensur...
elijah [Sat, 21 Sep 2013 23:51:34 +0000 (16:51 -0700)]
added support for config arrays that are required: e.g. ["REQUIRED"]. this will ensure that the type is an array, and ensure that some value is set.

12 years agoadd support to haproxy_servers macro for the possibility that at node might haproxy...
elijah [Fri, 20 Sep 2013 19:18:27 +0000 (12:18 -0700)]
add support to haproxy_servers macro for the possibility that at node might haproxy to itself

12 years agochange /etc/hosts to use ec2_public_ipv4 (instead of ec2_local_ipv4) if defined....
elijah [Fri, 6 Sep 2013 05:36:43 +0000 (22:36 -0700)]
change /etc/hosts to use ec2_public_ipv4 (instead of ec2_local_ipv4) if defined. REQUIRES latest platform (0.2.4).

12 years agoonly install compatible sahara vagrant plugin version
elijah [Fri, 16 Aug 2013 08:38:54 +0000 (01:38 -0700)]
only install compatible sahara vagrant plugin version

12 years ago1.2.1 - fix bug in haproxy (weight max is 256)
elijah [Tue, 30 Jul 2013 20:06:57 +0000 (13:06 -0700)]
1.2.1 - fix bug in haproxy (weight max is 256)

12 years agoallow ssh to disabled nodes
elijah [Tue, 30 Jul 2013 04:06:36 +0000 (21:06 -0700)]
allow ssh to disabled nodes

12 years agosecurity fix - don't allow leap_cli created files to be world/group readable.
elijah [Tue, 30 Jul 2013 03:38:58 +0000 (20:38 -0700)]
security fix - don't allow leap_cli created files to be world/group readable.

12 years agobetter seed for secret generation
elijah [Tue, 30 Jul 2013 01:33:14 +0000 (18:33 -0700)]
better seed for secret generation

12 years agoadded assert() macro.
elijah [Mon, 29 Jul 2013 20:39:15 +0000 (13:39 -0700)]
added assert() macro.

if failed, spits out this on compile:

 = FAILED assertion while evaluating node 'worm'
   - assertion: services.include? 'couchdb'
   - offending key: require_couchdb
 = bailing out

12 years agoMerge branch 'issue_2496'
varac [Fri, 26 Jul 2013 17:31:24 +0000 (19:31 +0200)]
Merge branch 'issue_2496'

12 years agoadd macro to support for haproxy with weights
elijah [Fri, 26 Jul 2013 09:30:52 +0000 (02:30 -0700)]
add macro to support for haproxy with weights

12 years agoMerge branch 'master' of ssh://code.leap.se/leap_cli
varac [Thu, 25 Jul 2013 18:32:42 +0000 (20:32 +0200)]
Merge branch 'master' of ssh://code.leap.se/leap_cli

12 years agoFix Vagrant 1.2.x warnings (Feature #3241)
varac [Tue, 23 Jul 2013 21:06:12 +0000 (23:06 +0200)]
Fix Vagrant 1.2.x warnings (Feature #3241)

12 years ago Vagrant: Give Virtualbox VMs a name (Feature #2496)
varac [Tue, 23 Jul 2013 20:49:23 +0000 (22:49 +0200)]
 Vagrant: Give Virtualbox VMs a name (Feature #2496)

12 years ago+ .reviewboardrc
varac [Thu, 25 Jul 2013 16:53:25 +0000 (18:53 +0200)]
+ .reviewboardrc

12 years agoallow provider to include country, state, and locality in the CSR.
elijah [Wed, 24 Jul 2013 20:03:02 +0000 (13:03 -0700)]
allow provider to include country, state, and locality in the CSR.

12 years agominor updates to internal test/leap_platform
elijah [Wed, 24 Jul 2013 20:02:30 +0000 (13:02 -0700)]
minor updates to internal test/leap_platform

12 years agofix bug in rsync of support files during deploy that prevented files from being updated.
elijah [Mon, 15 Jul 2013 14:13:25 +0000 (07:13 -0700)]
fix bug in rsync of support files during deploy that prevented files from being updated.

12 years agoMerge branch 'master' of ssh://code.leap.se/leap_cli
varac [Mon, 15 Jul 2013 09:37:40 +0000 (11:37 +0200)]
Merge branch 'master' of ssh://code.leap.se/leap_cli

12 years agofile permissions -- no longer force restrictive chmod on the rsync of /srv/leap/...
elijah [Thu, 11 Jul 2013 05:03:30 +0000 (22:03 -0700)]
file permissions -- no longer force restrictive chmod on the rsync of /srv/leap/[puppet|bin], because doing so messes up the permissions of /srv/leap.

12 years agosecurity fix - for a little while now, since the switch to rsync_command, permissions...
elijah [Wed, 10 Jul 2013 17:44:25 +0000 (10:44 -0700)]
security fix - for a little while now, since the switch to rsync_command, permissions on rsync'ed files allowed world read. bad bad. now permissions are limited to root.

12 years agofixed bug where unused certs were not being deleted.
elijah [Wed, 10 Jul 2013 17:24:10 +0000 (10:24 -0700)]
fixed bug where unused certs were not being deleted.

12 years agoadded vagrant version check, so it works with vagrant > 1.0.x
varac [Mon, 8 Jul 2013 16:09:28 +0000 (18:09 +0200)]
added vagrant version check, so it works with vagrant > 1.0.x

see http://docs.vagrantup.com/v2/vagrantfile/version.html for
details on vagrant command line option and config differences.

12 years agodon't bind hosts in known_hosts to particular ports, since it causes all kinds of...
elijah [Fri, 5 Jul 2013 07:05:09 +0000 (00:05 -0700)]
don't bind hosts in known_hosts to particular ports, since it causes all kinds of confusion. originally, i added this to prevent modification of ~/.ssh/known_hosts, but now we do this by just setting UserKnownHosts to /dev/null.

12 years agolock compatible platform version to 0.2.2
elijah [Thu, 4 Jul 2013 19:55:11 +0000 (12:55 -0700)]
lock compatible platform version to 0.2.2

12 years agoprevent compile from happening before adding at least one user ssh key.
elijah [Tue, 2 Jul 2013 20:53:59 +0000 (13:53 -0700)]
prevent compile from happening before adding at least one user ssh key.

12 years agofixed typo: s/remote_node_facts/remove_node_facts/
elijah [Tue, 2 Jul 2013 20:52:00 +0000 (13:52 -0700)]
fixed typo: s/remote_node_facts/remove_node_facts/

12 years agoimproved `leap compile zone`
elijah [Tue, 2 Jul 2013 07:04:33 +0000 (00:04 -0700)]
improved `leap compile zone`

12 years agoinclude a note in known_hosts to not edit known_hosts
elijah [Fri, 28 Jun 2013 05:38:38 +0000 (22:38 -0700)]
include a note in known_hosts to not edit known_hosts

12 years agopass verbosity level through to ssh
elijah [Fri, 28 Jun 2013 05:38:09 +0000 (22:38 -0700)]
pass verbosity level through to ssh

12 years agoupdated README
elijah [Fri, 28 Jun 2013 05:37:50 +0000 (22:37 -0700)]
updated README

12 years agoadded command `leap compile zone`
elijah [Thu, 27 Jun 2013 04:39:23 +0000 (21:39 -0700)]
added command `leap compile zone`

12 years agoprint a nice 'ok' when a host is alive.
elijah [Wed, 26 Jun 2013 19:26:46 +0000 (12:26 -0700)]
print a nice 'ok' when a host is alive.

12 years agobail with message if no ecdsa key found
elijah [Wed, 26 Jun 2013 19:26:19 +0000 (12:26 -0700)]
bail with message if no ecdsa key found

12 years agoadd note about what to do to enable mosh
elijah [Wed, 26 Jun 2013 03:47:38 +0000 (20:47 -0700)]
add note about what to do to enable mosh

12 years agochange it so the file loading info is only logged if log level is >= 3 (it is a littl...
elijah [Wed, 26 Jun 2013 03:47:18 +0000 (20:47 -0700)]
change it so the file loading info is only logged if log level is >= 3 (it is a little noisy)

12 years agolog the version and git info if log level >= 2
elijah [Wed, 26 Jun 2013 03:46:26 +0000 (20:46 -0700)]
log the version and git info if log level >= 2

12 years agocleaned up platform/cli version mismatch text.
elijah [Wed, 26 Jun 2013 00:52:21 +0000 (17:52 -0700)]
cleaned up platform/cli version mismatch text.

12 years agofix failing tests
elijah [Wed, 26 Jun 2013 00:43:01 +0000 (17:43 -0700)]
fix failing tests

12 years agolock version for allowed platform & add authorized_keys support
elijah [Wed, 26 Jun 2013 00:34:25 +0000 (17:34 -0700)]
lock version for allowed platform & add authorized_keys support

12 years agoimprove `leap inspect`
elijah [Sat, 22 Jun 2013 22:52:48 +0000 (15:52 -0700)]
improve `leap inspect`

12 years agofix ecdsa ssh key comparison
elijah [Fri, 21 Jun 2013 17:51:35 +0000 (10:51 -0700)]
fix ecdsa ssh key comparison

12 years agoFixed bug when facts.json is missing.
elijah [Thu, 20 Jun 2013 17:11:47 +0000 (10:11 -0700)]
Fixed bug when facts.json is missing.

12 years agofixed utf8 bug when locale not set, and improved testing for ruby 1.8.
elijah [Thu, 20 Jun 2013 00:51:24 +0000 (17:51 -0700)]
fixed utf8 bug when locale not set, and improved testing for ruby 1.8.

12 years agofix bug with vagrant ssh keys
elijah [Tue, 18 Jun 2013 17:32:47 +0000 (10:32 -0700)]
fix bug with vagrant ssh keys

12 years agofixed exception when logging certain errors - ironic!
elijah [Tue, 18 Jun 2013 02:18:42 +0000 (19:18 -0700)]
fixed exception when logging certain errors - ironic!

12 years agofixed tests
elijah [Tue, 18 Jun 2013 01:11:04 +0000 (18:11 -0700)]
fixed tests

12 years agodon't assume ssh keys will be RSA.
elijah [Tue, 11 Jun 2013 23:31:20 +0000 (16:31 -0700)]
don't assume ssh keys will be RSA.

12 years agominor: util::bail
elijah [Tue, 11 Jun 2013 23:31:08 +0000 (16:31 -0700)]
minor: util::bail

12 years agostore port in provider's known_hosts to prevent modification of ~/.ssh/known_hosts.
elijah [Tue, 11 Jun 2013 23:30:58 +0000 (16:30 -0700)]
store port in provider's known_hosts to prevent modification of ~/.ssh/known_hosts.

12 years agograb ecdsa ssh host keys, not rsa.
elijah [Tue, 11 Jun 2013 19:26:24 +0000 (12:26 -0700)]
grab ecdsa ssh host keys, not rsa.

12 years agofix longstanding problem with vagrant nodes: everyone has a different ssh pub key...
elijah [Tue, 11 Jun 2013 19:24:42 +0000 (12:24 -0700)]
fix longstanding problem with vagrant nodes: everyone has a different ssh pub key, but before leap_cli wanted you to commit these different keys into. Now, for vagrant nodes, we ignore the host key: we don't save it, we don't check it.

12 years agoadded --ip and --port override flags to deploy and init.
elijah [Tue, 11 Jun 2013 16:41:26 +0000 (09:41 -0700)]
added --ip and --port override flags to deploy and init.

12 years agominor - remove duplicate log
elijah [Wed, 5 Jun 2013 06:11:04 +0000 (23:11 -0700)]
minor - remove duplicate log

12 years agowhen generating /etc/hosts, use local ips if available via facts.json
elijah [Wed, 5 Jun 2013 06:06:54 +0000 (23:06 -0700)]
when generating /etc/hosts, use local ips if available via facts.json

12 years agoadd support for `leap facts`. includes some fun new helpers, like run_with_progress...
elijah [Wed, 5 Jun 2013 06:06:10 +0000 (23:06 -0700)]
add support for `leap facts`. includes some fun new helpers, like run_with_progress(), capture(), and replace_file!().

12 years agobump version to 1.0.0
elijah [Mon, 3 Jun 2013 06:41:39 +0000 (23:41 -0700)]
bump version to 1.0.0

12 years agomosh - ensure utf-8 (in order for mosh to work) and remove the mosh title prefix.
elijah [Mon, 3 Jun 2013 06:33:14 +0000 (23:33 -0700)]
mosh - ensure utf-8 (in order for mosh to work) and remove the mosh title prefix.

12 years agonow we require a leap_platform/platform.rb config file.
elijah [Mon, 3 Jun 2013 06:32:21 +0000 (23:32 -0700)]
now we require a leap_platform/platform.rb config file.

12 years agoremove hardcoded environments from test.rb
elijah [Thu, 30 May 2013 19:19:05 +0000 (12:19 -0700)]
remove hardcoded environments from test.rb

12 years agoimportant! the order that a node specifies its services and tags is now important...
elijah [Tue, 28 May 2013 00:04:53 +0000 (17:04 -0700)]
important! the order that a node specifies its services and tags is now important. the services/tags are applied IN THE ORDER specified.

12 years agodisabled nodes -- ensure the disabled nodes are also removed from the services and...
elijah [Mon, 27 May 2013 23:46:55 +0000 (16:46 -0700)]
disabled nodes -- ensure the disabled nodes are also removed from the services and tags node lists.

12 years agoprevent `leap compile` from destroying disabled node files.
elijah [Mon, 27 May 2013 22:07:32 +0000 (15:07 -0700)]
prevent `leap compile` from destroying disabled node files.

12 years agoadded support for disabling nodes
elijah [Mon, 27 May 2013 20:59:02 +0000 (13:59 -0700)]
added support for disabling nodes

12 years agoobject list -- added pick_fields() and exclude()
elijah [Thu, 23 May 2013 00:29:55 +0000 (17:29 -0700)]
object list -- added pick_fields() and exclude()

12 years agofixed bug with config list not supporting correctly not filters (eg nodes[:name ...
elijah [Wed, 22 May 2013 23:36:49 +0000 (16:36 -0700)]
fixed bug with config list not supporting correctly not filters (eg nodes[:name => '!sloth'])

12 years agominor fix to `leap node add`
elijah [Wed, 15 May 2013 21:46:03 +0000 (14:46 -0700)]
minor fix to `leap node add`

12 years agobetter parsing of `leap node add` (fixes #2531)
elijah [Wed, 15 May 2013 21:43:43 +0000 (14:43 -0700)]
better parsing of `leap node add` (fixes #2531)

12 years agocerts - include all possible domains in subaltname, including one in commonname.
elijah [Wed, 15 May 2013 19:41:53 +0000 (12:41 -0700)]
certs - include all possible domains in subaltname, including one in commonname.

12 years agoadded smtp-service.json support
elijah [Tue, 14 May 2013 19:23:46 +0000 (12:23 -0700)]
added smtp-service.json support

12 years agofixed bug when seeding values to `leap node add`
elijah [Mon, 13 May 2013 21:00:02 +0000 (14:00 -0700)]
fixed bug when seeding values to `leap node add`

12 years agoattempt to fix file loading problem when the OS has a weird default encoding.
elijah [Wed, 8 May 2013 07:15:18 +0000 (00:15 -0700)]
attempt to fix file loading problem when the OS has a weird default encoding.

12 years agoadded soledad-service.json and incremented version (due to backward incompatibility)
elijah [Sun, 5 May 2013 17:58:05 +0000 (10:58 -0700)]
added soledad-service.json and incremented version (due to backward incompatibility)

12 years agosupport for versioned service definitions
elijah [Thu, 25 Apr 2013 01:05:40 +0000 (18:05 -0700)]
support for versioned service definitions

12 years agoadded `leap mosh NODE`
elijah [Thu, 18 Apr 2013 07:16:58 +0000 (00:16 -0700)]
added `leap mosh NODE`

12 years agoadded support for hex_secrets
elijah [Tue, 2 Apr 2013 22:43:15 +0000 (15:43 -0700)]
added support for hex_secrets

12 years agobump version
elijah [Mon, 1 Apr 2013 07:07:21 +0000 (00:07 -0700)]
bump version

12 years agoremove supply_drop, add support for puppet_command.
elijah [Mon, 1 Apr 2013 07:04:54 +0000 (00:04 -0700)]
remove supply_drop, add support for puppet_command.

12 years agoswitch license to MIT, required until we stop vendoring certificate_authority.
elijah [Mon, 18 Mar 2013 07:57:30 +0000 (00:57 -0700)]
switch license to MIT, required until we stop vendoring certificate_authority.

12 years agouse RsyncCommand instead of supply drop.
elijah [Mon, 18 Mar 2013 07:57:04 +0000 (00:57 -0700)]
use RsyncCommand instead of supply drop.

12 years agoadded gem rsync_command
elijah [Mon, 18 Mar 2013 07:55:08 +0000 (00:55 -0700)]
added gem rsync_command

12 years agobetter error messages when json or node parsing goes wrong.
elijah [Sun, 31 Mar 2013 21:14:37 +0000 (14:14 -0700)]
better error messages when json or node parsing goes wrong.

12 years agoadd ability to search for nodes using nil values.
elijah [Sun, 31 Mar 2013 21:14:01 +0000 (14:14 -0700)]
add ability to search for nodes using nil values.

12 years agomake sure stunnel hostnames show up in /etc/hosts
elijah [Wed, 27 Mar 2013 08:11:38 +0000 (01:11 -0700)]
make sure stunnel hostnames show up in /etc/hosts

12 years agomove config macros to config/macros.rb
elijah [Wed, 27 Mar 2013 08:11:17 +0000 (01:11 -0700)]
move config macros to config/macros.rb

12 years agoadded config macros for stunnel_client, stunnel_server, stunnel_port
elijah [Wed, 27 Mar 2013 07:40:59 +0000 (00:40 -0700)]
added config macros for stunnel_client, stunnel_server, stunnel_port