Skip to content

Commit

Permalink
Merge pull request puppetlabs#709 from mhashizume/PA-6180/main/sles-gpg
Browse files Browse the repository at this point in the history
Add GPG check to SUSE repository
  • Loading branch information
mhashizume authored Mar 19, 2024
2 parents ba01fdb + 6394bad commit e545b3f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions manifests/osfamily/suse.pp
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@
$repo_settings = {
'name' => $repo_name,
'enabled' => '1',
'gpgcheck' => '1',
'autorefresh' => '0',
'baseurl' => "${source}?ssl_verify=no",
'type' => 'rpm-md',
Expand Down
5 changes: 5 additions & 0 deletions spec/classes/puppet_agent_osfamily_suse_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
{
'name' => 'pc_repo',
'enabled' => '1',
'gpgcheck' => '1',
'autorefresh' => '0',
'baseurl' => "http://yum.puppet.com/puppet6/sles/#{os_version}/x86_64?ssl_verify=no",
'type' => 'rpm-md',
Expand Down Expand Up @@ -177,6 +178,7 @@
[
'name',
'enabled',
'gpgcheck',
'autorefresh',
'baseurl',
'type',
Expand Down Expand Up @@ -287,6 +289,7 @@
{
'name' => 'pc_repo',
'enabled' => '1',
'gpgcheck' => '1',
'autorefresh' => '0',
'baseurl' => "https://master.example.vm:8140/packages/2000.0.0/sles-#{os_version}-x86_64?ssl_verify=no",
'type' => 'rpm-md',
Expand Down Expand Up @@ -314,6 +317,7 @@
[
'name',
'enabled',
'gpgcheck',
'autorefresh',
'baseurl',
'type',
Expand Down Expand Up @@ -359,6 +363,7 @@
[
'name',
'enabled',
'gpgcheck',
'autorefresh',
'baseurl',
'type',
Expand Down

0 comments on commit e545b3f

Please sign in to comment.