class Inspec::Resources::Apache
def initialize
def initialize if inspec.os.debian? @service = 'apache2' @conf_dir = '/etc/apache2/' @conf_path = File.join @conf_dir, 'apache2.conf' @user = 'www-data' else @service = 'httpd' @conf_dir = '/etc/httpd/' @conf_path = File.join @conf_dir, '/conf/httpd.conf' @user = 'apache' end end
def to_s
def to_s 'Apache Environment' end