effortless-bootstrap
devoptimist/effortless-bootstrap/chef
Overview This module will use a chef Effortless Infra package to bootstrap a system. The name of the effortless package to run can be passed in as a variable. Supported platform families: Debian SLES RHEL Windows Usage ``hcl module "chef_habitat_install" { source = "srb3/effortless-bootstrap/chef" version = "0.0.16" 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 | |------|-------------|------|---------|----------| |ip|An ip address where the effortless package and habitat will be installed|list|[]|no| |user_name|The ssh or winrm user name used to access the ip addresses provided|string|""|no| |user_pass|The ssh or winrm user password used to access the ip addresses (eith
| Name | Type | Description | Default |
|---|---|---|---|
| effortless_pkg | string | The effortless package used to bootstrap with | required |
| ip | string | The ip address to install hab and run services | required |
| user_pass | string | The ssh or winrm user password used to access the ip addresses (either user_pass | "" |
| windows_installer_name | string | The name of the windows chef install script | "hab_installer.ps1" |
| ssl_cert_file | string | If needed the path to an ssl cert file to use for the chef client bootstrap run | "" |
| jq_windows_url | string | A url to a jq binary to download, used in the install process | "https://github.com/stedolan/jq/releases |
| hab_linux_install_url | string | A url to a hab binary to download | "https://raw.githubusercontent.com/habit |
| proxy_string | string | If needed set a proxy server details in this variable | "" |
| windows_tmp_path | string | The location of a temp directory to store install scripts on | "C:\\effortless_bootstrap" |
| linux_installer_name | string | The name of the linux chef install script | "hab_installer.sh" |
| config | map | A map containing attributes for the effortless package. Converted to json and pa | {} |
| user_name | string | The ssh or winrm user name used to access the ip addresses provided | "" |
| system_type | string | The system type linux or windows | "linux" |
| linux_tmp_path | string | The location of a temp directory to store install scripts on | "/var/tmp" |
| hab_version | string | The version of habitat to install | "1.6.39" |
| hab_windows_install_url | string | A url to a hab binary to download | "https://api.bintray.com" |
| clear_node_data | bool | Should the node data be cleared after the effortless chef run | false |
| no_proxy_string | string | If needed set the no_proxy details in this variable | "" |
| user_private_key | string | The user key used to access the ip addresses (either user_pass or user_private_k | "" |
| jq_linux_url | string | A url to a jq binary to download, used in the install process | "https://github.com/stedolan/jq/releases |