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

locale command on gentoo does not accept parameters #317

Open
javierbertoli opened this issue Oct 5, 2020 · 0 comments
Open

locale command on gentoo does not accept parameters #317

javierbertoli opened this issue Oct 5, 2020 · 0 comments

Comments

@javierbertoli
Copy link

this line causes an error on gentoo instances

Results in this issue when running `kitchen converge` on Gentoo:

...
       Usage: locale-gen [options] -- [localedef options]
       
       Generate locales based upon the config file /etc/locale.gen.
       
       Options:
           -k, --keep               Don't nuke existing locales
           -d, --destdir <dir>      Use locale data in specified DESTDIR tree
           -c, --config <config>    Use specified config instead of default locale.gen
           -l, --list               List all the locales to be generated
           -a, --ask                Ask before generating each locale
           -A, --all                Pretend the locale list contains all locales
           -u, --update             Only generate locales that are missing
           -G, --generate <locale>  Generate specified locale (one shot; implies -k -u)
           -j, --jobs <num>         Number of locales to generate at a time (parallel)
           -q, --quiet              Only show errors
           -V, --version            Meaningless version information
           -h, --help               Show this help cruft
       
       Localedef Options:
           By default,  is passed to localedef.
       
       For more info, see the locale-gen(1) and locale.gen(8) manpages.
       
        * Unknown option 'en_US.UTF-8'

How to reproduce:

  • kitchen.yml
# -*- coding: utf-8 -*-
# vim: ft=yaml
---
# For help on this file's format, see https://kitchen.ci/
driver:
  name: docker
  use_sudo: false
  privileged: true

platforms:
  - name: gentoo
    driver:
      image: gentoo/stage3

provisioner:
  name: salt_solo
  log_level: debug
  require_chef: false
  formula: test
  salt_copy_filter:
    - .kitchen
    - .git

suites:
  - name: default
    provisioner:
      state_top:
        base:
          '*':
            - test.sls
      pillars:
        top.sls:
          base:
            '*':
              - test.sls
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

No branches or pull requests

1 participant