dev/manifests/site.pp
author Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
Mon, 12 Jan 2015 12:00:30 +0100
changeset 38 d1bc73ce855a
parent 0 54f4e0f9d636
permissions -rw-r--r--
Finished WTForms support for properties + Refactored API so it doesn't handle form parsing anymore + added version.py and edited setup.py, version is now displayed in the footer of every page + reworked config to condense every persistence parameter and logging parameter

exec {
    'apt_update_site':
      command     => '/usr/bin/apt-get update',
      timeout     => 2400,
      returns     => [ 0, 100 ];
      #refreshonly => true;
    
}

Exec["apt_update_site"] -> Package <| |>

# upgrade system
class { 'sysconfig::sys_upgrade': }->

# params
class { 'sysconfig::params': }->

# install packages
class { 'sysconfig::packages': }->

# install postgres
class { 'sysconfig::postgresql': }->

# set up the virtualenv
class { 'sysconfig::virtualenv': }#->

# write config
#class { 'sysconfig::config': }->

# write django_init
#class { 'sysconfig::django_init': }


# run 'sudo /etc/init.d/vboxadd setup' in the vm to fix shared folders issues