Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F9125533
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
2 KB
Subscribers
None
View Options
diff --git a/manifests/dev.pp b/manifests/dev.pp
index e25b2c26..851b032c 100644
--- a/manifests/dev.pp
+++ b/manifests/dev.pp
@@ -1,21 +1,17 @@
# Class: apache::dev
#
# This class installs Apache development libraries
#
# Parameters:
#
# Actions:
# - Install Apache development libraries
#
# Requires:
#
# Sample Usage:
#
class apache::dev {
- include apache::params
-
- package { 'apache_dev_package':
- ensure => installed,
- name => $apache::params::apache_dev,
- }
+ warning('apache::dev is deprecated; please use apache::mod::dev')
+ include apache::mod::dev
}
diff --git a/manifests/php.pp b/manifests/php.pp
index 4ad0211a..feb903e7 100644
--- a/manifests/php.pp
+++ b/manifests/php.pp
@@ -1,22 +1,18 @@
# Class: apache::php
#
# This class installs PHP for Apache
#
# Parameters:
# - $php_package
#
# Actions:
# - Install Apache PHP package
#
# Requires:
#
# Sample Usage:
#
class apache::php {
- include apache::params
-
- package { 'apache_php_package':
- ensure => present,
- name => $apache::params::php_package,
- }
+ warning('apache::php is deprecated; please use apache::mod::php')
+ include apache::mod::php
}
diff --git a/manifests/proxy.pp b/manifests/proxy.pp
index 25252f86..0f4fde54 100644
--- a/manifests/proxy.pp
+++ b/manifests/proxy.pp
@@ -1,22 +1,15 @@
# Class: apache::proxy
#
# This class enabled the proxy module for Apache
#
# Actions:
# - Enables Apache Proxy module
#
# Requires:
#
# Sample Usage:
#
class apache::proxy {
- include apache::params
- include apache
-
- if $::osfamily == 'debian' {
- a2mod { $apache::params::proxy_modules:
- ensure => present,
- before => Service[httpd]
- }
- }
+ warning('apache::proxy is deprecated; please use apache::mod::proxy')
+ include apache::mod::proxy
}
diff --git a/manifests/python.pp b/manifests/python.pp
index de2907ea..99ef2898 100644
--- a/manifests/python.pp
+++ b/manifests/python.pp
@@ -1,25 +1,18 @@
# Class: apache::python
#
# This class installs Python for Apache
#
# Parameters:
# - $php_package
#
# Actions:
# - Install Apache Python package
#
# Requires:
#
# Sample Usage:
#
class apache::python {
- include apache::params
- include apache
-
- package { 'apache_python_package':
- ensure => present,
- name => $apache::params::mod_python_package,
- }
- a2mod { 'python': ensure => present, }
-
+ warning('apache::python is deprecated; please use apache::mod::python')
+ include apache::mod::python
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sat, Jun 21, 9:01 PM (4 w, 11 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3447421
Attached To
rSPAPA puppet-puppetlabs-apache
Event Timeline
Log In to Comment