]> gitweb.fluxo.info Git - puppet-php.git/commitdiff
Adds php::dev and php5-sqlite
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 9 Oct 2015 18:09:14 +0000 (15:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 9 Oct 2015 18:09:14 +0000 (15:09 -0300)
manifests/dev.pp [new file with mode: 0644]
manifests/init.pp

diff --git a/manifests/dev.pp b/manifests/dev.pp
new file mode 100644 (file)
index 0000000..c2b25ad
--- /dev/null
@@ -0,0 +1,14 @@
+class php::dev {
+  package { [ 'php5-xdebug', 'phpunit' ]:
+    ensure  => present,
+  }
+
+  # Jessie onwards
+  package { 'phpunit-git':
+    ensure => $::lsbdistcodename ? {
+      'wheezy' => absent,
+      default  => present,
+    },
+  }
+}
+
index 83c99fc013230455aee5c5a605fa03015f3f392c..aba16c6a897d41cdb33868645b9be55ee2af774c 100644 (file)
@@ -18,7 +18,7 @@
 
 class php {
   # The needed packages: we could also try libapache2-mod-php5filter
-  package { [ 'php5', 'php5-mysql', 'php5-cli', 'php5-curl', 'php5-gmp', 'libapache2-mod-php5' ]:
+  package { [ 'php5', 'php5-mysql', 'php5-sqlite', 'php5-cli', 'php5-curl', 'php5-gmp', 'libapache2-mod-php5' ]:
     ensure => installed,
   }