Skip to content

Commit

Permalink
Refs #37130: Set bootstrap_rpm file resource path correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms committed Feb 9, 2024
1 parent 6500b09 commit cfb418d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/puppet/type/bootstrap_rpm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,9 @@ def generate
ensure: (self[:ensure] == :absent) ? :absent : :file,
}

[:path,
:owner,
file_opts[:path] = "#{self[:dest]}/#{self[:name]}"

[:owner,
:group,
:mode].each do |param|
file_opts[param] = self[param] unless self[param].nil?
Expand Down

0 comments on commit cfb418d

Please sign in to comment.