apache-formula/apache
Ryan Peck 993e836f60 Fix case where state != enabled caused error
When using the register_site state, if the `state` for the
site in the apache pillar did not equal "enabled" the error

```
Cannot extend ID 'a2ensite <name>' in 'base:apache.register_site'. It is not part of the high state.
```

If statements were there to build out the `a2ensite` or `a2dissite` ID
appropiately, but the next state for managing the config always
assumed that the `a2ensite` id would be there.

Addressed by making a Jinja variable that will be the appropiate ID,
probably could use a better name.
2015-03-10 16:52:24 -04:00
..
vhosts Add new templates 'proxy.tmpl' and 'redirect.tmpl'. Add comment pointing to new templates to pillar.example. 2015-02-15 00:06:44 +01:00
debian_full.sls Adding support for Apache 2.4 on Ubuntu 14.04 2014-10-01 10:35:53 +02:00
fcgid.sls Removed apt from items where it is not required, also modified fcgid to include apache as it requires the apache package. 2014-01-20 20:47:04 +00:00
init.sls fixed things seth mentioned in class 2014-09-25 11:48:36 -05:00
map.jinja Added basic opensuse support 2015-03-08 22:12:36 +01:00
mod_proxy_http.sls Removed apt from items where it is not required, also modified fcgid to include apache as it requires the apache package. 2014-01-20 20:47:04 +00:00
mod_proxy.sls Removed apt from items where it is not required, also modified fcgid to include apache as it requires the apache package. 2014-01-20 20:47:04 +00:00
mod_wsgi.sls fixed things seth mentioned in class 2014-09-25 11:48:36 -05:00
modules.sls Add ability to specify modules in pillar 2014-11-20 15:46:31 -08:00
php5.sls Fix mod-php5 dependency when setting php.ini 2014-12-29 10:25:08 +08:00
register_site.sls Fix case where state != enabled caused error 2015-03-10 16:52:24 -04:00
rewrite.sls Removed apt from items where it is not required, also modified fcgid to include apache as it requires the apache package. 2014-01-20 20:47:04 +00:00
vhost_alias.sls Removed apt from items where it is not required, also modified fcgid to include apache as it requires the apache package. 2014-01-20 20:47:04 +00:00