From 746bbb9db361795de62fea8ab919709462c589bd Mon Sep 17 00:00:00 2001 From: Seth House Date: Tue, 13 Aug 2013 14:29:58 -0600 Subject: [PATCH] Updated Debian-family formula to use main sls but keep custom ordering --- apache/debian_full.sls | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/apache/debian_full.sls b/apache/debian_full.sls index eb186cd..2e3dd6f 100644 --- a/apache/debian_full.sls +++ b/apache/debian_full.sls @@ -1,17 +1,15 @@ include: - apt + - apache - apache.register_site {% if grains['os']=="Ubuntu" %} - -apache: - pkg.installed: - - name: apache2 - - order: 175 - service.running: - - name: apache2 - - enable: True - - order: 455 +extend: + apache: + pkg: + - order: 175 + service: + - order: 455 a2dissite 000-default: cmd.run: