![Spencer Krum](/assets/img/avatar_default.png)
This renames the classes and defined types from apache to httpd. With the 'httpd' module available, we can migrate usage of 'apache' to 'httpd.' Eventually this will free the 'apache' namespace. A native ruby type and provider is contained in this class. It is not namespaced to the class name so it has been renamed from a2mod to httpd_mod. Change-Id: I056eb28a13e7ccc95f1496019bedc332c17dd458
14 lines
440 B
Ruby
14 lines
440 B
Ruby
Puppet::Type.type(:httpd_mod).provide :modfix do
|
|
desc "Dummy provider for httpd_mod.
|
|
|
|
Fake nil resources when there is no a2enmod binary available. Allows
|
|
puppetd to run on a bootstrapped machine before apache package has been
|
|
installed. Workaround for: http://projects.puppetlabs.com/issues/2384
|
|
and followed up by https://tickets.puppetlabs.com/browse/MODULES-1725
|
|
"
|
|
|
|
def self.instances
|
|
[]
|
|
end
|
|
end
|