Order of the classes parameters is refactored

Order and intendation of those parameters are 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: I9cda8c74a7b69c7fd96d103b913ed51e95aa2ea8
This commit is contained in:
Andrey Nikitin 2016-03-21 11:33:32 +03:00
parent 179d0f5544
commit aa45388477
2 changed files with 27 additions and 27 deletions

View File

@ -22,9 +22,9 @@
# - download_dir: download directory, local copy of release tarball lives here
define drupal::drush (
$drushdsdtar = 'https://github.com/mkissam/drush-dsd/archive/v0.10.tar.gz',
$basedrushdsdtar = 'drush-dsd-0.10.tar.gz',
$download_dir = '/srv/downloads',
$drushdsdtar = 'https://github.com/mkissam/drush-dsd/archive/v0.10.tar.gz',
) {
# pear / drush cli tool

View File

@ -61,33 +61,33 @@
#
class drupal (
$site_name = $::fqdn,
$site_vhost_root = '/srv/vhosts',
$site_root = undef,
$site_docroot = undef,
$site_mysql_host = 'localhost',
$site_mysql_user = 'drupal',
$site_mysql_password = undef,
$site_mysql_database = 'drupal',
$site_profile = 'standard',
$site_admin_password = undef,
$site_alias = undef,
$site_create_database = false,
$site_base_url = false,
$site_file_owner = 'root',
$site_ssl_enabled = false,
$site_ssl_cert_file_contents = undef,
$site_ssl_key_file_contents = undef,
$conf = undef,
$conf_ga_account = undef,
$conf_markdown_directory = undef,
$conf_openid_provider = undef,
$package_branch = undef,
$package_repository = undef,
$site_admin_password = undef,
$site_alias = undef,
$site_base_url = false,
$site_create_database = false,
$site_docroot = undef,
$site_file_owner = 'root',
$site_mysql_database = 'drupal',
$site_mysql_host = 'localhost',
$site_mysql_password = undef,
$site_mysql_user = 'drupal',
$site_name = $::fqdn,
$site_profile = 'standard',
$site_root = undef,
$site_ssl_enabled = false,
$site_ssl_cert_file = undef,
$site_ssl_cert_file_contents = undef,
$site_ssl_chain_file = undef,
$site_ssl_chain_file_contents = undef,
$site_ssl_cert_file = undef,
$site_ssl_key_file = undef,
$site_ssl_chain_file = undef,
$package_repository = undef,
$package_branch = undef,
$conf = undef,
$conf_markdown_directory = undef,
$conf_ga_account = undef,
$conf_openid_provider = undef,
$site_ssl_key_file = undef,
$site_ssl_key_file_contents = undef,
$site_vhost_root = '/srv/vhosts',
) {
include ::httpd
include ::pear