Issue #22107 has been updated by Dustin Mitchell.
Minimal reproduction:
require 'stringio'
require 'facter'
require 'facter/util/plist'
require 'facter/util/cfpropertylist/lib/rbCFPropertyList'
pl = StringIO.new("\xfe")
Plist::Emit.save_plist(pl, "tmp.plist")
----------------------------------------
Bug #22107: user provider fails on OS X 10.9 Mavericks
https://projects.puppetlabs.com/issues/22107#change-96142
* Author: Dustin Mitchell
* Status: Needs More Information
* Priority: Normal
* Assignee: Dustin Mitchell
* Category:
* Target version:
* Affected Puppet version:
* Keywords:
* Branch:
----------------------------------------
t-maverick-r5-001:~ root# cat foo.pp
user { 'test':
iterations => '26954',
salt => '81b3d509c7b4d0c1d8e8021bdd5fa21e8b095a60b7ab3f00a5c3fa98fb4d5f39',
password =>
'265845a0e1c47c558b8845c2c43eccd74eda5dd2d00b501be02a4fe8878d6692fe87803533d72c2a7911576c3df9227d4b8d22dcb692d1b75d50cee2053154e7afcf06280c11369b7d473f7a3012eb5ab3f3fe8e7fef80e561a327aebfa243e749e64052742d9aa3639c6422a083fdecca26b04620949003caa812e1d13bb9d7';
}
t-maverick-r5-001:~ root# puppet apply foo.pp
Error: Could not set 'present' on ensure: incompatible character encodings:
ASCII-8BIT and US-ASCII at 5:/private/var/root/foo.pp
Error: Could not set 'present' on ensure: incompatible character encodings:
ASCII-8BIT and US-ASCII at 5:/private/var/root/foo.pp
Wrapped exception:
incompatible character encodings: ASCII-8BIT and US-ASCII
Error: /User[test]/ensure: change from absent to present failed: Could not
set 'present' on ensure: incompatible character encodings: ASCII-8BIT and
US-ASCII at 5:/private/var/root/foo.pp
Notice: Finished catalog run in 5.94 seconds
--
You have received this notification because you have either subscribed to it,
or are involved in it.
To change your notification preferences, please click here:
http://projects.puppetlabs.com/my/account
--
You received this message because you are subscribed to the Google Groups
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.