leap_cli should import provider config from single (json) file
For CI testing, it would be great if we could do the following:
$ cat /tmp/singlenode.json { "contacts": "admin@example.org", "domain": "example.org", "name": "LEAP_Example", "platform_dir": "/home/leap/leap_platform", "leapfile_options": { "log": "/var/log/leap/deploy.log" }, "users": [ { "name": "admin", "ssh-pub-keyfile": "/tmp/ssh.pub" } ], "nodes": [ { "name": "node1", "ip_address": "1.2.3.4", "services": [ "monitor", "webapp", "pixelated" ], "seeds": { "couch.master": true, "couch.pwhash_alg": "pbkdf2" } } ] } $ leap new --import /tmp/singlenode.json
With this, we can avoid hacky bash scripting to setup the provider.
(from redmine: created on 2016-01-27)