Permalink
Browse files

puppet deploy scripts fix python conflict bug and use django_syncdb o…

…ption
  • Loading branch information...
1 parent c2fe623 commit 11c5b615deb0070959fae5c1c1d3f6df837b5e8c @oppianmatt oppianmatt committed Apr 3, 2012
Showing with 6 additions and 1 deletion.
  1. +6 −1 puppet/modules/oppian/manifests/init.pp
@@ -1,5 +1,9 @@
class oppian {
+ package { "system-release" :
+ ensure => 'latest',
+ }
+
package { "mysql": }
package { "mysql-devel":
require => Package["mysql"],
@@ -11,13 +15,14 @@
nginx_workers => 2,
monit_admin => "matt@oppian.com",
monit_interval => 30,
- require => Package["mysql-devel"],
+ require => [Package["mysql-devel"], Package['system-release']],
}
webapp::python::instance { "oppianproj":
domain => "oppian.com",
django => true,
requirements => true,
+ django_syncdb => true,
pythonpath => ["lib/django", "apps", "apps/oppianapp/utils", "lib/django-storages"],
}

0 comments on commit 11c5b61

Please sign in to comment.