dev/manifests/site.pp
author Nicolas DURAND <nicolas.durand@iri.centrepompidou.fr>
Fri, 13 Feb 2015 17:22:21 +0100
changeset 42 dac9b1248e0f
parent 0 54f4e0f9d636
permissions -rw-r--r--
V0.1.4: Implemented github social functions into CatEdit: refactored template and views hierarchy, names, views submodule, created macro to generate category tables + small esthetic changes (buttons to display categories/tables switch state, possibility to hide tables) + views modules have been converted into Flask Blueprints

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