search for: apache_enable_site

Displaying 1 result from an estimated 1 matches for "apache_enable_site".

2007 Feb 20
5
Recipe for Apache2 on Debian (Etch)
...hing on Simple Text Recipes. There is no ensure attribute. Since you already have done all the hard work, here a simple implementation: {{{ define apache_site($ensure = ''present'', $require => ''apache2'') { case $ensure { ''present'' : { apache_enable_site { "enable_$name": require => $require } } ''absent'' : { apache_disable_site { "disable_$name": } } default: { err( "Unknown ensure value ''$ensure''" ) } } } # Examples: apache_site { ["www.example.com", &qu...