Skip to content

Commit

Permalink
puppet deploy scripts fix python conflict bug and use django_syncdb o…
Browse files Browse the repository at this point in the history
…ption
  • Loading branch information
oppianmatt committed Apr 3, 2012
1 parent c2fe623 commit 11c5b61
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion puppet/modules/oppian/manifests/init.pp
@@ -1,5 +1,9 @@
class oppian { class oppian {


package { "system-release" :
ensure => 'latest',
}

package { "mysql": } package { "mysql": }
package { "mysql-devel": package { "mysql-devel":
require => Package["mysql"], require => Package["mysql"],
Expand All @@ -11,13 +15,14 @@
nginx_workers => 2, nginx_workers => 2,
monit_admin => "matt@oppian.com", monit_admin => "matt@oppian.com",
monit_interval => 30, monit_interval => 30,
require => Package["mysql-devel"], require => [Package["mysql-devel"], Package['system-release']],
} }


webapp::python::instance { "oppianproj": webapp::python::instance { "oppianproj":
domain => "oppian.com", domain => "oppian.com",
django => true, django => true,
requirements => true, requirements => true,
django_syncdb => true,
pythonpath => ["lib/django", "apps", "apps/oppianapp/utils", "lib/django-storages"], pythonpath => ["lib/django", "apps", "apps/oppianapp/utils", "lib/django-storages"],
} }


Expand Down

0 comments on commit 11c5b61

Please sign in to comment.