chef-backend

devoptimist/chef-backend/linux

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

Overview This terraform module will deploy a chef server ha cluster, with 3 backends and one or more frontend Supported platform families: Debian SLES * RHEL Usage ``hcl module "chef_ha_cluster" { source = "srb3/chef-backend/linux" version = "0.0.1" ips = ["172.16.0.23"] instance_count = 1 ssh_user_name = "ec2-user" ssh_user_private_ssh_key = "~/.ssh/id_rsa" } `` Inputs | Name | Description | Type | Default | Required | |------|-------------|------|---------|----------| |bootstrap_node_ip|Ip address of the backedend node to bootstrap from|string||yes| |bootstrap_node_count|The number of bootstrap backend nodes being created, should only ever be 1|number|1|no| |backend_node_count|The number of chef backend instances being created, should only ever be 2|number|2|no| |backend_ips|A list of ip

Inputs (40)
NameTypeDescriptionDefault
backend_ipslist(string)A list of ip addresses where the chef backends will be installed required
ssh_user_namestringThe ssh user name used to access the ip addresses provided required
postgresql_superuser_passwordstringPassword for the postgres superuser required
postgresql_replication_passwordstringPostgres replication user password required
elasticsearch_cluster_namestringelasticsearch cluster name required
frontend_private_ipslist(string)List of the private ip's of each frontend server required
frontend_ipslist(string)A list of ip addresses where the chef server will be installed required
etcd_initial_cluster_tokenstringetcd cluster token required
backend_install_versionstringThe version of chef backend to install"2.2.0"
frontend_parser_scriptstringlocation of the script used to parse the frontend config"/bin/fe_parser"
supermarket_urlstringThe URL to a supermarket instance""
consul_log_levelstringThe log level to run the consul service as"info"
tmp_pathstringThe path to a tempory directory to stage the backend cluster and consul install"/var/tmp"
channelstringThe install channel to use for the chef server and backend package"stable"
jq_urlstringA web location to pull the jq binary from, jq is used to prep data for the insta"https://github.com/stedolan/jq/releases
backend_cookbooksmapthe cookbooks used to deploy chef backend{ "chef-ingredient": "github: 'chef-co
frontend_cookbooksmapthe cookbooks used to deploy chef server{ "chef-ingredient": "github: 'chef-co
frontend_runlistlistThe chef run list used to deploy chef server[ "chef_server_wrapper::default" ]
fqdnstringno longer used""
frontend_usersmap(object({ serveradmin = booA map of users to be added to the chef server and their details{}
ssh_user_private_keystringThe ssh user key used to access the ip addresses (either ssh_user_pass or ssh_us""
backend_runlistlistThe chef run list used to deploy chef backend[ "chef_backend_wrapper::default" ]
extra_frontend_configstringExtra config to be passed to a chef backends""
data_collector_tokenstringThe token used to access the data collector end point""
timeoutstringThe timeout to wait for the connection to become available. Should be provided a"5m"
frontend_config_detailsstringThe location of the json file containing all the frontends config"/root/fe_confg/fe_details.json"
peersstringThe private ip address of the bootstrapped backend node""
data_collector_urlstringThe url to a data collector (automate) end point""
Outputs (10)
chef_frontend_base_url
chef_server_org_url
chef_server
supermarket_uid
validation_client_name
frontend_details
validation_pem
client_pem
node_name
supermarket_secret
Details
FrameworkTerraform Module
LanguageHCL
Version0.13.3
Cloud LINUX
★ Stars0
Forks1
Total downloads859
Inputs40
Outputs10
Examples1
Namespacedevoptimist
Updated