From 23da9a388c8d3ede32b740ca7af4d9ae8352adc4 Mon Sep 17 00:00:00 2001 From: Serena Keating Date: Tue, 23 Dec 2014 12:29:58 +1100 Subject: [PATCH] fix so repo download occurs before install, need to anchor due to containment problem --- manifests/repo.pp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/manifests/repo.pp b/manifests/repo.pp index f3c6c32..7e8ba06 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -19,6 +19,8 @@ key => $key_id, key_source => $gpgkey, pin => $pin, + before => Anchor['cassandra::repo::end'], + require => Anchor['cassandra::repo::begin'], } } 'RedHat': { @@ -28,10 +30,14 @@ gpgkey => $gpgkey, gpgcheck => $gpgcheck, enabled => $enabled, + before => Anchor['cassandra::repo::end'], + require => Anchor['cassandra::repo::begin'], } } default: { fail("OS family ${::osfamily} not supported") } } + + anchor {'cassandra::repo::begin': } -> anchor {'cassandra::repo::end': } }