Permalink
Browse files

Don't run migrations in puppet

  • Loading branch information...
1 parent b06d806 commit 3309ab68a9418d44441ab884d7d3cbba232c28d8 @tofumatt committed Mar 20, 2012
Showing with 1 addition and 37 deletions.
  1. +1 −1 puppet/manifests/classes/oh_my_zsh.pp
  2. +0 −22 puppet/manifests/classes/playdoh.pp
  3. +0 −14 puppet/manifests/dev-vagrant.pp
@@ -9,7 +9,7 @@
}
exec { "change-shell":
- command => "sudo chsh vagrant /usr/bin/zsh",
+ command => "sudo chsh vagrant -s /usr/bin/zsh",
require => Exec['oh-my-zsh'];
}
}
@@ -15,26 +15,4 @@
require => Exec["create_mysql_database"]
}
- # TODO: make this support centos or ubuntu (#centos)
- exec { "sql_migrate":
- cwd => "$PROJ_DIR",
- command => "/usr/bin/python2.6 manage.py syncdb --noinput",
- require => [
- Service["mysql"],
- Package["python2.6-dev", "libapache2-mod-wsgi", "python-wsgi-intercept" ],
-
- #centos Service["mysqld"],
- #centos Package["python26-devel", "python26-mod_wsgi" ],
- Exec["grant_mysql_database"]
- ];
- }
-
- if $USE_SOUTH == 1 {
- exec { "south_migrate":
- cwd => "$PROJ_DIR",
- command => "/usr/bin/python2.6 manage.py migrate",
- require => [ Exec["sql_migrate"] ];
- }
- }
-
}
@@ -64,20 +64,6 @@
source => "$PROJ_DIR/puppet/files/home/vagrant/zshrc",
owner => "vagrant", group => "vagrant", mode => 0644;
}
-
- # TODO: make this support centos or ubuntu (#centos)
- exec { "sql_migrate":
- cwd => "$PROJ_DIR",
- command => "/usr/bin/python2.6 manage.py syncdb --noinput",
- }
-
- if $USE_SOUTH == 1 {
- exec { "south_migrate":
- cwd => "$PROJ_DIR",
- command => "/usr/bin/python2.6 manage.py migrate",
- require => Exec["sql_migrate"],
- }
- }
} else {
include dev
}

0 comments on commit 3309ab6

Please sign in to comment.