Uploaded image for project: 'PuppetDB'
  1. PuppetDB
  2. PDB-968

PR (149): Remove invisible unicode character to prevent "invalid byte sequence in ... - stefanandres

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PDB module-4.0.0
    • Fix Version/s: PDB module-4.1.0
    • Component/s: None
    • Labels:
    • Template:
    • Story Points:
      0
    • Sprint:
      PuppetDB 2014-10-22

      Description

      Remove invisible unicode character to prevent "invalid byte sequence in ...

      Pull Request Description


      Someone inserted an unicode character (probably by accident) to the jetty_ini.pp file which prevents puppet-run without unicode environment to run the puppet module.
      Those scenarios are likely while bootstrapping new server.

      The rest of the files looks good.

      ```
      $ find . -name '*.pp' -exec file {} +
      ./manifests/master/config.pp: ASCII English text
      ./manifests/master/routes.pp: ASCII English text
      ./manifests/master/storeconfigs.pp: ASCII English text
      ./manifests/master/puppetdb_conf.pp: ASCII English text
      ./manifests/master/report_processor.pp: ASCII English text
      ./manifests/server/validate_db.pp: ASCII English text
      ./manifests/server/database_ini.pp: ASCII English text
      ./manifests/server/jetty_ini.pp: ASCII English text
      ./manifests/server/validate_read_db.pp: ASCII text
      ./manifests/server/read_database_ini.pp: ASCII English text
      ./manifests/server/firewall.pp: ASCII text
      ./manifests/init.pp: ASCII C++ program text
      ./manifests/params.pp: ASCII C++ program text
      ./manifests/server.pp: ASCII English text
      ./manifests/database/postgresql.pp: ASCII C++ program text
      ```


      (webhooks-id: 191e47eb015390180cf359ae2a8511a3)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            gepetto-bot gepetto-bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support