Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for "-force-components" flag in mirror class #29

Open
mdechiaro opened this issue Jun 14, 2024 · 0 comments · May be fixed by #30
Open

Add support for "-force-components" flag in mirror class #29

mdechiaro opened this issue Jun 14, 2024 · 0 comments · May be fixed by #30

Comments

@mdechiaro
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: N/A
  • Ruby: N/A
  • Distribution: N/A
  • Module version: 2.1.0

How to reproduce (e.g Puppet code you use)

N/A

What are you seeing

It would be useful to add -force-components flag to mirror class. This flag is required when mirroring certain repositories. One example is the Naemon repo. Here is the aptly command I used to make it sync properly.

/usr/bin/aptly -config /etc/aptly.conf mirror create  \
    -with-sources=false -force-components -with-udebs=false -architectures=amd64 \
    naemon-focal https://labs.consol.de/repo/stable/ubuntu focal main

What behaviour did you expect instead

Use flags offered by aptly to sync mirrors.

Output log

Any additional information you'd like to impart

mdechiaro added a commit to mdechiaro/puppet-aptly that referenced this issue Jun 25, 2024
mdechiaro added a commit to mdechiaro/puppet-aptly that referenced this issue Jun 25, 2024
@mdechiaro mdechiaro linked a pull request Jun 25, 2024 that will close this issue
mdechiaro added a commit to mdechiaro/puppet-aptly that referenced this issue Jun 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant