diff --git a/manifests/config.pp b/manifests/config.pp index 5d9cde2..60cff9b 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -80,15 +80,16 @@ Exec['apt_update'] -> Package["${package_name}-${version}"] apt::source { $repo_name: - location => $repo_base_url, - release => 'stable', - key => { - id => $repo_gpg_key_id, + location => $repo_base_url, + release => 'stable', + repos => 'main', + architecture => $facts['os']['architecture'], + key => { + name => 'google_chrome.asc', source => $repo_gpg_key, options => $repo_gpg_key_options, }, - repos => 'main', - include => { + include => { 'src' => false, }, } diff --git a/manifests/params.pp b/manifests/params.pp index c04fd0b..c00f416 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -24,7 +24,7 @@ $repo_base_url = 'https://dl.google.com/linux/chrome/rpm/stable/x86_64' } 'Debian': { - $repo_base_url = '[arch=amd64] https://dl.google.com/linux/chrome/deb/' + $repo_base_url = 'https://dl.google.com/linux/chrome/deb/' } default: { fail("Unsupported operating system family ${facts['os']['family']}") diff --git a/metadata.json b/metadata.json index fb94b72..96d26cb 100644 --- a/metadata.json +++ b/metadata.json @@ -70,7 +70,7 @@ }, { "name": "puppet/zypprepo", - "version_requirement": ">=2.0.0 <3.0.0" + "version_requirement": ">=10.0.0 <11.0.0" } ], "requirements": [ @@ -79,4 +79,4 @@ "version_requirement": ">=6.0.0 <9.0.0" } ] -} \ No newline at end of file +}