Details
-
Bug
-
Status: Closed
-
Normal
-
Resolution: Incomplete
-
None
-
None
-
Puppet Agent: ec1f5692fa407d8b7e24e5eb6b6df7ff89288479
Agent Platform: Windows Server 2012 R2 (SUT)Versions File
puppet_for_the_win 4.3.2-0-g8af6485
facter 3.1.4-1-gb7c33ee
hiera 3.0.6-1-g2c05dd3
mcollective 2.8.7-0-ga28c1af
puppet 4.3.2-37-gd376814
pxp-agent 1.0.2-17-g8f85d0f
sys 2.1.8.1-x64-0-gd52ed32
Puppet Agent: ec1f5692fa407d8b7e24e5eb6b6df7ff89288479 Agent Platform: Windows Server 2012 R2 (SUT) Versions File puppet_for_the_win 4.3.2-0-g8af6485 facter 3.1.4-1-gb7c33ee hiera 3.0.6-1-g2c05dd3 mcollective 2.8.7-0-ga28c1af puppet 4.3.2-37-gd376814 pxp-agent 1.0.2-17-g8f85d0f sys 2.1.8.1-x64-0-gd52ed32
Description
Description
If a user with Unicode name attempts to run a manifest under the "65001" code page it will cause Puppet to crash.
Attachments
- Video Capture
Reproduction Steps
- Install Puppet Agent on SUT.
- Create user "Jöhn".
- Logoff and login as "Jöhn".
- Create the manifest "C:\test.pp" on the SUT with the following content:
exec { 'tomcat-configure-service':
command => "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe Get-ChildItem Env:",
onlyif => "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe exit 0",
provider => windows,
logoutput => true,
tag => 'tomcat-configure-service',
}
- Open a Puppet Console session as Administrator.
- Change console font to "Lucidia Console". (Puppet will crash otherwise.
PUP-5717) - Change codepage:
chcp 65001
- Execute the following command on the SUT:
puppet apply c:\test.pp
Expect
The Puppet run should succeed.
Actual
Puppet crashes. See attached video capture for more details.