chef-server

devoptimist/chef-server/linux

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

Overview This terraform module will deploy a Chef Infra server Supported platform families: Debian SLES * RHEL Usage ``hcl locals { addons = { "manage" = { "config" = "", "channel" = "stable", "version" = "2.5.16" } } chef_server_users = { "jdoe" = { "serveradmin" = true, "first_name" = "Jane", "last_name" = "Doe", "email" = "jdoe@company.com" "password" = "s)meP@55!" } } chef_server_orgs = { "acmecorp" = { "admins" = ["jdoe"], "org_full_name" = "My Company" } } } module "chef_automate_install" { source = "srb3/chef-automate/linux" version = "0.13.1" ip = module.instance["automate"].public_ip[0] ssh_user_name = module.ami.user ssh_user_private_key = var.automate_ssh_user_private_key products = var.automate_products } module "chef_server_install" { source = "srb3/chef-server/linux" version

Inputs (29)
NameTypeDescriptionDefault
ssh_user_namestringThe ssh user name used to access the ip addresses provided required
ipstringThe ip address where the chef server will be installed required
install_versionstringThe version of chef server to install"13.0.17"
consul_portstringThe port number to use for consul"8500"
usersmap(object({ serveradmin = booA map of users to be added to the chef server and their details{}
frontend_secretsmapA list of secrets to apply to each frontend; for use in a HA cluster{}
automate_modulestringThe module output of the chef automate modeule ""
data_collector_urlstringThe url to a data collector (automate) end point""
tmp_pathstringThe file path to use for staging install scripts and artifacts"/var/tmp"
consul_datacenterstringThe name of the datacenter to use for consul"dc1"
accept_licenseboolShall we accept the chef product licensetrue
cert_keystringAn ssl private key to apply to the chef server""
configstringExtra config to be passed to a chef server""
supermarket_urlstringUse this to configure the chef server to talk to a supermarket instance""
orgsmap(object({ admins = list(strA map of organisations to be added to the chef server{}
force_runstringSet to anything other than default to force a rerun of provisioning on all serve"default"
ssh_user_passstringThe ssh user password used to access the ip addresses (either ssh_user_pass or s""
cookbooksmapthe cookbooks used to deploy chef server{ "chef-ingredient": "github: 'chef-co
config_blockmapExtra config passed in the form of a map (used for chef ha cluster){}
timeoutstringThe timeout to wait for the connection to become available. Should be provided a"5m"
channelstringThe install channel to use for the chef server"stable"
addonsmapAny addons to be installed should be included in this map{}
Outputs (13)
secret_output
ssh_pass
supermarket_redirect_uri
validation_client_name
client_pem
base_url
org_url
node_name
ip
ssh_user
supermarket_uid
supermarket_secret
validation_pem
Details
FrameworkTerraform Module
LanguageHCL
Version0.13.12
Cloud LINUX
★ Stars0
Forks2
Total downloads957
Inputs29
Outputs13
Examples1
Namespacedevoptimist
Updated