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
2013-07-27 20:31:20 +02:00
Description
Set up and configure the Apache HTTP server
https://github.com/saltstack-formulas/apache-formula
Readme 1.8 MiB
Languages
Jinja 62.1%
SaltStack 27.7%
Ruby 6.4%
Shell 2.1%
JavaScript 1.7%