A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/SergK/puppet-tfenv below:

SergK/puppet-tfenv: Install and configure terraform with tfenv tool

  1. Overview
  2. Module Description - What the module does and why it is useful
  3. Setup - The basics of getting started with tfenv
  4. Usage - Configuration options and additional functionality
  5. Reference - An under-the-hood peek at what the module is doing and how
  6. Limitations - OS compatibility, etc.
  7. Development - Guide for contributing to the module

This module installs and configures tfenv tool which manages terraform version

The tfenv module sets up from the github repo tfenv utility which manages terraform version. Module creates user and group jenkins by default. This behavior can be changed.

By default:

All options and configuration can be done through interacting with the parameters on the main ::tfenv class. The default parameters are defined in ::tfenv::params

To start using tfenv one can use simple inclusion:

If you don't need to create user you should define this explicitly, but please ensure that both user tfenv_user and group tfenv_group exists, otherwise puppet run will fail:

class { '::tfenv':
  manage_user  => false,
  manage_group => false,
  tfenv_user   => root,
  tfenv_group  => root,
}

You can also provide custom installation directory as well as tfenv version:

class { '::tfenv':
  install_dir    => '/home/jenkins/tfenv',
  tfenv_revision => 'v0.5.1',
}

If you want to install several versions of terraform you can use tfenv::terraform, e.g. install terraform versions '0.9.8', '0.9.9', '0.10.0':

include ::tfenv

$terraform_versions = ['0.9.8', '0.9.9', '0.10.0']

::tfenv::terraform { $terraform_versions: }

Tested and work on:

Contributions will be gratefully accepted. All you pull requests should be done in separate branch, e.g. feature_abc, fix_version_issue, etc.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4