Andrey Nikitin ea321de151 Order of the classes parameters is refactored
Order of those parameters is changed
to follow Puppet Style Guide recommendation [0].
Moreover, it will allow to an user to find much faster
a variable in a list of variables.

[0]. https://docs.puppetlabs.com/guides/style_guide.html

Change-Id: If49d32d7e0beef5dc5c19b085be48659d3882f5f
2016-03-20 01:51:50 +03:00

15 lines
326 B
Puppet

# == Class: askbot::site::http
# This class describes the http server configuration
class askbot::site::http (
$site_name,
$site_root,
$site_template = 'askbot/askbot.vhost.erb',
) {
::httpd::vhost { $site_name:
port => 80,
priority => 10,
docroot => $site_root,
template => $site_template,
}
}