PHRAS-1765 (#2398)

bump es to 2.3.3
This commit is contained in:
jygaulier
2018-01-10 15:09:30 +01:00
committed by GitHub
parent 215e47fb79
commit 6e89b93c7d
6 changed files with 18 additions and 8 deletions

9
Vagrantfile vendored
View File

@@ -46,7 +46,12 @@ end
# By default, the name of the VM is the project's directory name # By default, the name of the VM is the project's directory name
$hostname = File.basename($root).downcase $hostname = File.basename($root).downcase
$hostIps = `ip addr show | grep inet | grep -v inet6 | cut -d' ' -f6 | cut -d'/' -f1`.split("\n"); if which('ip')
# $hostIps = `ip addr show | grep inet | grep -v inet6 | cut -d' ' -f6 | cut -d'/' -f1`.split("\n");
$hostIps = `ip addr show | sed -nE 's/[[:space:]]*inet ([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3})(.*)$/\\1/p'`.split("\n");
else
$hostIps = `ifconfig | sed -nE 's/[[:space:]]*inet ([0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3})(.*)$/\\1/p'`.split("\n");
end
Vagrant.configure("2") do |config| Vagrant.configure("2") do |config|
@@ -103,5 +108,5 @@ Vagrant.configure("2") do |config|
# config.vm.provision :shell, run: "always", path: "resources/ansible/windows-always.sh", args: ["default"] # config.vm.provision :shell, run: "always", path: "resources/ansible/windows-always.sh", args: ["default"]
end end
config.vm.synced_folder "./", "/vagrant", type: "nfs" config.vm.synced_folder "./", "/vagrant", type: "nfs", mount_options: ['rw', 'vers=3', 'tcp', 'fsc']
end end

View File

@@ -1,2 +1,2 @@
--- ---
elasticsearch_url: https://download.elastic.co/elasticsearch/elasticsearch/elasticsearch-{{ elasticsearch.version }}.deb elasticsearch_url: https://download.elastic.co/elasticsearch/release/org/elasticsearch/distribution/deb/elasticsearch/{{ elasticsearch.version }}/elasticsearch-{{ elasticsearch.version }}.deb

View File

@@ -36,7 +36,7 @@
sudo: yes sudo: yes
- name: Install plugins - name: Install plugins
shell: /usr/share/elasticsearch/bin/plugin install {{ item.name }}/{{ item.version }} shell: /usr/share/elasticsearch/bin/plugin install {{ item.name }}
when: not is_installed when: not is_installed
with_items: "{{ elasticsearch.plugins }}" with_items: "{{ elasticsearch.plugins }}"

View File

@@ -2,6 +2,9 @@
apt: pkg="php5.6-dev" state=present apt: pkg="php5.6-dev" state=present
when: php.pecl_packages is defined when: php.pecl_packages is defined
- name: Update pecl chennel
shell: pecl channel-update pecl.php.net
- name: Install Package - name: Install Package
shell: echo "\n\n\n\n\n\n\n\n\n" | pecl install {{ item.package }} shell: echo "\n\n\n\n\n\n\n\n\n" | pecl install {{ item.package }}
register: pecl_result register: pecl_result

View File

@@ -20,6 +20,7 @@
apt: pkg={{ item }} state=latest allow_unauthenticated=yes apt: pkg={{ item }} state=latest allow_unauthenticated=yes
with_items: with_items:
- rabbitmq-server - rabbitmq-server
- librabbitmq1
- librabbitmq-dev - librabbitmq-dev
- name: Enable management plugin - name: Enable management plugin

View File

@@ -50,9 +50,9 @@ mariadb:
elasticsearch: elasticsearch:
install: '1' install: '1'
port: '9200' port: '9200'
version: '1.7.3' version: '2.3.3'
plugins: plugins:
- {name: 'elasticsearch/elasticsearch-analysis-icu', version: '2.7.0'} - {name: 'analysis-icu'}
php: php:
install: '1' install: '1'
ppa: php ppa: php
@@ -76,8 +76,9 @@ php:
- 'php5.6-bcmath' - 'php5.6-bcmath'
- 'php-pear' - 'php-pear'
pecl_packages: pecl_packages:
- {name: zmq, package: zmq-beta} - {name: zmq, package: php-zmq}
- {name: amqp, package: amqp-1.4.0} - {name: amqp, package: amqp-1.9.3}
xdebug: xdebug:
install: '1' install: '1'
idekey: 'PHPSTORM' idekey: 'PHPSTORM'