Mercurial > repos > other > Puppet
view modules/php/manifests/repo/suse.pp @ 482:d83de9b3a62b default tip
Update hiera.yaml within Puppet config
Forgot that we manage it from here. Now has content to match
new packages
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 30 Aug 2024 16:10:36 +0100 |
parents | 3fce34f642f1 |
children |
line wrap: on
line source
# Configure suse repo # # === Parameters # # [*reponame*] # Name of the Zypper repository # # [*baseurl*] # Base URL of the Zypper repository # class php::repo::suse ( String[1] $reponame = 'mayflower-php56', String[1] $baseurl = 'http://download.opensuse.org/repositories/home:/mayflower:/php5.6_based/SLE_11_SP3/', ) { zypprepo { $reponame: baseurl => $baseurl, enabled => 1, autorefresh => 1, } ~> exec { 'zypprepo-accept-key': command => 'zypper --gpg-auto-import-keys update -y', path => '/usr/bin:/bin', refreshonly => true, } }