Commit Graph

5 Commits

Author SHA1 Message Date
Daniel Mahlow
cfe26e4cb5 Sanitize is_installed/set_installed arguments. 2013-03-30 14:23:43 +01:00
Adam Daniels
b56566bf63 Fix reference to $SHOESTRAP_BASE variable.
Condition was always evaluating as false, and if SHOESTRAP_BASE
was undefined (as per default), recipes would not be found.
2013-02-27 13:58:03 -05: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
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