github.com/danp/terraform@v0.9.5-0.20170426144147-39d740081351/website/source/docs/enterprise/runs/installing-software.html.md (about) 1 --- 2 layout: "enterprise" 3 page_title: "Installing Software - Runs - Terraform Enterprise" 4 sidebar_current: "docs-enterprise-runs-installing" 5 description: |- 6 Installing custom software on the Terraform Runners. 7 --- 8 9 # Installing Custom Software 10 11 The machines that run Terraform exist in an isolated environment and are 12 destroyed on each use. In some cases, it may be necessary to install certain 13 software on the Terraform runner, such as a configuration management tool like 14 Chef, Puppet, Ansible, or Salt. 15 16 The easiest way to install software on the Packer builder is via the 17 `local-exec` provisioner. This will execute commands on the host machine running 18 Terraform. 19 20 ```hcl 21 resource "null_resource" "local-software" { 22 provisioner "local-exec" { 23 command = <<EOH 24 sudo apt-get update 25 sudo apt-get install -y ansible 26 EOH 27 } 28 } 29 ``` 30 31 Please note that nothing is persisted between Terraform runs, so you will need 32 to install custom software on each run. 33 34 The Packer builders run the latest version of Ubuntu LTS.