Fixed schemas in haproxy / riak

This commit is contained in:
Jedrzej Nowak 2015-09-15 18:39:26 +02:00
parent c3278c7cf2
commit d8521c0a97
4 changed files with 10 additions and 10 deletions

View File

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

View File

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

View File

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

View File

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