Skip to content

Commit

Permalink
Merge pull request #794 from dhoppe/apt_pin_origin
Browse files Browse the repository at this point in the history
Fetch domain from URL and use it as origin
  • Loading branch information
wyardley authored May 2, 2019
2 parents 34df84a + 4a88848 commit b62e2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/repo/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
apt::pin { 'rabbitmq':
packages => '*',
priority => $pin,
origin => 'packagecloud.io',
origin => inline_template('<%= require \'uri\'; URI(@location).host %>'),
}
}
}

0 comments on commit b62e2ce

Please sign in to comment.