Allow puppet scripts to be more customizable #171

Merged
merged 2 commits into from Apr 4, 2012

3 participants

@tofumatt
Mozilla member

Includes easier bash setup/use, including persistant bash as
shell inside local.pp and better bashrc stuff.

@tallowen
Mozilla member

Why do we not want to run migrations from puppet?

@tofumatt
Mozilla member

@readevalprint didn't want them running there because he argued that not running them by hand hid things developers needed to do I think? And it was erroring out at the time because of bad migrations. (Paraphrasing, but I think that was it.) He asked me to remove them so I did.

I would rather them there but I just added running them into my own local.pp file instead.

@readevalprint readevalprint commented on an outdated diff Mar 28, 2012
puppet/files/home/vagrant/bashrc_vagrant
@@ -0,0 +1,13 @@
+# bash aliases
+alias dj="./manage.py"
+alias runserver="dj runserver 0.0.0.0:8000"
+alias rs="runserver"
+alias t="dj test -x --logging-clear-handlers --with-nicedots"
+alias td="FORCE_DB=True t"

nice

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@readevalprint

looks good, i'll test it

@tallowen
Mozilla member

Why don't we just make it so the default is to run the migrations automatically but you can overide that in your local.pp file? (i'm not sure if thats possible)

@tofumatt
Mozilla member

@tallowen That is slightly more work I think, though I am no puppet master. I can look into that if you want? I think @readevalprint wanted them off by default though, right?

@readevalprint

that's right, forgot to get back to this
r+

@tallowen
Mozilla member

Can you update the install docs to match the fact that you need to migrate before you do anything? r+wc

tofumatt added some commits Mar 20, 2012
@tofumatt tofumatt Allow puppet scripts to be more customizable
Includes easier bash setup/use, including persistant bash as
shell inside local.pp and better bashrc stuff.
b06d806
@tofumatt tofumatt Don't run migrations in puppet 3309ab6
@tofumatt tofumatt merged commit ad375f5 into mozilla:master Apr 4, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment