]> gitweb.fluxo.info Git - templater.git/commitdiff
Drupal 8: Puppetfile
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 1 Nov 2017 13:32:45 +0000 (11:32 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 1 Nov 2017 13:32:45 +0000 (11:32 -0200)
README.md
share/templater/drupal8/Puppetfile [new file with mode: 0644]
share/templater/drupal8/setup

index 098ad6389df44eb0620d3e674ac9f8ff26480f6e..4fc44c1817fe19cb4836493dc773dbddf00108c0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -28,7 +28,6 @@ Create the project (requires [KVMX](https://kvmx.fluxo.info)):
 
 Basic puppet configuration:
 
-    puppet/bin/submodules
     cp puppet/config/node/box.example.org.yaml puppet/config/node/drupal8.example.org.yaml
     vim puppet/config/node/drupal8.example.org.yaml # set nodo::role to 'dev::drupal8'
 
diff --git a/share/templater/drupal8/Puppetfile b/share/templater/drupal8/Puppetfile
new file mode 100644 (file)
index 0000000..23d7f71
--- /dev/null
@@ -0,0 +1,32 @@
+mod "apache",
+  :git => "https://git.fluxo.info/puppet-apache"
+mod "augeas",
+  :git => "https://git.fluxo.info/puppet-augeas"
+mod "backup",
+  :git => "https://git.fluxo.info/puppet-backup"
+mod "backupninja",
+  :git => "https://git.fluxo.info/puppet-backupninja"
+mod "concat",
+  :git => "https://git.fluxo.info/puppet-concat"
+mod "cron",
+  :git => "https://git.fluxo.info/puppet-cron"
+mod "domain_check",
+  :git => "https://git.fluxo.info/puppet-domain_check"
+mod "exim",
+  :git => "https://git.fluxo.info/puppet-exim"
+mod "lsb",
+  :git => "https://git.fluxo.info/puppet-lsb"
+mod "nodo",
+  :git => "https://git.fluxo.info/puppet-nodo"
+mod "rsyslog",
+  :git => "https://git.fluxo.info/puppet-rsyslog"
+mod "shellprompt",
+  :git => "https://git.fluxo.info/shellprompt"
+mod "sshd",
+  :git => "https://git.fluxo.info/puppet-sshd"
+mod "stdlib",
+  :git => "https://git.fluxo.info/puppet-stdlib"
+mod "user",
+  :git => "https://git.fluxo.info/puppet-user"
+mod "tunnel",
+  :git => "https://git.fluxo.info/puppet-tunnel"
index 29efcaa1d8a815182a89091771b2d1a059c764c9..59b930d83c2b63dd26cf11731386c4730ed4c31a 100755 (executable)
@@ -46,6 +46,12 @@ function templater_drupal8 {
       cp $SHARE/drupal8/files/drupal.make.yml .
     fi
 
+    if [ ! -e "Puppetfile" ]; then
+      cp $SHARE/drupal8/files/Puppetfile .
+    else
+      cp $SHARE/drupal8/files/Puppetfile Puppetfile.drupal8
+    fi
+
     mkdir -p files config themes modules libraries
     mkdir -p vendor
   else