Last active
January 16, 2018 08:59
-
-
Save ramitsurana/96e38aab74ea5529f89d02bbd8822493 to your computer and use it in GitHub Desktop.
Habitat sample files
This file contains hidden or 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
# Default.toml | |
port = 8090 | |
important_message = 'RUN NOW!!' |
This file contains hidden or 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
# Hooks | |
## Init | |
cd {{pkg.svc_path}} | |
if(Test-Path var) { Remove-Item var -Recurse -Force } | |
New-Item -Name var -ItemType Junction -target "{{pkg.path}}/www" | Out-Null | |
## Run | |
cd "{{pkg.svc_var_path}}" | |
$env:HAB_CONFIG_PATH="{{pkg.svc_config_path}}" |
This file contains hidden or 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
# Plan.sh | |
pkg_origin=ramitsurana | |
pkg_name=hadoop | |
pkg_version="0.0.1" | |
pkg_license=('MIT') | |
pkg_maintainer="Ramit Surana <[email protected]>" | |
pkg_upstream_url=https://github.com/ramitsurana/chef-automate-habitat | |
pkg_deps=(core/vim core/jre8) | |
pkg_binds=( | |
return 0 | |
) | |
do_build() { | |
return 0 | |
} | |
do_install() { | |
return 0 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment