Bug #15585
External facts does not parse text facts with an '=' correctly.
| Status: | Closed | Start date: | 07/18/2012 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 0% | |
| Category: | - | |||
| Target version: | 1.7.0 | |||
| Keywords: | Affected Facter version: | |||
| Branch: | https://github.com/puppetlabs/facter/pull/307 | |||
Description
Since the general format for txt facts is like this:
fact_name=fact_value
There is some ambiguity around what will happen if you want an ‘=’ in your fact value. It seems that this is not dealt with in the most desirable away. If you have an external fact defined as:
test_fact=a=a
Then when you run Facter, it will return:
$ facter test_fact=a => a
This is probably not the behavior that we’re looking for, as there is more likely to be a case where you may want an ‘=’ in your fact value then in your fact name. This should just be a quick fix in the txt parser.
Related issues
History
#1
Updated by Evan Pierce 10 months ago
- Status changed from Accepted to In Topic Branch Pending Review
- Branch set to https://github.com/puppetlabs/facter/pull/307
#2
Updated by Andrew Parker 10 months ago
- Status changed from In Topic Branch Pending Review to Merged - Pending Release
#3
Updated by Andrew Parker 7 months ago
- Target version changed from 2.0.0 to 1.7.0
#4
Updated by Matthaus Owens 2 months ago
- Status changed from Merged - Pending Release to Closed
Released in Facter 1.7.0