Skip to content
Snippets Groups Projects
  • Thomas Bellman's avatar
    c92afd3d
    New ensure value 'noinclude' for apache::include_file. · c92afd3d
    Thomas Bellman authored
    This adds support to the apache::include_file definition for putting
    a config file in place in the conf.d directory, but without adding an
    Include directive in httpd.conf (it will in fact remove any Include
    directive referencing the file from httpd.conf).  This is done by
    specifying "ensure => 'noinclude'" to apache::include_file.
    
    This is useful if you want to create a configuration fragment that is
    supposed to be Include:d from within e.g. a <VirtualHost> section.  An
    example is the NSC munin module which wants to do exactly that.
    c92afd3d
    History
    New ensure value 'noinclude' for apache::include_file.
    Thomas Bellman authored
    This adds support to the apache::include_file definition for putting
    a config file in place in the conf.d directory, but without adding an
    Include directive in httpd.conf (it will in fact remove any Include
    directive referencing the file from httpd.conf).  This is done by
    specifying "ensure => 'noinclude'" to apache::include_file.
    
    This is useful if you want to create a configuration fragment that is
    supposed to be Include:d from within e.g. a <VirtualHost> section.  An
    example is the NSC munin module which wants to do exactly that.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.