forklift icon indicating copy to clipboard operation
forklift copied to clipboard

Allow specifying custom user and group in devel scenario

Open wbclark opened this issue 1 year ago • 1 comments

puppet-katello_devel supports these options but passing them as installer args doesn't set the certs::group parameter. this approach creates a working installation by also properly setting certs::group so that it is inherited by the apache certificate.

wbclark avatar Aug 08 '22 22:08 wbclark

This works for me when I test with the following box definition:

centos8-nodejs14-katello-devel:
  primary: true
  box: centos8-stream
  ansible:
    playbook:
      - 'playbooks/katello_devel.yml'
    group: 'devel'
    variables:
      ssh_forward_agent: true
      foreman_devel_github_push_ssh: true
      katello_devel_github_username: wbclark
      foreman_repositories_environment: staging
      katello_repositories_environment: staging
      katello_repositories_version: nightly
      katello_devel_user: wclark
      katello_devel_group: wclark
      foreman_installer_options:
        - "--foreman-proxy-content-enable-ostree=true"
        - "--katello-devel-npm-timeout=3600"
        - "--katello-devel-modulestream-nodejs=14"

wbclark avatar Aug 09 '22 06:08 wbclark