Skip to content

Commit

Permalink
Remove odering of classes
Browse files Browse the repository at this point in the history
  • Loading branch information
dhoppe committed May 2, 2019
1 parent 866e8c7 commit c872326
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions manifests/repo/apt.pp
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,9 @@
Optional[String] $architecture = undef,
) {

$pin = $rabbitmq::package_apt_pin

# ordering / ensure to get the last version of repository
Class['rabbitmq::repo::apt']
-> Class['apt::update']

$osname = downcase($facts['os']['name'])
$pin = $rabbitmq::package_apt_pin

apt::source { 'rabbitmq':
ensure => present,
location => "${location}/${osname}",
Expand Down

0 comments on commit c872326

Please sign in to comment.