-
Notifications
You must be signed in to change notification settings - Fork 315
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Nathan L Smith
committed
Mar 10, 2016
1 parent
ce1251d
commit 3b29ad2
Showing
3 changed files
with
21 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/bin/sh | ||
|
||
set -x | ||
|
||
# default return code is 0 | ||
rc=0 | ||
|
||
curl --head --fail --max-time 1 http://localhost | ||
|
||
case $? in | ||
# Zero exit status means curl got back a 200 end everything is ok. | ||
0) | ||
rc=0 ;; | ||
# Anything else is critical | ||
*) | ||
rc=2 ;; | ||
esac | ||
|
||
exit $rc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ pkg_maintainer="The Bldr Maintainers <[email protected]>" | |
pkg_license=('Apache2') | ||
pkg_filename=${pkg_name}-${pkg_version}.tar.bz2 | ||
pkg_gpg_key=3853DA6B | ||
pkg_deps=(chef/glibc chef/bldr chef/pcre chef/nginx) | ||
pkg_deps=(chef/glibc chef/bldr chef/curl chef/pcre chef/nginx) | ||
pkg_build_deps=(chef/node chef/coreutils chef/phantomjs chef/python2 | ||
chef/make chef/gcc chef/gcc-libs) | ||
pkg_lib_dirs=(lib) | ||
|
3b29ad2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Delivery Status: