code: func (p *provisioner) installHabPackage(o terraform.UIOutput, comm communicator.Communicator, service Service) error {
  	var command string
  	options := ""
  	if service.Channel != "" {
  		options += fmt.Sprintf(" --channel %s", service.Channel)
  	}
  
  	if service.URL != "" {
  		options += fmt.Sprintf(" --url %s", service.URL)
  	}
  	if p.UseSudo {
  		command = fmt.Sprintf("env HAB_NONINTERACTIVE=true sudo -E hab pkg install %s %s", service.Name, options)
  	} else {
  		command = fmt.Sprintf("env HAB_NONINTERACTIVE=true hab pkg install %s %s", service.Name, options)
  	}
  
  	if p.BuilderAuthToken != "" {
  		command = fmt.Sprintf("env HAB_AUTH_TOKEN=%s %s", p.BuilderAuthToken, command)
  	}
  	return p.runCommand(o, comm, command)
  }
docs: // In the future we'll remove the dedicated install once the synchronous load feature in hab-sup is
  // available. Until then we install here to provide output and a noisy failure mechanism because
  // if you install with the pkg load, it occurs asynchronously and fails quietly.