Skip to content

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

License

Notifications You must be signed in to change notification settings

mmarseglia/puppet-packer

 
 

Repository files navigation

packer

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://gitlab.com/mmarseglia-puppet/puppet-packer/issues

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 70.6%
  • Puppet 29.4%