Skip to content

Commit

Permalink
Add a pulp scenario
Browse files Browse the repository at this point in the history
This introduces a standalone Pulp scenario. All plugins are exposed as
optional.
  • Loading branch information
ekohl committed Apr 3, 2023
1 parent ce96a32 commit 494ea3f
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ MANDIR = ENV['MANDIR'] || "#{DATAROOTDIR}/man"
PKGDIR = ENV['PKGDIR'] || File.expand_path('pkg')

if BUILD_KATELLO
SCENARIOS = ['foreman', 'foreman-proxy-content', 'katello'].freeze
SCENARIOS = ['foreman', 'foreman-proxy-content', 'katello', 'pulp'].freeze
CERTS_SCENARIOS = ['foreman-proxy-certs'].freeze
else
SCENARIOS = ['foreman'].freeze
Expand Down
12 changes: 12 additions & 0 deletions config/pulp-answers.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
pulpcore: true
pulpcore::cli: true
pulpcore::repo: true
pulpcore::plugin::ansible: false
pulpcore::plugin::certguard: false
pulpcore::plugin::container: false
pulpcore::plugin::deb: false
pulpcore::plugin::file: true
pulpcore::plugin::ostree: false
pulpcore::plugin::python: false
pulpcore::plugin::rpm: true
Empty file added config/pulp.migrations/.gitkeep
Empty file.
20 changes: 20 additions & 0 deletions config/pulp.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
## Installer configuration
# Path to answer file
:answer_file: ./config/pulp-answers.yaml
:installer_dir: .
# Uncomment if you want to load puppet modules from a specific path, $pwd/modules is used by default
:module_dirs: ./_build/modules
:hiera_config: ./config/foreman-hiera.yaml
# Location of an optional cache of parsed module data, generate with kafo-export-params -f parsercache
:parser_cache_path: ./_build/parser_cache/pulp.yaml

## Useful for development, e.g. when you want to move log files to local directory
:log_dir: './_build/'
:log_name: 'pulp.log'
:log_level: :debug
:verbose: true
:verbose_log_level: notice

## Kafo tuning, customization of core functionality
:name: Pulp
:description: Standalone installation of Pulp

0 comments on commit 494ea3f

Please sign in to comment.