habitat

devoptimist/habitat/chef

Terraform Module HCL CHEF
Install
module "habitat" {
source = "devoptimist/habitat/chef"
version = "0.13.1"
}
plain text: /constructs/tfmod-devoptimist-habitat-chef/install.txt
⭐ Source on GitHub 📦 Registry page
README

Overview This module will install habitat, setup a supervisor, install habitat packages, load and configure habitat services to one or more servers. Under the hood this module uses a Chef Effortless Infra package to install and setup everything. Once the native habitat provisioner for terraform supports Windows, I will switich this module to use that instead. This module supports managing habitat and its services on both Windows and Linux Supported platform families: Debian SLES RHEL Windows Usage ``hcl module "chef_habitat_install" { source = "devoptimist/habitat/chef" version = "0.0.17" ips = ["172.16.0.23"] instance_count = 1 ssh_user_name = "ec2-user" ssh_user_private_key = "~/.ssh/id_rsa" } `` Inputs | Name | Description | Type | Default | Required | |------|-------------|------|-----

Inputs (41)
NameTypeDescriptionDefault
hab_sup_listen_ctlstringThe address and port for the supervisors ctl gateway required
hab_sup_listen_gossipstringThe address and port for the supervisors gossip protocal required
hab_sup_listen_httpstringThe address and port for the supervisors http endpoint (census) required
ipstringAn ip addresse to install hab and run services required
hab_sup_ringstringStart the Supervisor with the --ring param, specifying the name of the ring key required
hab_sup_auth_tokenstringAn auth token for talking to a provate org in bldr required
bldr_urlstringThe URL of the habitat builder"https://bldr.habitat.sh"
hab_install_actionstringThe action to take when installing habitat on a system; install/upgrade"install"
jq_linux_urlstringA url to a jq binary to download, used in the install process"https://github.com/stedolan/jq/releases
hab_sup_orgstringThe name of the superviosr organisation"default"
hab_service_binding_modestringThe binding mode to use when a service from the hab_services map is loaded, can "strict"
hab_service_actionstringThe default action to apply to the services in the hab_service map, can be overr"load"
force_runstringSet to anything other than default to force a rerun of provisioning on all serve"default"
remote_sup_httpstringAddress for remote supervisor http port. Used to pull existing configuration dat"127.0.0.1:9631"
hab_sup_peerslistA list of peers for the supervisor to connect to[]
hab_sup_auto_updateboolShould the hab supervisor auto updatefalse
hab_packagesmapA map of habitat package names (plus options) to install on the system{}
hab_user_toml_actionstringDefault action to take on user toml data; create or delete"create"
clear_node_databoolShould we remove the node state at the end of the effortless runtrue
user_namestringThe ssh or winrm user name used to access the ip addresses provided""
hab_servicesmapA map of habitat service names and their config options{}
accept_licenseboolShall we accept the chef product licensetrue
hab_sup_actionstringThe default action for the habitat supervisor; options run or stop"run"
hab_versionstringThe version of habitat to install, this should match the version of habitat inst"0.83.0"
hab_windows_install_urlstringA url to a hab binary to download"https://api.bintray.com"
hab_pkg_actionstringDefault action to take on each package; install or remove"install"
… and 1 more inputs
Details
FrameworkTerraform Module
LanguageHCL
Version0.13.1
Cloud CHEF
★ Stars0
Forks1
Total downloads1.2k
Inputs41
Namespacedevoptimist
Updated