Boxen workflow - notes to self
by jgn on Thursday, February 21, 2013
Technology and Code
Making a change in one's own "my-boxen"
cdsrc/my-boxen# make changesscript/boxen# You will see: Boxen has a dirty tree, won't auto-update!# That's OK; you're trying out your changes
Did it work? Yes. Then ...
gitadd...# BTW, in https://github.com/boxen/our-boxen/tree/master/vendor/puppet/cache GitHub does add and commit the Puppet tarsgitcommit...gitpush...
Upgrading a Module
Fork the module you need (e.g., puppet-postgresql)
Make changes; and make sure to tag with a new version number (e.g., 1.0.1)
Now use the new repo and tag in your my-boxen
# Do what you have to do to remove the model manuallybrewuninstallpostgresqlrm-fR/opt/boxen/homebrew/var/postgresrm-fR/opt/boxen/data/postgresqlscript/boxen
Now open a new shell. This is because the environment variable for PGPORT is specifically not reset in /opt/boxen/env.d/postgresql.sh - no idea why. Otherwise you'd be able to just: source /opt/boxen/env.sh