Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pgbouncer:
- pkg.installed:
- - version: 1.5.4-3.rhel6
- service:
- - running
- - enable: True
- - reload: True
- - watch:
- - file: /etc/pgbouncer/userlist.txt
- - file: /etc/pgbouncer/pgbouncer.ini
- pgbouncer.ini:
- file.managed:
- - name: /etc/pgbouncer/pgbouncer.ini
- - source: salt://qa04/pgbouncer/pgbouncer.ini
- - user: pgbouncer
- - group: pgbouncer
- - mode: 644
- userlist.txt:
- file.managed:
- - name: /etc/pgbouncer/userlist.txt
- - source: salt://qa04/pgbouncer/userlist.txt
- - user: pgbouncer
- - group: pgbouncer
- - mode: 600
- ----------
- file_|-pgbouncer.ini_|-/etc/pgbouncer/pgbouncer.ini_|-managed:
- ----------
- __run_num__:
- 1
- changes:
- ----------
- diff:
- ---
- +++
- @@ -1,4 +1,4 @@
- -;;; database name = connect string
- +;; database name = connect string
- ;;
- ;; connect string params:
- ;; dbname= host= port= user= password=
- comment:
- File /etc/pgbouncer/pgbouncer.ini updated
- name:
- /etc/pgbouncer/pgbouncer.ini
- result:
- True
- file_|-userlist.txt_|-/etc/pgbouncer/userlist.txt_|-managed:
- ----------
- __run_num__:
- 0
- changes:
- ----------
- diff:
- ---
- +++
- @@ -1,4 +1,4 @@
- -"1stats" ""
- +"stats" ""
- comment:
- File /etc/pgbouncer/userlist.txt updated
- name:
- /etc/pgbouncer/userlist.txt
- result:
- True
- pkg_|-pgbouncer_|-pgbouncer_|-installed:
- ----------
- __run_num__:
- 4
- changes:
- ----------
- comment:
- The following packages failed to install/update: pgbouncer=1.5.4-3.rhel6.
- name:
- pgbouncer
- result:
- False
- service_|-pgbouncer_|-pgbouncer_|-running:
- ----------
- __run_num__:
- 3
- changes:
- ----------
- pgbouncer:
- True
- comment:
- Service reloaded
- name:
- pgbouncer
- result:
- True
- warnings:
- - 'enable' is an invalid keyword argument for 'service.mod_watch'. If you were trying to pass additional da
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement