From 288d386718ec557193d83ceed8e1e71887ddbe23 Mon Sep 17 00:00:00 2001 From: William Yardley Date: Thu, 7 Sep 2017 11:55:39 -0700 Subject: [PATCH] Replace anchors with 'contain' --- manifests/init.pp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/manifests/init.pp b/manifests/init.pp index d73702e6..53f85124 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -30,13 +30,12 @@ fail("${module_name}: The manage_package_repo parameter was set to true but no repo_class was provided.") } - include '::nodejs::install' + contain '::nodejs::install' if $manage_package_repo { include $repo_class - anchor { '::nodejs::begin': } - -> Class[$repo_class] + + Class[$repo_class] -> Class['::nodejs::install'] - -> anchor { '::nodejs::end': } } }