Skip to content

Commit

Permalink
puppet-lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jardleex committed Jun 1, 2023
1 parent 1f47faf commit bc734d7
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,16 @@
}

if ($consul::bash_completion) and ($consul::install_method != 'docker' ) {
file { $consul::bash_completion_compat_dir:
ensure => 'directory',
}

file { $consul::bash_completion_compat_dir:
ensure => 'directory',
}

file { "${consul::bash_completion_compat_dir}/consul":
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
content => "complete -C ${consul::bin_dir}/${consul::binary_name} consul\n"
}
file { "${consul::bash_completion_compat_dir}/consul":
ensure => file,
owner => 'root',
group => 'root',
mode => '0644',
content => "complete -C ${consul::bin_dir}/${consul::binary_name} consul\n",
}
}

}

0 comments on commit bc734d7

Please sign in to comment.