-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathnodes.pp
More file actions
50 lines (36 loc) · 2.01 KB
/
Copy pathnodes.pp
File metadata and controls
50 lines (36 loc) · 2.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# The following are the settinsg variables required for the operations. Assign appropriate values
#-------------------------------------------------------------------------------------------------
#The Github URL from where the application files to be taken
$application_drupal_gitclone_application="git@github.com:netspective/medigy-drupal.git"
#The destination folder in the server to where the application fiels to be cloned
$application_drupal_gitclone_application_destination="/var/www/html/edge.devl.medigy.com/medigy-drupal/"
#Clone URL from where the database and files fodler of drupal to be cloned
$application_drupal_gitclone_db="git@github.com:netspective/medigy-drupal-db.git"
#The destination of the database and files folder
$application_drupal_gitclone_db_destination="/medigy/medigy-drupal-db/"
#The location from where the mysqldump to be restored
$application_mysql_dump_location_for_dbrestore="/medigy/medigy-drupal-db/db/medigy.sql"
#the database name
$application_mysql_dbname="medigy"
#The memeory limit of the PHP
$application_php_memory_limit="384M"
#the default document root of apache2
$application_apache_default_documentroot="/var/www"
#the proposed document root of the apache2
$application_apache_current_documentroot="/var/www/html/edge.devl.medigy.com/medigy-drupal/public_site/"
#files folder drupal to which the sym link to be created
$application_drupal_symlink_files_folder_source="/medigy/medigy-drupal-db/files"
#the destination symlink folder
$application_drupal_symlink_files_folder_destination="/var/www/html/edge.devl.medigy.com/medigy-drupal/public_site/sites/default/files"
#necessary defaults
Exec {
path => ["/bin", "/sbin", "/usr/bin", "/usr/sbin"],
}
# If you want to run this manifest for a specified system, put the system name instead of default. Default means it will run all the systems.
# If you don't want to install any of this modules , Please do delete that line and execute this manifest.
node default {
include mysql
include apache
include php
include application
}