File tree 15 files changed +21
-21
lines changed
15 files changed +21
-21
lines changed Original file line number Diff line number Diff line change 1
- include apache
2
- include apache::mod::php
3
- include apache::mod::cgi
4
- include apache::mod::userdir
5
- include apache::mod::disk_cache
6
- include apache::mod::proxy_http
1
+ include :: apache
2
+ include :: apache::mod::php
3
+ include :: apache::mod::cgi
4
+ include :: apache::mod::userdir
5
+ include :: apache::mod::disk_cache
6
+ include :: apache::mod::proxy_http
Original file line number Diff line number Diff line change 1
- include apache::mod::dev
1
+ include :: apache::mod::dev
Original file line number Diff line number Diff line change 1
- include apache
1
+ include :: apache
Original file line number Diff line number Diff line change 1
1
# Tests the path and identifier parameters for the apache::mod class
2
2
3
3
# Base class for clarity:
4
- class { 'apache' : }
4
+ class { ':: apache' : }
5
5
6
6
7
7
# Exaple parameter usage:
Original file line number Diff line number Diff line change 3
3
# Base class. Declares default vhost on port 80 and default ssl
4
4
# vhost on port 443 listening on all interfaces and serving
5
5
# $apache::docroot, and declaring our default set of modules.
6
- class { 'apache' :
6
+ class { ':: apache' :
7
7
default_mods => true ,
8
8
}
9
9
Original file line number Diff line number Diff line change 3
3
# Base class. Declares default vhost on port 80 and default ssl
4
4
# vhost on port 443 listening on all interfaces and serving
5
5
# $apache::docroot, and declaring a custom set of modules.
6
- class { 'apache' :
6
+ class { ':: apache' :
7
7
default_mods => [
8
8
' info' ,
9
9
' alias' ,
Original file line number Diff line number Diff line change 1
- class { 'apache' :
1
+ class { ':: apache' :
2
2
mpm_module => ' prefork' ,
3
3
}
4
- include apache::mod::php
4
+ include :: apache::mod::php
Original file line number Diff line number Diff line change 5
5
# Base class. Declares default vhost on port 80 and default ssl
6
6
# vhost on port 443 listening on all interfaces and serving
7
7
# $apache::docroot
8
- class { 'apache' : }
8
+ class { ':: apache' : }
9
9
10
10
# Most basic vhost
11
11
apache::vhost { 'first.example.com' :
Original file line number Diff line number Diff line change 1
1
# Base class. Declares default vhost on port 80 and default ssl
2
2
# vhost on port 443 listening on all interfaces and serving
3
3
# $apache::docroot
4
- class { 'apache' : }
4
+ class { ':: apache' : }
5
5
6
6
# Example from README adapted.
7
7
apache::vhost { 'readme.example.net' :
Original file line number Diff line number Diff line change 1
1
# Base class. Declares default vhost on port 80 with filters.
2
- class { 'apache' : }
2
+ class { ':: apache' : }
3
3
4
4
# Example from README adapted.
5
5
apache::vhost { 'readme.example.net' :
Original file line number Diff line number Diff line change 3
3
4
4
# Base class. Turn off the default vhosts; we will be declaring
5
5
# all vhosts below.
6
- class { 'apache' :
6
+ class { ':: apache' :
7
7
default_vhost => false ,
8
8
}
9
9
Original file line number Diff line number Diff line change 5
5
# Base class. Declares default vhost on port 80 and default ssl
6
6
# vhost on port 443 listening on all interfaces and serving
7
7
# $apache::docroot
8
- class { 'apache' : }
8
+ class { ':: apache' : }
9
9
10
10
# Most basic vhost with proxy_pass
11
11
apache::vhost { 'first.example.com' :
Original file line number Diff line number Diff line change 3
3
4
4
# Base class. Turn off the default vhosts; we will be declaring
5
5
# all vhosts below.
6
- class { 'apache' :
6
+ class { ':: apache' :
7
7
default_vhost => false ,
8
8
}
9
9
Original file line number Diff line number Diff line change 4
4
5
5
# Base class. Turn off the default vhosts; we will be declaring
6
6
# all vhosts below.
7
- class { 'apache' :
7
+ class { ':: apache' :
8
8
default_vhost => false ,
9
9
}
10
10
Original file line number Diff line number Diff line change 7
7
$file_type = ' application/x-httpd-php' ,
8
8
$pass_header = undef ,
9
9
) {
10
- include apache::mod::fastcgi
10
+ include :: apache::mod::fastcgi
11
11
12
12
Apache::Mod[' fastcgi' ] -> Apache::Fastcgi::Server[$title ]
13
13
You can’t perform that action at this time.
0 commit comments