chef-automate-populate
devoptimist/chef-automate-populate/linux
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
| Name | Type | Description | Default |
|---|---|---|---|
| user_name | string | The ssh user name used to access the ip addresses provided | required |
| working_directory | string | The path to use for the working directory | "chef_automate_populate" |
| automate_module | string | The jsonencoded output of the https://registry.terraform.io/modules/srb3/chef-au | "" |
| local_automate | bool | Set to false if this module will be connecting to a host that is not running che | true |
| ip | string | An ip address where we will stage api calls to the automate server | "" |
| ds_script_name | string | The name to give to the populate data source script | "populate_data_source.sh" |
| automate_token | string | The api token for a chef automate server | "" |
| tmp_path | string | The path to use as the upload destination for any executabl scripts that need to | "/var/tmp" |
| populate_script_name | string | The name to give the chef automate populate script | "automate_server_populate.sh" |
| enabled_profiles | list | A list of Maps used to enable profiles from the chef automate market place | [] |
| proxy_string | string | If needed set a proxy server details in this variable | "" |
| no_proxy_string | string | If needed set the no_proxy details in this variable | "" |
| user_private_key | string | The ssh user key used to access the ip addresses (either ssh_user_pass or ssh_us | "" |
| jq_linux_url | string | A url to a jq binary to download, used in the install process | "https://github.com/stedolan/jq/releases |
| automate_url | string | The url to a chef automate server | "" |
| user_pass | string | The ssh user password used to access the ip addresses (either ssh_user_pass or s | "" |
admin_tokenserver_public_ipingest_token