chef-automate-populate

devoptimist/chef-automate-populate/linux

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

Overview This module will connect to any ssh enabled server and run commands against an automate server via curl. It expects that curl and wget are already installed. Currently the module only supports enabling profiles in chef automate. This module can accept the output of the https://registry.terraform.io/modules/devoptimist/chef-automate/linux module by passing it jsonencoded to the autoamte_module variable. If this variable is set then you do not need to set either automate_url or automate_token. Supported platform families: Debian RHEL * SUSE Usage ``hcl module "populate_chef_automate" { source = "srb3/chef-automate-populate/linux" version = "0.13.1" ips = "172.16.0.23" ssh_user_name = "ec2-user" enabled_profiles = var.enabled_profiles # see Map/List Variable examples automate_url = v

Inputs (16)
NameTypeDescriptionDefault
user_namestringThe ssh user name used to access the ip addresses provided required
working_directorystringThe path to use for the working directory"chef_automate_populate"
automate_modulestringThe jsonencoded output of the https://registry.terraform.io/modules/srb3/chef-au""
local_automateboolSet to false if this module will be connecting to a host that is not running chetrue
ipstringAn ip address where we will stage api calls to the automate server""
ds_script_namestringThe name to give to the populate data source script"populate_data_source.sh"
automate_tokenstringThe api token for a chef automate server""
tmp_pathstringThe path to use as the upload destination for any executabl scripts that need to"/var/tmp"
populate_script_namestringThe name to give the chef automate populate script"automate_server_populate.sh"
enabled_profileslistA list of Maps used to enable profiles from the chef automate market place[]
proxy_stringstringIf needed set a proxy server details in this variable""
no_proxy_stringstringIf needed set the no_proxy details in this variable""
user_private_keystringThe ssh user key used to access the ip addresses (either ssh_user_pass or ssh_us""
jq_linux_urlstringA url to a jq binary to download, used in the install process"https://github.com/stedolan/jq/releases
automate_urlstringThe url to a chef automate server""
user_passstringThe ssh user password used to access the ip addresses (either ssh_user_pass or s""
Outputs (3)
admin_token
server_public_ip
ingest_token
Resources (1)
null_resource
Details
FrameworkTerraform Module
LanguageHCL
Version0.13.1
Cloud LINUX
★ Stars1
Forks1
Total downloads800
Inputs16
Outputs3
Resources1
Namespacedevoptimist
Updated