Uploaded image for project: 'Facter'
  1. Facter
  2. FACT-1354

Facter ec2_userdata handles binary data incorrectly

    XMLWordPrintable

Details

    • Bug
    • Status: Accepted
    • Normal
    • Resolution: Unresolved
    • FACT 3.0.0, FACT 3.1.4
    • None
    • None
    • Platform OS
    • Reviewed

    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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              michael.smith Michael Smith
              Votes:
              2 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:

                Zendesk Support