Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
PDB module-4.0.0
-
PuppetDB
-
0
-
PuppetDB 2014-10-22
Description
Remove invisible unicode character to prevent "invalid byte sequence in ...
- Author: Stefan Andres <s.andres@syseleven.de>
- Company: SysEleven GmbH
- Github ID: stefanandres
- Pull Request 149 Discussion
- Pull Request 149 File Diff
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)