]> gitweb.fluxo.info Git - leap/leap_cli.git/log
leap/leap_cli.git
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 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

11 years agobump version
elijah [Tue, 1 Apr 2014 17:35:03 +0000 (10:35 -0700)]
bump version

11 years agofix bug with `leap list` on some servers.
elijah [Tue, 1 Apr 2014 17:34:56 +0000 (10:34 -0700)]
fix bug with `leap list` on some servers.

11 years agomake secrets be utf8
elijah [Tue, 1 Apr 2014 17:34:30 +0000 (10:34 -0700)]
make secrets be utf8

11 years agobetter checking of valid node names
elijah [Mon, 24 Mar 2014 17:32:56 +0000 (10:32 -0700)]
better checking of valid node names

11 years agoprevent invalid vangrant node names
elijah [Mon, 24 Mar 2014 17:26:49 +0000 (10:26 -0700)]
prevent invalid vangrant node names

11 years agofixed problems when default encoding is not utf8
elijah [Mon, 24 Mar 2014 17:16:56 +0000 (10:16 -0700)]
fixed problems when default encoding is not utf8

11 years agoimproved robustness of `leap new`
elijah [Mon, 24 Mar 2014 15:32:44 +0000 (08:32 -0700)]
improved robustness of `leap new`

11 years agofix bug that prevented json keys with a period in them.
elijah [Sun, 23 Mar 2014 19:29:05 +0000 (12:29 -0700)]
fix bug that prevented json keys with a period in them.

11 years agoyep, another attempt to fix ssh. (now authorized_keys2 is set to insecure vagrant...
elijah [Wed, 19 Mar 2014 22:06:20 +0000 (15:06 -0700)]
yep, another attempt to fix ssh. (now authorized_keys2 is set to insecure vagrant key)

11 years agoonly run the tests that are specified, regardless of dependencies
elijah [Tue, 18 Mar 2014 07:20:58 +0000 (00:20 -0700)]
only run the tests that are specified, regardless of dependencies

11 years agoattempt number 7 to fix ssh problems.
elijah [Sun, 16 Mar 2014 23:19:43 +0000 (16:19 -0700)]
attempt number 7 to fix ssh problems.

11 years agoadded ability to define environment specific provider.json (e.g. provider.production...
elijah [Sat, 15 Mar 2014 00:45:32 +0000 (17:45 -0700)]
added ability to define environment specific provider.json (e.g. provider.production.json)

11 years agomake sure --no-color is respected by remote logging as well as local logging.
elijah [Thu, 13 Mar 2014 08:04:54 +0000 (01:04 -0700)]
make sure --no-color is respected by remote logging as well as local logging.

11 years agovarious ssh key fixes (REQUIRES rebuilding vagrant nodes).
elijah [Thu, 13 Mar 2014 07:57:44 +0000 (00:57 -0700)]
various ssh key fixes (REQUIRES rebuilding vagrant nodes).

11 years agoadded support for specifying what order nodes should be tested in.
elijah [Sun, 9 Mar 2014 07:05:10 +0000 (23:05 -0800)]
added support for specifying what order nodes should be tested in.

11 years agoinclude mx nodes in /etc/hosts of all nodes
elijah [Sun, 9 Mar 2014 00:09:39 +0000 (16:09 -0800)]
include mx nodes in /etc/hosts of all nodes

11 years agofixed bug when platform.rb doesn't define reserved_usernames
elijah [Sat, 8 Mar 2014 23:53:58 +0000 (15:53 -0800)]
fixed bug when platform.rb doesn't define reserved_usernames

11 years agoadded --no-color flag
elijah [Sat, 8 Mar 2014 20:52:36 +0000 (12:52 -0800)]
added --no-color flag

11 years agoadded IdentitiesOnly ssh option to both ssh command and ruby Net::SSH options --...
elijah [Fri, 7 Mar 2014 09:20:24 +0000 (01:20 -0800)]
added IdentitiesOnly ssh option to both ssh command and ruby Net::SSH options -- this should prevent ssh from trying all the keys in ~/.ssh. you might still get the error "Too many authentication failures" if you have a ton of keys activated in ~/.ssh/config

11 years agoInclude monitor node itself in hiera hosts hash (Feature #5133)
varac [Wed, 12 Feb 2014 17:06:55 +0000 (18:06 +0100)]
Include monitor node itself in hiera hosts hash (Feature #5133)

11 years agoattempt to fix issues people have running leap_cli on different computers.
elijah [Thu, 13 Feb 2014 18:45:15 +0000 (10:45 -0800)]
attempt to fix issues people have running leap_cli on different computers.

11 years agofix bug with compiling secrets.json
elijah [Thu, 13 Feb 2014 18:16:21 +0000 (10:16 -0800)]
fix bug with compiling secrets.json

11 years agofixed bug that prevented `leap list`
elijah [Mon, 10 Feb 2014 17:06:27 +0000 (09:06 -0800)]
fixed bug that prevented `leap list`

11 years agoautomatically upgrade secrets.json
elijah [Mon, 10 Feb 2014 08:22:34 +0000 (00:22 -0800)]
automatically upgrade secrets.json

11 years agodifferent secrets for each environment
elijah [Mon, 10 Feb 2014 08:08:46 +0000 (00:08 -0800)]
different secrets for each environment

11 years agoadd bundler/setup to Rakefile, so we don't get minitest version conflicts.
elijah [Mon, 10 Feb 2014 01:29:07 +0000 (17:29 -0800)]
add bundler/setup to Rakefile, so we don't get minitest version conflicts.

11 years agoadded ssh pub key information to the 'hosts' hash saved in hiera files. version bumpe...
elijah [Mon, 10 Feb 2014 01:13:12 +0000 (17:13 -0800)]
added ssh pub key information to the 'hosts' hash saved in hiera files. version bumped to 1.4.0.

11 years agoadded support for custom /etc/hosts files, fixed bug in ObjectList filters (when...
elijah [Fri, 7 Feb 2014 08:00:12 +0000 (00:00 -0800)]
added support for custom /etc/hosts files, fixed bug in ObjectList filters (when using negative value on an array attribute).

11 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/