Skip to content
This repository was archived by the owner on Sep 5, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions configs/projects/openvox-agent.rb
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,9 @@
proj.license "See components"
proj.vendor "Vox Pupuli <openvox@voxpupuli.org>"
proj.homepage "https://voxpupuli.org"
proj.target_repo "openvox8"

major = proj.get_version.split('.').first
proj.target_repo "openvox#{major}"

if platform.is_solaris?
proj.identifier "voxpupuli.org"
Expand Down Expand Up @@ -174,8 +176,13 @@
end

# make sure we can replace puppet-agent in place for the rename
proj.replaces 'puppet-agent'
proj.replaces 'puppet-agent', "< #{major.to_i + 1}"
proj.conflicts 'puppet-agent'
if platform.is_rpm?
proj.provides 'puppet-agent', "= #{major}"
elsif platform.is_deb?
proj.provides 'puppet-agent', "(= #{major})"
end

proj.timeout 7200 if platform.is_windows?
end