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.
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.
To uninstall Packer, set the ensure
parameter to absent
:
class { 'packer':
ensure => absent,
}
Install plugins using packer::plugin.
packer::plugin { 'my-plugin' :
version => 'v1.2.3',
}
Apache License, Version 2.0
Please log tickets and issues at https://github.com/mmarseglia/puppet-packer