ymajik / puppet-packer

Puppet module for installing Packer, the virtual machine image creation tool.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

packer

Build Status

Description

This Puppet module installs the Packer software package from the official releases.

This module will upgrade packer if you specify a new version later on.

Usage

Installation

include packer

This module installs Packer into /usr/local/bin. To install in another directory use the bin_dir parameter. If you deviate from the default installation directory this module will not detect the currently installed version.

class { 'packer':
  bin_dir => '/opt/local/bin',
}

Specify version to install a specific version of Packer.

class { 'packer':
  version => '0.7.5',
}

If you change version this module will upgrade or downgrade Packer as appropriate. You must use the default installation location for this feature to work.

Use a proxy to download Packer.

class { 'packer':
  proxy => 'https://example.com:8080',
}

Uninstall

To uninstall Packer, set the ensure parameter to absent:

class { 'packer':
  ensure => absent,
}

Plugins

Install plugins using packer::plugin.

packer::plugin { 'my-plugin' :
	version	=> 'v1.2.3',
}

License

Apache License, Version 2.0

Support

Please log tickets and issues at https://github.com/mmarseglia/puppet-packer

About

Puppet module for installing Packer, the virtual machine image creation tool.

License:Other


Languages

Language:Puppet 57.6%Language:Ruby 42.4%