maestrodev/puppet-android — pull request #24 by msm- (2014-07-02 22:01:44+00:00)
Title: Return an error on failed packages

This patch covers the case when the android update command fails to find a package (due to either the user entering an invalid package name in a manifest, or the android tool itself not being up to date so it can't find a new package).

Expect will catch the error text, exit with a non-zero error code, which the puppet exec command will register as an error.