Commit Graph

205 Commits

Author SHA1 Message Date
Carl Mercier
153bfb1bd7 Merge pull request #2 from adam12/fix/apt-commands
Fix commands for apt package manager.
2013-02-23 09:46:56 -08:00
Adam Daniels
5c11895dd7 Fix commands for apt package manager.
Force yes when performing apt-get install. Even though we provide
noninteractive, apt still prompts in some situations.

Grep dpkg-query when checking if package is installed. In some cases,
dpkg -l will exit 0 if the package exists, but is not in an installed
state.
2013-02-23 12:37:51 -05:00
Carl Mercier
3f93010eaa Merge pull request #1 from mrscotty/develop
Add SHOESTRAP_BASE environment variable
2012-11-19 07:33:48 -08:00
Scott T. Hardin
1befe67317 Add SHOESTRAP_BASE environment variable
This adds SHOESTRAP_BASE to helpers/default, which
allows the cookbook file to be stored separately from
the rest of the shoestrap stuff, making the shoestrap
directory less cluttered. For example:

Old way:

  (cd /shoestrap && ./test1.book)

New way (with cookbook moved to subdirectory 'books/'):

  (cd /shoestrap && SHOESTRAP_BASE=/shoestrap ./books/test1.book)
2012-11-19 13:40:53 +01:00
Carl Mercier
dfab18817e initial commit 2012-03-21 16:05:28 -04:00