Skip to content

Commit

Permalink
make puppet_version consistent with others
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisLundquist committed Mar 21, 2014
1 parent a610533 commit 4be2bf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitchen/provisioner/puppet_apply.rb
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ def hiera_data
end

def puppet_version
config[:puppet_version] == nil ? nil : "=#{config[:puppet_version]}"
config[:puppet_version] ? "=#{config[:puppet_version]}" : nil
end

def puppet_noop_flag
Expand Down

0 comments on commit 4be2bf7

Please sign in to comment.