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:
parent
179d0f5544
commit
aa45388477
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue