Jira (FACT-1895) Executable and Structured data facts in .txt format to allow Boolean conversion

2019-12-05 Thread Austin Boyd (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Austin Boyd updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-1895  
 
 
  Executable and Structured data facts in .txt format to allow Boolean conversion   
 

  
 
 
 
 

 
Change By: 
 Austin Boyd  
 
 
Zendesk Ticket IDs: 
 32686  
 
 
Zendesk Ticket Count: 
 1  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.286435.1543324981000.55506.1575545880948%40Atlassian.JIRA.


Jira (FACT-1895) Executable and Structured data facts in .txt format to allow Boolean conversion

2018-12-06 Thread Branan Riley (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Branan Riley commented on  FACT-1895  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Executable and Structured data facts in .txt format to allow Boolean conversion   
 

  
 
 
 
 

 
 As far as changing how we parse key=value, I think we'd probably consider that a breaking change - the types of facts are sort of part of the "API" with puppet manifests, and changing those types can break compiles  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1895) Executable and Structured data facts in .txt format to allow Boolean conversion

2018-12-06 Thread Branan Riley (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Branan Riley commented on  FACT-1895  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Executable and Structured data facts in .txt format to allow Boolean conversion   
 

  
 
 
 
 

 
 JSON and YAML formatting are already supported in executable facts (see FACT-1356 and FACT-1653). We have a ticket to update the documentation to reflect that. It ended up in the release notes, but fell through the cracks for updating the main documentation.   FACT-1876 tracks us making explicit in the docs how executable facts work when outputting structured data.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)  
 
 

 
   
 

  
 

  
 

   





-- 
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 puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1895) Executable and Structured data facts in .txt format to allow Boolean conversion

2018-11-27 Thread Martin Ewings (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Martin Ewings created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Facter /  FACT-1895  
 
 
  Executable and Structured data facts in .txt format to allow Boolean conversion   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2018/11/27 5:23 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Martin Ewings  
 

  
 
 
 
 

 
 When interpreting a fact in a key Value pair either in a .txt file or in the return from an executable fact, see example:  
 
 
 
 
 key1=true  
 
 
 key2=false  
 
 
 key3=true
  
 
 
 
    Currently this data type interprets only as a String. "true" and "false" are not identified as being boolean values, as they would in a JSON or YAML Structured data facts   The request would be to either, allow for the interpretation of the key value pairs as boolean   or to allow JSON or YAML formatted returns from Executable facts