Skip to content

Commit

Permalink
Merge pull request #64 from grycap/devel
Browse files Browse the repository at this point in the history
Devel
  • Loading branch information
micafer authored Oct 22, 2018
2 parents 2246dee + 80001a2 commit 17a0f1a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ec3
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ except:
pass

# EC3 client version
VERSION = '2.0.0'
VERSION = '2.0.1'
# Our public IM service
IM_URL = 'https://appsgrycap.i3m.upv.es:31443/im/'
# RADL template path
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

setup(
name="ec3-cli",
version="2.0.0",
version="2.0.1",
author="Amanda Calatrava, Eloy Romero, Miguel Caballer",
author_email="",
description=("Tool to deploy virtual elastic clusters on the cloud."),
Expand Down
16 changes: 13 additions & 3 deletions templates/lemonade.radl
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,24 @@ configure lemonade (
lineinfile:
dest: /var/tmp/lemonade/config/juicer-config.yaml
regexp: 'libprocess_advertise_ip:'
line: "libprocess_advertise_ip: {{ hostvars[groups['front'][0]]['IM_NODE_PUBLIC_IP'] }}"
line: " libprocess_advertise_ip: {{ hostvars[groups['front'][0]]['IM_NODE_PUBLIC_IP'] }}"
state: present
- lineinfile:
dest: /var/tmp/lemonade/config/juicer-config.yaml
regexp: 'spark.driver.host:'
line: 'spark.driver.host: {{ hostvars[groups["front"][0]]["IM_NODE_FQDN"] }}'
line: ' spark.driver.host: {{ hostvars[groups["front"][0]]["IM_NODE_FQDN"] }}'
state: present

- lineinfile:
dest: /var/tmp/lemonade/config/juicer-config.yaml
line: ' spark.hadoop.dfs.client.use.datanode.hostname: false'

- name: disable DNS in Limonero
lineinfile:
dest: /var/tmp/lemonade/config/limonero-config.yaml
regexp: 'dfs.client.use.datanode.hostname:'
line: ' dfs.client.use.datanode.hostname: false'
state: present

- name: Init git submodule
command: git submodule init chdir=/var/tmp/lemonade

Expand Down

0 comments on commit 17a0f1a

Please sign in to comment.