Code Review
/
puppet-modules
/
puppetlabs-apt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
(MODULES-1156, MODULES-769) Remove unnecessary anchors
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
init.pp
diff --git
a/manifests/init.pp
b/manifests/init.pp
index 453df3171f3e0191cf4ff9018229a6297f85582e..140e171c50b008cb8f57d8596cfe77ca8f958476 100644
(file)
--- a/
manifests/init.pp
+++ b/
manifests/init.pp
@@
-133,10
+133,7
@@
class apt(
notify => Exec['apt_update'],
}
- # Need anchor to provide containment for dependencies.
- anchor { 'apt::update':
- require => Class['apt::update'],
- }
+ contain 'apt::update'
# manage sources if present
if $sources {