Details
Description
On an ec2 instance with binary userdata specified (as in gzipped data), facter ec2_userdata emits extra bytes at the end. This means you can't pipe the data to gunzip and unzip it.
For comparison, try curl http://169.254.169.254/latest/user-data/ | gunzip.