From 364912a73905340ea2d48598afbd990914b2e0d9 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 5 Mar 2016 22:16:31 -0300 Subject: Adds examples --- manifests/examples/symfony.pp | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 manifests/examples/symfony.pp (limited to 'manifests/examples/symfony.pp') 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, +} -- cgit v1.2.3