Merge pull request #152 from pigmej/riak_schema_fixes

fixed schemas in haproxy / riak
This commit is contained in:
Dmitry Shulyak 2015-09-16 11:38:21 +03:00
commit bbf456075a
4 changed files with 10 additions and 10 deletions

View File

@ -9,19 +9,19 @@ input:
schema: {src: str!, dst: str!} schema: {src: str!, dst: str!}
value: {src: /etc/solar/haproxy, dst: /etc/haproxy} value: {src: /etc/solar/haproxy, dst: /etc/haproxy}
listen_ports: listen_ports:
schema: [{value: int}] schema: [int]
value: [] value: []
configs: configs:
schema: [{value: [{value: str}]}] schema: [[str]]
value: [] value: []
configs_names: configs_names:
schema: [{value: str}] schema: [str]
value: [] value: []
configs_ports: configs_ports:
schema: [{value: [{value: int}]}] schema: [[int]]
value: [] value: []
configs_protocols: configs_protocols:
schema: [{value: str}] schema: [str]
value: [] value: []
ssh_user: ssh_user:
schema: str! schema: str!

View File

@ -6,7 +6,7 @@ input:
schema: str! schema: str!
value: value:
ports: ports:
schema: [{value: [{value: int}]}] schema: [[int]]
value: [] value: []
ssh_user: ssh_user:
schema: str! schema: str!

View File

@ -12,10 +12,10 @@ input:
schema: str! schema: str!
value: http value: http
ports: ports:
schema: [{value: int}] schema: [int]
value: [] value: []
servers: servers:
schema: [{value: str}] schema: [str]
value: [] value: []
tags: [resources/haproxy, resource/haproxy_general_config] tags: [resources/haproxy, resource/haproxy_general_config]

View File

@ -2,8 +2,8 @@
sudo: yes sudo: yes
tasks: tasks:
# those below are mostly for tests # those below are mostly for tests
- shell: killall -u riak # - shell: killall -u riak
ignore_errors: yes # ignore_errors: yes
# remove above when non tests # remove above when non tests
# we install ubuntu repo there, # we install ubuntu repo there,