From 2fd429851003b17399a579b4a286b4b8e5a789d2 Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Mon, 21 Sep 2020 20:13:28 +0100 Subject: [PATCH] feat(core): add private puppet module for the proprietary stuff --- Puppetfile | 5 +++++ manifests/workstation.pp | 8 ++++++++ 2 files changed, 13 insertions(+) diff --git a/Puppetfile b/Puppetfile index e39ba65..e6cbad4 100644 --- a/Puppetfile +++ b/Puppetfile @@ -18,3 +18,8 @@ mod 'puppetlabs-vcsrepo', '3.1.1' # Archive module for downloading and unpacking archives # mod 'puppet-archive', '4.6.0' + +# +# Add the private puppet module for the proprietary bits +# +mod 'private', :git => 'git@gitlab.com:adeattwood/dotfiles-private.git' diff --git a/manifests/workstation.pp b/manifests/workstation.pp index 9e4a05a..039c123 100644 --- a/manifests/workstation.pp +++ b/manifests/workstation.pp @@ -25,4 +25,12 @@ node default { include core::vscode include core::emacs include core::terminal + + # + # Add the private puppet module for all the proprietary bits only if the + # module is installed. You can see the puppet file + # + if defined('private::main') { + include private::main + } }