Skip to content

Commit

Permalink
Merge pull request #348 from chef-cft/rycar/update-tags-for-versions
Browse files Browse the repository at this point in the history
Adding wombat version to packer variables as wombat_ver
  • Loading branch information
smford22 authored Mar 22, 2018
2 parents 33c486b + 67c7390 commit 1396f54
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/wombat/build.rb
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,7 @@ def packer_build_cmd(template, builder, options)
cmd.insert(2, "--var build-nodes=#{wombat['build-nodes']['count']}")
cmd.insert(2, "--var winrm_password=#{wombat['workstations']['password']}")
cmd.insert(2, "--var winrm_username=Administrator")
cmd.insert(2, "--var wombat_ver=#{wombat['version']}")
cmd.insert(2, "--var workstation-number=#{options['workstation-number']}") if template =~ /workstation/
cmd.insert(2, "--var workstations=#{wombat['workstations']['count']}")
cmd.insert(2, "--var aws_source_ami=#{base_image(template, builder, options)}") if builder =~ /amazon-ebs/
Expand Down
2 changes: 1 addition & 1 deletion lib/wombat/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Wombat
VERSION = "0.7.2"
VERSION = "0.7.3"
end

0 comments on commit 1396f54

Please sign in to comment.