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
Merge pull request #55 from nanliu/tb/containment
[puppet-modules/puppetlabs-apt.git]
/
manifests
/
init.pp
diff --git
a/manifests/init.pp
b/manifests/init.pp
index e41cd3fdee7514b6373603d917638e3a77dbd28e..00025893689835f8b1eef17f7202d65327579fda 100644
(file)
--- a/
manifests/init.pp
+++ b/
manifests/init.pp
@@
-94,4
+94,9
@@
class apt(
notify => Exec['apt_update'],
}
}
+
+ # Need anchor to provide containment for dependencies.
+ anchor { "apt::update":
+ require => Class['apt::update'],
+ }
}