Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-5042

puppet resource user gives Error: Could not run: invalid byte sequence in US-ASCII on mac osx 10.10 from 8/17 nightly build

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: PUP 4.2.1
    • Fix Version/s: PUP 4.2.2
    • Component/s: None
    • Labels:
    • Template:
    • Release Notes:
      Known Issue
    • Release Notes Summary:
      Hide
      This is an offshoot of Puppet and Ruby's more strict UTF-8 handling. The solution is to set a high-bit-capable locale in your shell:
      {code}
      export LANG=en_US.UTF-8
      {code}
      To make this permanent it needs to be in your shell initialization file (~/.profile or one of its kin).
      Show
      This is an offshoot of Puppet and Ruby's more strict UTF-8 handling. The solution is to set a high-bit-capable locale in your shell: {code} export LANG=en_US.UTF-8 {code} To make this permanent it needs to be in your shell initialization file (~/.profile or one of its kin).

      Description

      I get a similar error when I try to create a user:

      Error: Failed to apply catalog: invalid byte sequence in US-ASCII

      Here's the output of /usr/bin/locale:

      LANG=
      LC_COLLATE="C"
      LC_CTYPE="C"
      LC_MESSAGES="C"
      LC_MONETARY="C"
      LC_NUMERIC="C"
      LC_TIME="C"
      LC_ALL=

        Attachments

          Activity

            People

            Assignee:
            eric.sorenson Eric Sorenson
            Reporter:
            elizabeth Elizabeth Plumb
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support