-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsite.pp
More file actions
35 lines (31 loc) · 1.42 KB
/
site.pp
File metadata and controls
35 lines (31 loc) · 1.42 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
# These all are variables. We can edit this (Double coated value)for customisation
$gitclone_application="git@github.com:netspective/medigy-drupal.git"
$gitclone_application_destination="/var/www/html/edge.devl.medigy.com/medigy-drupal/"
$gitclone_db="git@github.com:netspective/medigy-drupal-db.git"
$gitclone_db_destination="/medigy/medigy-drupal-db/"
$mysql_dump_location_for_dbrestore="/medigy/medigy-drupal-db/db/medigy.sql"
$php_memory_limit="384M"
$apache_default_documentroot="/var/www"
$apache_current_documentroot="/var/www/html/edge.devl.medigy.com/medigy-drupal/public_site/"
$mysql_dbname="medigy"
$symlink_files_folder_source="/medigy/medigy-drupal-db/files"
$symlink_files_folder_destination="/var/www/html/edge.devl.medigy.com/medigy-drupal/public_site/sites/default/files"
#This will import all manifests under this 'classes' folder.
import "classes/*"
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 want to disable any of the following installation or configuration changes, Please do delete that line and execute this manifest.
node default {
include gitclone_db
include gitclone_application
include apache
include mysql
include php
include apache_conf_file
include db-create
include db-restore
include symlink
include change_php_memory_limit
}