Skip to content

Commit

Permalink
install pinned version of faraday for puppet 7
Browse files Browse the repository at this point in the history
  • Loading branch information
zilchms committed Mar 26, 2024
1 parent 633df27 commit 3dcbd59
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,16 @@
'present' => $r10k::version,
'absent' => 'absent',
}
# we need to pin the faraday-net_http version for puppet 7
if versioncmp($facts['puppetversion'], '8.0.0') < 0 {
package { 'faraday':
ensure => present,
provider => $r10k::provider,
install_options => [
{ '-v' => '2.8.1' },
],
}
}
package { $r10k::package_name:
ensure => $ensure,
provider => $r10k::provider,
Expand Down

0 comments on commit 3dcbd59

Please sign in to comment.