Move again the installing of koji pkg on db server

This commit is contained in:
Kevin Fenzi 2013-09-13 17:25:48 +00:00
parent e368591739
commit 63fa608bce
2 changed files with 7 additions and 4 deletions

View file

@ -12,6 +12,12 @@
tags:
- packages
- name: install koji package on koji db servers for schema
yum: name=koji state=installed
tags:
- packages
only_if: '$is_kojidb'
- name: initialize postgresql
command: service postgresql initdb
creates=/var/lib/pgsql/data/postgresql.conf
@ -25,6 +31,7 @@
- restart postgresql
tags:
- config
only_if: '$is_kojidb'
- name: Set postgresql-server to run on boot
service: name=postgresql enabled=yes