Skip to content

Commit

Permalink
Merge pull request #556 from jeff1evesque/feature-451
Browse files Browse the repository at this point in the history
#451: replace 'configure_php.pp' with 'site.pp'
  • Loading branch information
jeff1evesque authored Dec 5, 2017
2 parents e017499 + 1ec95f9 commit 7fcdcb7
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 243 deletions.
19 changes: 10 additions & 9 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,15 +92,16 @@ Vagrant.configure(2) do |config|
puppet.manifest_file = 'configure_httpd.pp'
end

## Custom Manifest: install, and configure php (required before drush)
#
# Note: future parser allow array iteration in the puppet manifest
config.vm.provision "puppet" do |puppet|
puppet.environment_path = 'puppet/environment'
puppet.environment = 'development'
puppet.manifests_path = 'puppet/environment/development/manifests'
puppet.module_path = 'puppet/environment/development/modules_contrib'
puppet.manifest_file = "configure_php.pp"
## Custom Manifest: install needed packages
config.vm.provision 'puppet' do |puppet|
puppet.environment_path = 'puppet/environment'
puppet.environment = 'development'
puppet.manifests_path = 'puppet/environment/development/manifests'
puppet.module_path = [
'puppet/environment/development/modules_contrib',
'puppet/environment/development/modules',
]
puppet.manifest_file = 'site.pp'
end

## Custom Manifest: install drush
Expand Down
234 changes: 0 additions & 234 deletions puppet/environment/development/manifests/configure_php.pp

This file was deleted.

5 changes: 5 additions & 0 deletions puppet/environment/development/manifests/site.pp
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
###
### site.pp: load all necessary modules.
###

contain php

0 comments on commit 7fcdcb7

Please sign in to comment.