Skip to content
Snippets Groups Projects

install boa from URL

  • Clone with SSH
  • Clone with HTTPS
  • Embed
  • Share
    The snippet can be accessed without any authentication.
    Authored by Steve Traylen

    How to puppet install boa from a URL.

    Edited
    boa.pp 440 B
    $_boa_version = '2.2.1'
    
    yum::gpgkey{'/etc/pki/rpm-gpg/boa.gpgsig':
      ensure => present,
      source => "https://github.com/openbao/openbao/releases/download/v${_boa_version}/bao_${_boa_version}_linux_amd64.rpm.gpgsig",
      before => Package['boa'],
    }
    
    package{'boa':
      ensure  => "${_boa_version}-1",
      provider => 'rpm',
      source => "https://github.com/openbao/openbao/releases/download/v${_boa_version}/bao_${_boa_version}_linux_amd64.rpm"
    }
    0% Loading or .
    You are about to add 0 people to the discussion. Proceed with caution.
    Please register or to comment