Fix gerrit_try_login state to return valid status
As gerrit_try_login state returns only success status
regardless of username or password provided, call of
'curl' command was changed.
Change-Id: I3ffa4bd470a7cb7c7a13fda3ad234d5282445e3f
diff --git a/gerrit/client/service.sls b/gerrit/client/service.sls
index bd1edee..f60265d 100644
--- a/gerrit/client/service.sls
+++ b/gerrit/client/service.sls
@@ -40,7 +40,7 @@
#}
gerrit_try_login:
cmd.run:
- - name: http_proxy='' curl -svr -X POST --data "username={{ client.server.user }}&password={{ client.server.password }}" {{ client.server.protocol|default('http') }}://{{ client.server.host }}:{{ client.server.http_port|default(80) }}/login
+ - name: http_proxy='' curl -fsvr -X POST --data "username={{ client.server.user }}&password={{ client.server.password }}" {{ client.server.protocol|default('http') }}://{{ client.server.host }}:{{ client.server.http_port|default(80) }}/login
{%- endif %}
/etc/github/github-projects.secure.config: