aboutsummaryrefslogtreecommitdiff
path: root/manifests/examples/symfony.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-03-05 22:16:31 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-03-05 22:16:31 -0300
commit364912a73905340ea2d48598afbd990914b2e0d9 (patch)
treeff56c78dafdac7b8ed1303f7b574b4d560382292 /manifests/examples/symfony.pp
parent85d41ce300772173c312b3dcc9afb4de862a3955 (diff)
downloadpuppet-bootstrap-364912a73905340ea2d48598afbd990914b2e0d9.tar.gz
puppet-bootstrap-364912a73905340ea2d48598afbd990914b2e0d9.tar.bz2
Adds examples
Diffstat (limited to 'manifests/examples/symfony.pp')
-rw-r--r--manifests/examples/symfony.pp28
1 files changed, 28 insertions, 0 deletions
diff --git a/manifests/examples/symfony.pp b/manifests/examples/symfony.pp
new file mode 100644
index 0000000..2829b98
--- /dev/null
+++ b/manifests/examples/symfony.pp
@@ -0,0 +1,28 @@
+# Main class
+# TODO: http://symfony.com/doc/current/book/installation.html
+#
+# After provisioning, you'll probably just want to access http://localhost:PORT/config.php
+# After configuration, start navigating at http://localhost:PORT/app_dev.php/
+class symfony {
+ include php
+ include database
+ include nodo::utils::web
+ include websites
+
+ # Symfony requirement
+ file { '/etc/php5/conf.d/timezone.ini':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 0644,
+ content => "date.timezone = America/Sao_Paulo\n",
+ notify => Service['apache'],
+ }
+}
+
+#
+# Class instantiations
+#
+class { 'symfony':
+ stage => main,
+}