Skip to content

Commit

Permalink
Enable FLATPAK_INDEX for pulp registry
Browse files Browse the repository at this point in the history
  • Loading branch information
lfu committed Nov 26, 2024
1 parent 26254db commit 39f9ff1
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion manifests/plugin/container.pp
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@
],
'request_headers' => $pulpcore::apache::api_default_request_headers + $pulpcore::apache::api_additional_request_headers,
},
{
'provider' => 'location',
'path' => "${location_prefix}",

Check warning on line 26 in manifests/plugin/container.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

string containing only a variable (check: only_variable_string)
'proxy_pass' => [
{
'url' => "${pulpcore::apache::api_base_url}",

Check warning on line 29 in manifests/plugin/container.pp

View workflow job for this annotation

GitHub Actions / Puppet / Static validations

string containing only a variable (check: only_variable_string)
},
],
'request_headers' => $pulpcore::apache::api_default_request_headers + $pulpcore::apache::api_additional_request_headers,
},
],
'proxy_pass' => [
{
Expand All @@ -31,7 +41,7 @@
}

pulpcore::plugin { 'container':
config => 'TOKEN_AUTH_DISABLED=True',
config => "TOKEN_AUTH_DISABLED=True\nFLATPAK_INDEX=True",
https_content => epp('pulpcore/apache-fragment.epp', $context),
}
}

0 comments on commit 39f9ff1

Please sign in to comment.