Sha256: f2f88fc19b48346e945dd897d7c02af67eb95d07fbc81ef5e0d97cba4b2313c7
Contents?: true
Size: 990 Bytes
Versions: 11
Compression:
Stored size: 990 Bytes
Contents
# frozen_string_literal: true require 'avm/entries/jobs/base' require 'avm/eac_ubuntu_base0/apache' require 'avm/eac_webapp_base0/instances/apache_base' require 'eac_ruby_utils/core_ext' module Avm module EacWebappBase0 module Instances class ApachePath < ::Avm::EacWebappBase0::Instances::ApacheBase JOBS = %w[write_available_conf enable_conf reload_apache].freeze include ::Avm::Entries::Jobs::Base def content ::Avm::EacWebappBase0::Instances::ApachePath.template.child('default.conf') .apply(variables_source) end def extra_content '' end private def enable_conf infom 'Enabling configuration...' conf.enable end def conf_uncached apache.conf(instance.id) end def write_available_conf infom 'Writing available configuration...' conf.write(content) end end end end end
Version data entries
11 entries across 11 versions & 2 rubygems