]> review.fuel-infra Code Review - puppet-modules/puppetlabs-apt.git/commit
Fix dependency issues introduced with anchor.
authorNan Liu <nan@puppetlabs.com>
Wed, 9 May 2012 18:50:43 +0000 (11:50 -0700)
committerNan Liu <nan@puppetlabs.com>
Wed, 9 May 2012 19:04:17 +0000 (12:04 -0700)
commite3784987fce98bf3c8c6cc40e73bb6c9582c0696
tree1f66fdf6a9db437128e8994aff843c05edbba338
parentf8cc762122f62cacc603196c334efcbaaeb779d5
Fix dependency issues introduced with anchor.

apt::ppa and apt::builddep requires apt class. The anchor introduced for
containment of apt-get update causes a dependency loop. apt::ppa appears
to depend on apt class sources.d direcory. While apt::builddep have no
clear reason for a dependency on apt class. This change refactor both
define type, so they no longer cause a dependency loop.
manifests/builddep.pp
manifests/ppa.pp
spec/defines/ppa_spec.rb