aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2020-07-21 17:15:39 -0300
committerSilvio Rhatto <rhatto@riseup.net>2020-07-21 17:15:39 -0300
commit54adff4e3ba0e31a70f50da76af0f65857fafbf7 (patch)
tree5cfa24d50a6f78bf946406008d28f1ba062d4a8a /manifests/init.pp
parent38b5ec3e760701866b7baa498a1df0c43b36e684 (diff)
downloadpuppet-drupal-54adff4e3ba0e31a70f50da76af0f65857fafbf7.tar.gz
puppet-drupal-54adff4e3ba0e31a70f50da76af0f65857fafbf7.tar.bz2
Feat: drupal 9 support
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp8
1 files changed, 8 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index b81f231..96fc36d 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -66,6 +66,14 @@ class drupal {
backup => false,
}
+ # Ensure we have an 9.x instance
+ exec { 'drupal-download-9.x':
+ command => '/usr/local/bin/drupal download 9',
+ user => "root",
+ creates => '/var/www/data/drupal-9',
+ require => File['/usr/local/bin/drupal'],
+ }
+
# Ensure we have an 8.x instance
exec { 'drupal-download-8.x':
command => '/usr/local/bin/drupal download 8',