Skip to content
This repository was archived by the owner on May 7, 2025. It is now read-only.

Commit 92f2f29

Browse files
committed
Updating hiera config, fixing templatedir deprecated warning, bumping drupal_php dependency.
1 parent 3d29bc6 commit 92f2f29

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

Puppetfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ FORGE
2929
saz-memcached (2.7.1)
3030
puppetlabs-firewall (>= 0.1.0)
3131
puppetlabs-stdlib (>= 3.2.0)
32-
zivtech-drupal_php (1.1.0)
32+
zivtech-drupal_php (2.0.1)
3333
nodes-php (>= 0.9.0)
3434
puppetlabs-apache (>= 1.0.0)
3535
puppetlabs-stdlib (>= 1.0.0)

Vagrantfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,15 @@ Vagrant.configure('2') do |config|
3535

3636
config.ssh.forward_agent = true
3737

38+
config.vm.provision :shell, inline: "/bin/sed -i '/templatedir/d' /etc/puppet/puppet.conf"
39+
3840
# The puppetlabs vm comes with a puppet.conf that includes a deprecated
3941
# config directive, delete it to avoid confusing users.
4042
config.vm.provision :shell, :inline => "/bin/sed -i '/templatedir=\(.*\)/d' /etc/puppet/puppet.conf"
4143

4244
if Vagrant.has_plugin?("vagrant-librarian-puppet")
4345
config.librarian_puppet.placeholder_filename = 'README.md'
44-
elsif not File.exist?('modules/drupal_php/manifests/init.pp')
46+
elsif not File.exist?(File.join(__dir__, 'modules', 'drupal_php', 'manifests', 'init.pp'))
4547
raise Vagrant::Errors::VagrantError.new, "You are not using vagrant-librarian-puppet and have not installed the dependencies."
4648
end
4749

hiera/common.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
mysql::server::root_password: 'root'
22
drupal_php::server::apache::purge_configs: false
3+
drupal_php::server::apache::server_default_vhost: false
34
drush::git_ref: "master"
45
drupal_php::log_errors: true
56
drupal_php::memory_limit: 128M

0 commit comments

Comments
 (0)