Installation
Contents
Deployment Planning
There are a few things to consider before installing DreamFactory Enterprise™ (DFE). The rest of this section will explain these considerations.
Servers
DFE is a distributed system. Each component can operate and scale independently of each other. Conversely, the entire system can be contained on a single server. Therefore, the best server layout fully depends on your usage and needs. If you're just testing out DFE and not ready to deploy a production system, installing everything on a single server is the way to go (as it's mostly automated).
The servers required are:
- Application: Responsible for hosting/running the DFE Console, Dashboard, and/or the Reporting system.
- Database: Responsible for the databases of hosted instances
- Web: Responsible for (web) hosting the deployed instances
DNS
DFE operates each instance via [virtual hosting](https://en.wikipedia.org/wiki/Virtual_hosting) on one or more web servers. As such, you must determine the fully qualified domain name of your DFE installation before installing. **The system cannot be used fully until the DNS is in place**. Generally, clients will create a new subdomain within their DNS domain. This is the recommended practice. Using a new domain will eliminate any issues with DNS cross-contamination if troubleshooting an issue.
There are three records that need to be created for the DFE installation. These are:
- console.sub.domain.com (A/CNAME)
- dashboard.sub.domain.com (A/CNAME)
- *.sub.domain.com (A/CNAME)
The first two are straightforward. These point to the DFE Console and Dashboard. These can be either `A` or `CNAME` records. The final record is the [wildcard](https://en.wikipedia.org/wiki/Wildcard_DNS_record) entry. This allows all instances deployed on a server to share a single, common document root. For more information on how to set up your DNS with a wildcard record, please consult your DNS provider's documentation. Each provider has a different method for creating these records.
Please note that you cannot add a wildcard DNS entry to your local `/etc/hosts` file. It does not work.
Installer Utility
To help with installation, a utility may be downloaded and run. This utility gathers the necessary information that then feeds into the main installation system, which is written using [Puppet](https://en.wikipedia.org/wiki/Puppet_(software)). [PHP](https://php.net) is required to run this utility. To use this utility you must first install the required packages, which differs depending on your operating system.
For Debian/Ubuntu:
ubuntu@server:~ $ sudo apt-get install php5 puppet git
For Redhat/CentOS:
ubuntu@server:~ $ sudo yum install php puppet git
Walk-Through
Here's how to install the utility at a high level:
1. Update the system packages 2. Clone the utility's GitHub repository 3. Update composer dependencies 4. Start the installation utility 5. Open your browser and enter the configuration settings
Example:
ubuntu@server:/opt/dreamfactory/dfe $ git clone https://github.com/dreamfactorysoftware/dfe-installer.git ubuntu@server:/opt/dreamfactory/dfe $ cd dfe-installer ubuntu@server:/opt/dreamfactory/dfe/dfe-installer $ php -S 0.0.0.0:8000 -t public/
Port `8000` is used in the above example. You may use any port you prefer. However, you must ensure that whichever port you choose (including 8000!) is open to your browser from wherever the server is hosted. This is a temporary usage, so there will be no need for permanent port changes.
This utility has all the installation options available. Once completed, the entries are written to a file called `.env-install` in the root of the repository. This file is then read by the `install.sh` script also in the root directory. This script does all the heavy lifting.
Once you've run the utility and created the installation environment file, you're read to run the actual installation script. To do this, from the root of the installation directory, run the following:
ubuntu@server:/opt/dreamfactory/dfe/installer $ sudo ./install.sh
It may take up to 10 minutes depending on your network connection and server capacity.
Detailed Walk-Through
This is a semi-detailed walk through of the installation process with all information returned. Unimportant or variable system package update messages are suppressed.
ubuntu@ip-10-10-3-183:~$ sudo apt-get update && sudo apt-get upgrade -y ... ubuntu@ip-10-10-3-183:/opt/dreamfactory/dfe$ sudo apt-get install git php5 puppet Reading package lists... Done Building dependency tree Reading state information... Done The following extra packages will be installed: apache2 apache2-bin apache2-data augeas-lenses debconf-utils facter git-man libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libaugeas0 liberror-perl libruby1.9.1 php5-cli php5-common php5-json php5-readline puppet-common ruby ruby-augeas ruby-hiera ruby-json ruby-rgen ruby-safe-yaml ruby-shadow ruby1.9.1 ssl-cert Suggested packages: apache2-doc apache2-suexec-pristine apache2-suexec-custom apache2-utils augeas-doc virt-what git-daemon-run git-daemon-sysvinit git-doc git-el git-email git-gui gitk gitweb git-arch git-bzr git-cvs git-mediawiki git-svn php-pear augeas-tools php5-user-cache puppet-el vim-puppet etckeeper ruby-selinux ruby-rrd librrd-ruby ri ruby-dev mcollective-common ruby1.9.1-examples ri1.9.1 graphviz ruby1.9.1-dev ruby-switch openssl-blacklist The following NEW packages will be installed: apache2 apache2-bin apache2-data augeas-lenses debconf-utils facter git git-man libapache2-mod-php5 libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libaugeas0 liberror-perl libruby1.9.1 php5 php5-cli php5-common php5-json php5-readline puppet puppet-common ruby ruby-augeas ruby-hiera ruby-json ruby-rgen ruby-safe-yaml ruby-shadow ruby1.9.1 ssl-cert 0 upgraded, 32 newly installed, 0 to remove and 4 not upgraded. Need to get 13.7 MB of archives. After this operation, 68.2 MB of additional disk space will be used. Do you want to continue? [Y/n] Y ... ubuntu@ip-10-10-3-183:/opt/dreamfactory/dfe$ git clone https://github.com/dreamfactorysoftware/dfe-installer.git Cloning into 'dfe-installer'... Username for 'https://github.com': gh-user Password for 'https://[email protected]': remote: Counting objects: 8495, done. remote: Compressing objects: 100% (5847/5847), done. remote: Total 8495 (delta 2349), reused 8292 (delta 2146), pack-reused 0 Receiving objects: 100% (8495/8495), 9.57 MiB | 0 bytes/s, done. Resolving deltas: 100% (2349/2349), done. Checking connectivity... done. ubuntu@ip-10-10-3-183:/opt/dreamfactory/dfe$ cd dfe-installer ubuntu@ip-10-10-3-183:/opt/dreamfactory/dfe$ git checkout develop # only for pre-release ubuntu@ip-10-10-3-183:/opt/dreamfactory/dfe/dfe-installer$ php -S 0.0.0.0:8000 -t public/ PHP 5.5.9-1ubuntu4.13 Development Server started at Tue Oct 5 15:32:40 2015 Listening on http://0.0.0.0:8000 Document root is /opt/dreamfactory/dfe/dfe-installer/public Press Ctrl-C to quit. [Tue Oct 6 16:32:44 2015] 76.97.26.128:49761 [200]: / [Tue Oct 6 16:32:44 2015] 76.97.26.128:49762 [200]: /static/bootstrap-3.3.5/css/bootstrap.min.css [Tue Oct 6 16:32:44 2015] 76.97.26.128:49764 [200]: /static/font-awesome-4.3.0/css/font-awesome.min.css [Tue Oct 6 16:32:44 2015] 76.97.26.128:49763 [200]: /css/style.css [Tue Oct 6 16:32:44 2015] 76.97.26.128:49765 [200]: /static/jquery-2.1.4/jquery.min.js [Tue Oct 6 16:32:44 2015] 76.97.26.128:49766 [200]: /static/bootstrap-3.3.5/js/bootstrap.min.js [Tue Oct 6 16:32:44 2015] 76.97.26.128:49767 [200]: /img/apple-touch-icon.png [Tue Oct 6 16:32:44 2015] 76.97.26.128:49769 [200]: /static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff2?v=4.3.0 [Tue Oct 6 16:35:11 2015] 76.97.26.128:50289 [302]: / [Tue Oct 6 16:35:11 2015] 76.97.26.128:50292 [200]: / [Tue Oct 6 16:35:12 2015] 76.97.26.128:50294 [200]: /static/bootstrap-3.3.5/css/bootstrap.min.css [Tue Oct 6 16:35:12 2015] 76.97.26.128:50293 [200]: /static/font-awesome-4.3.0/css/font-awesome.min.css [Tue Oct 6 16:35:12 2015] 76.97.26.128:50290 [200]: /css/style.css [Tue Oct 6 16:35:12 2015] 76.97.26.128:50291 [200]: /static/jquery-2.1.4/jquery.min.js [Tue Oct 6 16:35:12 2015] 76.97.26.128:50298 [200]: /static/bootstrap-3.3.5/js/bootstrap.min.js [Tue Oct 6 16:35:12 2015] 76.97.26.128:50299 [200]: /img/apple-touch-icon.png [Tue Oct 6 16:35:12 2015] 76.97.26.128:50300 [200]: /static/font-awesome-4.3.0/fonts/fontawesome-webfont.woff2?v=4.3.0 ^C ubuntu@ip-10-10-3-183:/opt/dreamfactory/dfe/dfe-installer$ sudo ./install.sh # DreamFactory Enterprise(tm) Linux Installer v1.1.0 install.sh: Checking system requirements... install.sh: Installing... install.sh: Applying ./resources/assets/manifests/00-user.pp... Notice: Compiled catalog for ip-10-10-3-183.ec2.internal in environment production in 0.16 seconds Notice: /Stage[main]/Main/User[dfadmin]/password: changed password Notice: /Stage[main]/Main/Exec[add_public_key_to_authorized_keys]/returns: executed successfully Notice: /Stage[main]/Main/File[/home/dfadmin/.composer]/mode: mode changed '0775' to '2775' Notice: /Stage[main]/Main/File[/home/dfadmin/.composer/auth.json]/ensure: defined content as '{md5}7ea1a1600b9d1f0e7ec1f08214536128' Notice: /Stage[main]/Main/File[/home/dfadmin/.composer/config.json]/ensure: defined content as '{md5}beb4bc4742e90428e1c3ae7f2195e787' Notice: /Stage[main]/Main/Exec[add_github_to_known_hosts]/returns: executed successfully Notice: Finished catalog run in 0.22 seconds install.sh: Applying ./resources/assets/manifests/10-filesystem.pp... Notice: Compiled catalog for ip-10-10-3-183.ec2.internal in environment production in 0.05 seconds Notice: Finished catalog run in 0.08 seconds install.sh: Applying ./resources/assets/manifests/20-percona.pp... Notice: Compiled catalog for ip-10-10-3-183.ec2.internal in environment production in 0.85 seconds Notice: /Stage[main]/Main/Exec[apt-update]/returns: executed successfully Notice: /Stage[main]/Apt::Update/Exec[apt_update]/returns: executed successfully Notice: Finished catalog run in 9.34 seconds install.sh: Applying ./resources/assets/manifests/30-packages.pp... Notice: Compiled catalog for ip-10-10-3-183.ec2.internal in environment production in 0.15 seconds Notice: /Stage[main]/Main/Package[php5-mssql]/ensure: ensure changed 'purged' to 'latest' Notice: /Stage[main]/Main/Exec[enable_mcrypt_settings]/returns: executed successfully Notice: Finished catalog run in 0.88 seconds install.sh: Applying ./resources/assets/manifests/40-dfe-console.pp... Notice: Compiled catalog for ip-10-10-3-183.ec2.internal in environment production in 0.15 seconds ^[[B^[[5~Notice: /Stage[main]/Main/Exec[console-config]/returns: executed successfully Notice: /Stage[main]/Main/File[/var/www/console/.env]/ensure: defined content as '{md5}fbdebc4078d60b8b24e9ce96d38beda0' Notice: /Stage[main]/Main/Ini_setting[APP_URL]/value: value changed 'http://localhost/' to 'http://console.gha.dreamfactory.com' Notice: /Stage[main]/Main/Ini_setting[MAILGUN_DOMAIN]/ensure: removed Notice: /Stage[main]/Main/Ini_setting[MAILGUN_SECRET_KEY]/ensure: removed Notice: /Stage[main]/Main/Ini_setting[DFE_CLUSTER_ID]/value: value changed 'my-cluster' to 'cluster-gha' Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_CLUSTER]/value: value changed 'default-cluster' to 'cluster-gha' Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_DATABASE]/value: value changed 'default-database' to 'db-gha' Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_DNS_ZONE]/value: value changed 'farm' to 'gha' Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_DOMAIN]/value: value changed '.farm.example.com' to '.gha.dreamfactory.com' Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_DNS_DOMAIN]/value: value changed 'example.com' to '.dreamfactory.com' Notice: /Stage[main]/Main/Ini_setting[SMTP_HOST]/value: value changed 'localhost' to '' Notice: /Stage[main]/Main/Ini_setting[SMTP_PORT]/value: value changed '25' to '' Notice: /Stage[main]/Main/Ini_setting[MAIL_FROM_ADDRESS]/value: value changed '[email protected]' to '' Notice: /Stage[main]/Main/Ini_setting[MAIL_FROM_NAME]/value: value changed 'MyName' to '' Notice: /Stage[main]/Main/Ini_setting[MAIL_USERNAME]/value: value changed 'MyUserName' to '' Notice: /Stage[main]/Main/Ini_setting[MAIL_PASSWORD]/value: value changed 'MyPassword' to '' Notice: /Stage[main]/Main/Ini_setting[DFE_HOSTED_BASE_PATH]/value: value changed '/data/storage' to '/data//storage' Notice: /Stage[main]/Main/Ini_setting[DFE_CONSOLE_API_URL]/value: value changed 'http://dfe-console.local/api/v1/ops' to 'http://console.gha.dreamfactory.com/api/v1/ops' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage]/owner: owner changed 'dfadmin' to 'www-data' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage]/group: group changed 'www-data' to 'dfadmin' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/bootstrap]/owner: owner changed 'dfadmin' to 'www-data' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/bootstrap]/group: group changed 'www-data' to 'dfadmin' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/bootstrap]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/bootstrap/cache]/owner: owner changed 'dfadmin' to 'www-data' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/bootstrap/cache]/group: group changed 'www-data' to 'dfadmin' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/bootstrap/cache]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/logs]/owner: owner changed 'dfadmin' to 'www-data' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/logs]/group: group changed 'www-data' to 'dfadmin' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/logs]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/framework]/owner: owner changed 'dfadmin' to 'www-data' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/framework]/group: group changed 'www-data' to 'dfadmin' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/framework]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/framework/sessions]/owner: owner changed 'dfadmin' to 'www-data' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/framework/sessions]/group: group changed 'www-data' to 'dfadmin' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/framework/sessions]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/framework/views]/owner: owner changed 'dfadmin' to 'www-data' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/framework/views]/group: group changed 'www-data' to 'dfadmin' Notice: /Stage[main]/Main/File[/var/www/_releases/console/develop/storage/framework/views]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/Exec[generate-app-key]/returns: executed successfully Notice: /Stage[main]/Main/Exec[console-setup]/returns: executed successfully Notice: /Stage[main]/Main/Exec[add_mount_local]/returns: executed successfully Notice: /Stage[main]/Main/Exec[add_web_server]/returns: executed successfully Notice: /Stage[main]/Main/Exec[add_app_server]/returns: executed successfully Notice: /Stage[main]/Main/Exec[add_db_server]/returns: executed successfully Notice: /Stage[main]/Main/Exec[add_cluster]/returns: executed successfully Notice: /Stage[main]/Main/Exec[add_web_to_cluster]/returns: executed successfully Notice: /Stage[main]/Main/Exec[add_app_to_cluster]/returns: executed successfully Notice: /Stage[main]/Main/Exec[add_db_to_cluster]/returns: executed successfully Notice: /Stage[main]/Main/Exec[add_console_keys]/returns: executed successfully Notice: /Stage[main]/Main/Exec[clear_and_regenerate_cache]/returns: executed successfully Notice: /Stage[main]/Main/File[/var/www/console/storage/logs/laravel.log]/ensure: created Notice: /Stage[main]/Main/File[/var/www/.dfe.cluster.json]/ensure: defined content as '{md5}50bb44caf9537a01e2996fd38bf6649e' Notice: Finished catalog run in 87.69 seconds install.sh: Applying ./resources/assets/manifests/50-dfe-dashboard.pp... Notice: Compiled catalog for ip-10-10-3-183.ec2.internal in environment production in 0.14 seconds Notice: /Stage[main]/Main/Exec[dashboard-config]/returns: executed successfully Notice: /Stage[main]/Main/File[/var/www/dashboard/.env]/ensure: defined content as '{md5}5791bdbc3ae055dea1854db970dfda27' Notice: /Stage[main]/Main/Exec[add_console_keys]/returns: executed successfully Notice: /Stage[main]/Main/Exec[generate-app-key]/returns: executed successfully Notice: /Stage[main]/Main/Ini_setting[APP_URL]/value: value changed 'http://localhost/' to 'http://console.gha.dreamfactory.com' Notice: /Stage[main]/Main/Ini_setting[DFE_PARTNER_ID]/ensure: created Notice: /Stage[main]/Main/Ini_setting[DFE_CLUSTER_ID]/ensure: created Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_CLUSTER]/value: value changed 'your-cluster' to 'cluster-gha' Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_DATABASE]/value: value changed 'your-database' to 'db-gha' Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_DNS_ZONE]/value: value changed 'pasture' to 'gha' Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_DOMAIN]/value: value changed '.pasture.farm.com' to '.gha.dreamfactory.com' Notice: /Stage[main]/Main/Ini_setting[DFE_DEFAULT_DNS_DOMAIN]/value: value changed 'farm.com' to '.dreamfactory.com' Notice: /Stage[main]/Main/Ini_setting[SMTP_HOST]/value: value changed 'localhost' to '' Notice: /Stage[main]/Main/Ini_setting[SMTP_PORT]/value: value changed '25' to '' Notice: /Stage[main]/Main/Ini_setting[MAIL_FROM_ADDRESS]/value: value changed '[email protected]' to '' Notice: /Stage[main]/Main/Ini_setting[MAIL_FROM_NAME]/value: value changed 'MyName' to '' Notice: /Stage[main]/Main/Ini_setting[MAIL_USERNAME]/value: value changed 'MyUserName' to '' Notice: /Stage[main]/Main/Ini_setting[MAIL_PASSWORD]/value: value changed 'MyPassword' to '' Notice: /Stage[main]/Main/Ini_setting[DFE_CONSOLE_API_URL]/ensure: created Notice: /Stage[main]/Main/File[/var/www/_releases/dashboard/develop/storage]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dashboard/develop/storage/framework]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dashboard/develop/storage/logs]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dashboard/develop/bootstrap/cache]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dashboard/develop/storage/framework/sessions]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dashboard/develop/storage/framework/views]/ensure: created Notice: /Stage[main]/Main/Exec[clear_and_regenerate_cache]/returns: executed successfully Notice: /Stage[main]/Main/File[/var/www/dashboard/storage/logs/laravel.log]/ensure: created Notice: /Stage[main]/Main/File[/var/www/dashboard/bootstrap]/owner: owner changed 'dfadmin' to 'www-data' Notice: /Stage[main]/Main/File[/var/www/dashboard/bootstrap]/group: group changed 'www-data' to 'dfe' Notice: /Stage[main]/Main/File[/var/www/dashboard/bootstrap]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/dashboard/bootstrap/cache]/owner: owner changed 'dfadmin' to 'www-data' Notice: /Stage[main]/Main/File[/var/www/dashboard/bootstrap/cache]/group: group changed 'www-data' to 'dfe' Notice: Finished catalog run in 36.58 seconds install.sh: Applying ./resources/assets/manifests/60-df2.pp... Notice: Compiled catalog for ip-10-10-3-183.ec2.internal in environment production in 0.11 seconds Notice: /Stage[main]/Main/File[/var/www/launchpad/.env]/content: content changed '{md5}583d127ed71e5e6544382f7c07ec8b9f' to '{md5}5791bdbc3ae055dea1854db970dfda27' Notice: /Stage[main]/Main/Ini_setting[SMTP_DRIVER]/ensure: created Notice: /Stage[main]/Main/Ini_setting[SMTP_HOST]/ensure: created Notice: /Stage[main]/Main/Ini_setting[SMTP_PORT]/ensure: created Notice: /Stage[main]/Main/Ini_setting[MAIL_USERNAME]/value: value changed 'MyUserName' to '' Notice: /Stage[main]/Main/Ini_setting[MAIL_PASSWORD]/value: value changed 'MyPassword' to '' Notice: /Stage[main]/Main/Exec[launchpad-config]/returns: executed successfully Notice: /Stage[main]/Main/File[/var/www/_releases/dreamfactory/develop/bootstrap/cache]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dreamfactory/develop/storage]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dreamfactory/develop/storage/logs]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dreamfactory/develop/storage/framework]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dreamfactory/develop/storage/framework/views]/mode: mode changed '2755' to '2775' Notice: /Stage[main]/Main/File[/var/www/_releases/dreamfactory/develop/storage/framework/db]/ensure: created Notice: /Stage[main]/Main/File[/var/www/_releases/dreamfactory/develop/storage/framework/sessions]/mode: mode changed '2755' to '2775' Notice: Finished catalog run in 44.85 seconds install.sh: Applying ./resources/assets/manifests/70-nginx_php-fpm.pp... Notice: Compiled catalog for ip-10-10-3-183.ec2.internal in environment production in 0.15 seconds Notice: /Stage[main]/Main/File[/etc/nginx/conf.d/ssl/dreamfactory.ssl.conf]/ensure: defined content as '{md5}8b8226bdca76bf600d73d2849a3d0f9c' Notice: /Stage[main]/Main/File[/etc/nginx/conf.d/dreamfactory.php-fpm.conf]/ensure: created Notice: /Stage[main]/Main/File[/etc/nginx/sites-available/instance.conf]/ensure: created Notice: /Stage[main]/Main/File_line[add_dsp_servername]/ensure: created Notice: /Stage[main]/Main/File[/etc/nginx/sites-enabled/00-instance.conf]/ensure: created Notice: /Stage[main]/Main/File[/etc/nginx/sites-available/console.conf]/ensure: created Notice: /Stage[main]/Main/File_line[add_console_servername]/ensure: created Notice: /Stage[main]/Main/File[/etc/nginx/sites-enabled/console.conf]/ensure: created Notice: /Stage[main]/Main/File[/etc/nginx/sites-available/dashboard.conf]/ensure: created Notice: /Stage[main]/Main/File_line[add_dashboard_servername]/ensure: created Notice: /Stage[main]/Main/File[/etc/nginx/sites-enabled/dashboard.conf]/ensure: created Notice: /Stage[main]/Main/File[/etc/nginx/sites-enabled/default]/ensure: removed Notice: /Stage[main]/Main/File[/etc/nginx/nginx.conf]/ensure: ensure changed 'file' to 'link' Notice: /Stage[main]/Main/Service[nginx]/ensure: ensure changed 'stopped' to 'running' Notice: /Stage[main]/Main/Host[localhost]/host_aliases: defined 'host_aliases' as 'console.local dashboard.local console.gha.dreamfactory.com dashboard.gha.dreamfactory.com' Notice: /Stage[main]/Main/File[/etc/php5/mods-available/dreamfactory.ini]/ensure: created Notice: /Stage[main]/Main/Exec[enable_dreamfactory_settings]/returns: executed successfully Notice: /Stage[main]/Main/File_line[/var/www/launchpad/server/config/php/etc/php5/mods-available/dreamfactory.ini]/ensure: created Notice: /Stage[main]/Main/Service[apache2]/ensure: ensure changed 'running' to 'stopped' Notice: /Stage[main]/Main/Service[php5-fpm]: Triggered 'refresh' from 2 events Notice: Finished catalog run in 0.86 seconds install.sh: Complete!