Commit Graph

10 Commits

Author SHA1 Message Date
Paul Belanger 544a7209d3 Fix deprecation warning
Change-Id: Id893c11cc66bf0e266e46f75e82870f40f61a9f0
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2019-08-08 12:03:00 -04:00
Artem Goncharov 9fd77b3856
install default logging config
By default gear dies not deliver default logging configuration. If it is
started in this configuration it floods /var/log/messages with debug
info. Log configuration activation should be done via systemd
override.conf file by setting proper ARGS

Update jobs to also collect /var/logs/gear in post-run task.

Change-Id: Ib69c976062afd38a91a3d882e9389c5cbef244c3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-05-16 17:12:48 -04:00
Paul Belanger f0aa4dbd84
Pass list of packages directly to package task
There is no need to loop over the list of packages, this is actually
slower.

Change-Id: I78ef74b2ad28c8ec2af86f19fd8a186bcb1ca9ad
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-14 16:38:40 -04:00
Paul Belanger de768e85b3
Default gear_pip_executable to pip3
Moving forward, we'll only support gear under python3.

Change-Id: Id1593b33ff88f9fb6cf92c6eb209a5acbb0ae164
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-13 23:38:38 -04:00
Paul Belanger 59e4d538f2
Don't install gear_build_depends for pip
When installing gear from pip (pypi.python.org) there is no need
to install the build dependenies as we download the wheel.

Change-Id: Idc5971a3a98ca5c5949a0d4ea8688b4dc0910eea
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-04-13 22:15:59 -04:00
Paul Belanger e75294e6b1
Add support to manage SSL cert
Since gear support SSL certs, add in some support to place them into
the SSL folder.  It is possible we might want to move this into an
ansible role, but for now it seems minimal to support it.

Change-Id: I3e4c83c962f550b8cb6aef11a2a9b42288b3f1da
Depends-On: https://review.openstack.org/557428
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-29 19:25:03 -04:00
Paul Belanger 66fc8c0b4c
Update gear_git_dest location
Stop using /opt folder to store the location of git checkout. We don't
actually need to be root user to do that.

Change-Id: I96c71c03ecd7ce644a4ddfc5ee4a19a42f83890f
Depends-On: https://review.openstack.org/553100
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-14 20:41:57 -04:00
Paul Belanger 04df10cad4
Merge OS-specific variables for ubuntu
Now that we are using systemd everywhere, for xenial++ there isn't a
need to release specific settings.

Change-Id: I9fb735e8f7455b7266d90b5275e7d0b90512722a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-03-06 15:26:09 -05:00
Paul Belanger 56cf700fd0
Add systemd support for geard
Include the ability for a user to run geard.

Change-Id: I6a075da4f1b094930948aad3ebfa912bcd598d42
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-22 22:46:56 -05:00
Paul Belanger 8fb8204493
Initial commit
Create an ansible role to manage gear / gearman.

Change-Id: Ia1c66f7dadcc19e8f4bf54694423cec38e95804d
Depends-On: I72494301b20c3e4a4675d7cde5725540d666e8b6
Depends-On: Ie4e01a51e75fcf869e5307ef4a24996231d91664
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2018-02-18 19:11:39 -05:00