diff --git a/lib/puppet/parser/functions/helm_repo_add_flags.rb b/lib/puppet/parser/functions/helm_repo_add_flags.rb index f905099..d5b7670 100644 --- a/lib/puppet/parser/functions/helm_repo_add_flags.rb +++ b/lib/puppet/parser/functions/helm_repo_add_flags.rb @@ -27,7 +27,5 @@ module Puppet::Parser::Functions flags << "--repository-cache '#{opts['repo_cache']}'" if opts['repo_cache'] && opts['repo_cache'].to_s != 'undef' flags << "--repository-config '#{opts['repo_config']}'" if opts['repo_config'] && opts['repo_config'].to_s != 'undef' flags.flatten.join(' ') - puts 'flags:' - puts flags.inspect end end diff --git a/manifests/repo.pp b/manifests/repo.pp index e105285..fc6e653 100644 --- a/manifests/repo.pp +++ b/manifests/repo.pp @@ -89,8 +89,6 @@ Optional[String] $url = undef, ) { include ::helm::params - notify { "repo_cache: ${repo_cache}": } - if $ensure == present { $helm_repo_add_flags = helm_repo_add_flags({ ensure => $ensure, @@ -113,7 +111,6 @@ } ) $exec_repo = "helm repo ${helm_repo_add_flags}" - notify { "Adding helm repo: ${repo_name}: with flags ${helm_repo_add_flags}": } $unless_repo = "helm repo list | awk '{if(NR>1)print \$1}' | grep -w ${repo_name}" } diff --git a/metadata.json b/metadata.json index 5466d57..9693301 100644 --- a/metadata.json +++ b/metadata.json @@ -1,6 +1,6 @@ { "name": "puppetlabs-helm", - "version": "4.1.11", + "version": "4.1.12", "author": "puppetlabs", "summary": "A module to install Helm, a kubernetes package manager", "license": "Apache-2.0",