Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.

Commit 6d66dde

Browse files
authored
Merge pull request #120 from ekohl/fix-puppet-agent-provides-for-deb
Correct provides statement for Debian packaging
2 parents fa84b2a + a54b111 commit 6d66dde

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

configs/projects/openvox-agent.rb

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -160,11 +160,7 @@
160160
# make sure we can replace puppet-agent in place for the rename
161161
proj.replaces 'puppet-agent', "< #{major.to_i + 1}"
162162
proj.conflicts 'puppet-agent'
163-
if platform.is_rpm?
164-
proj.provides 'puppet-agent', "= #{major}"
165-
elsif platform.is_deb?
166-
proj.provides 'puppet-agent', "(= #{major})"
167-
end
163+
proj.provides 'puppet-agent', "= #{major}"
168164

169165
proj.timeout 7200 if platform.is_windows?
170166
end

0 commit comments

Comments
 (0)