Remove postgresql init script patching
authorJulien Cristau <julien.cristau@logilab.fr>
Wed, 15 Jul 2015 17:20:49 +0200
changeset 62 9890aa5c3f44
parent 61 d5c835c09451
child 63 c0d109dada36
Remove postgresql init script patching "if codename == wheezy" is the wrong test.
cubicweb/postgres/init.sls
--- a/cubicweb/postgres/init.sls	Fri Jul 31 11:15:51 2015 +0200
+++ b/cubicweb/postgres/init.sls	Wed Jul 15 17:20:49 2015 +0200
@@ -25,13 +25,6 @@
       - postgresql-{{ postgresql.version }}
       - postgresql-contrib-{{ postgresql.version }}
       - postgresql-plpython-{{ postgresql.version }}
-  {% if grains['oscodename'] == 'wheezy' %}
-  file.managed:
-    - name: /etc/init.d/postgresql
-    - source: salt://cubicweb/postgresql_patched_init
-    - require_in:
-      - service: postgresql
-  {% endif %}
   postgres_cluster.present:
     - name: 'main'
     - version: {{ postgresql.version }}