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 + } }