Autorequire Package['mercurial']
authorMatthias Pigulla <mp@webfactory.de>
Sat, 15 Aug 2015 13:45:39 +0000 (15:45 +0200)
committerMatthias Pigulla <mp@webfactory.de>
Sat, 15 Aug 2015 13:45:39 +0000 (15:45 +0200)
commit6b01539dfee074b798f7e96cb228a42ae6a42c8b
tree1d66b1ed0d4bcb48a5685b34b8e60a76af82a75c
parentd7534d7cfe98d62b8f0d9ae8adcc30bea483a1e2
Autorequire Package['mercurial']

Along the lines of 2b190756260346931b8f9a0dda8afc0c815710d6, if the
Mercurial package is being managed, it stands to reason that the Mercurial
package should be installed before trying to potentially manage Mercurial
repositories using vcsrepo resources.

This commit adds an autorequire to the vcsrepo type that reflects the
above premise.
lib/puppet/type/vcsrepo.rb