Skip to content

Commit

Permalink
Merge pull request #14 from johnpaulsen1/rmtrbsh
Browse files Browse the repository at this point in the history
remove troubleshooting stuff
  • Loading branch information
johnpaulsen1 authored Dec 12, 2023
2 parents 0fe0875 + 9e95bef commit cf885fd
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions lib/puppet/parser/functions/helm_repo_add_flags.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 0 additions & 3 deletions manifests/repo.pp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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}"
}

Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit cf885fd

Please sign in to comment.