aboutsummaryrefslogtreecommitdiff
path: root/manifests/examples/symfony.pp
blob: 2829b98b6cca479e45f3d9125d350e61211da6db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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,
}