Jira (FACT-1021) Custom facts that "require 'facter'" cannot be evaluated from command line facter

2015-06-10 Thread Steve Barlow (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Steve Barlow updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1021 
 
 
 
  Custom facts that "require 'facter'" cannot be evaluated from command line facter  
 
 
 
 
 
 
 
 
 

Change By:
 
 Steve Barlow 
 
 
 

Scope Change Reason:
 
 Found during escalation investigation 
 
 
 

Scope Change Category:
 
 Found 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1021) Custom facts that "require 'facter'" cannot be evaluated from command line facter

2015-06-04 Thread Shaigy Nixon (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Shaigy Nixon commented on  FACT-1021 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Custom facts that "require 'facter'" cannot be evaluated from command line facter  
 
 
 
 
 
 
 
 
 
 
Validated on redhat-7-x86_64, win2012r2-rubyx64 and ubuntu-1404-x86_64 with puppet-agent build SHA 473b953a4f1ff9504f7541dec4b2f008f8c4838c http://builds.puppetlabs.lan/puppet-agent/473b953a4f1ff9504f7541dec4b2f008f8c4838c/ 
 
 
 
 
 
 
  
 
 
 
 
root@asxwtzqcadayryf ~]# cat foo/foo.rb 
 
 
 
 
require 'facter' 
 
 
 
 
Facter.add(:foo) do 
 
 
 
 
  setcode do 
 
 
 
 
'bar' 
 
 
 
 
  end 
 
 
 
 
end 
 
 
 
 
  
 
 
 
 
[root@asxwtzqcadayryf ~]# facter --custom-dir ./foo foo 
 
 
 
  

Jira (FACT-1021) Custom facts that "require 'facter'" cannot be evaluated from command line facter

2015-06-04 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith commented on  FACT-1021 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Custom facts that "require 'facter'" cannot be evaluated from command line facter  
 
 
 
 
 
 
 
 
 
 
This wasn't a problem with the cfacter binary in the stable puppet-agent packages. It only showed up on master. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1021) Custom facts that "require 'facter'" cannot be evaluated from command line facter

2015-06-03 Thread Shaigy Nixon (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Shaigy Nixon updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1021 
 
 
 
  Custom facts that "require 'facter'" cannot be evaluated from command line facter  
 
 
 
 
 
 
 
 
 

Change By:
 
 Shaigy Nixon 
 
 
 

QA Risk Severity:
 
 Medium 
 
 
 

QA Risk Probability:
 
 Medium 
 
 
 

QA Risk Severity Reason:
 
 No workaround 
 
 
 

QA Risk Assessment:
 
 Medium 
 
 
 

QA Risk Probability Reason:
 
 Medium usage 
 
 
 

QA Highest Test Level:
 
 Unit 
 
 
 

QA Risk Assessment Reason:
 
 Medium 
 
 
 

QA Contact:
 
 Shaigy Nixon 
 
 
 

QA Status:
 
 Reviewed 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
  

Jira (FACT-1021) Custom facts that "require 'facter'" cannot be evaluated from command line facter

2015-06-03 Thread Shaigy Nixon (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Shaigy Nixon commented on  FACT-1021 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Custom facts that "require 'facter'" cannot be evaluated from command line facter  
 
 
 
 
 
 
 
 
 
 
Validated on RedHat 7 on Puppet Agent SHA d7e14c3bdd255b15173c62176298a9f4882162ed 
 
 
 
 
 
 
[root@cx31v7oge8hftxp myfactor]# cat roles.rb 
 
 
 
 
require 'facter' 
 
 
 
 
Facter.add ('roles') do 
 
 
 
 
  setcode do 
 
 
 
 
'Admin' 
 
 
 
 
  end 
 
 
 
 
end 
 
 
 
 
[root@cx31v7oge8hftxp myfactor]# cfacter --custom-dir ./ roles 
 
 
 
 
Admin
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  

Jira (FACT-1021) Custom facts that "require 'facter'" cannot be evaluated from command line facter

2015-06-03 Thread Eric Thompson (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Thompson assigned an issue to Shaigy Nixon 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1021 
 
 
 
  Custom facts that "require 'facter'" cannot be evaluated from command line facter  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Thompson 
 
 
 

Assignee:
 
 QA Shaigy Nixon 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1021) Custom facts that "require 'facter'" cannot be evaluated from command line facter

2015-06-03 Thread Kylo Ginsberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Kylo Ginsberg updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1021 
 
 
 
  Custom facts that "require 'facter'" cannot be evaluated from command line facter  
 
 
 
 
 
 
 
 
 

Change By:
 
 Kylo Ginsberg 
 
 
 

Sprint:
 
 Client 2015-06- 24 10 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1021) Custom facts that "require 'facter'" cannot be evaluated from command line facter

2015-06-02 Thread Michael Smith (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Michael Smith assigned an issue to QA 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1021 
 
 
 
  Custom facts that "require 'facter'" cannot be evaluated from command line facter  
 
 
 
 
 
 
 
 
 

Change By:
 
 Michael Smith 
 
 
 

Status:
 
 Ready for  CI  Test 
 
 
 

Assignee:
 
 QA 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (FACT-1021) Custom facts that "require 'facter'" cannot be evaluated from command line facter

2015-05-29 Thread Peter Huene (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Peter Huene created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Facter /  FACT-1021 
 
 
 
  Custom facts that "require 'facter'" cannot be evaluated from command line facter  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 FACT 3.0.0 
 
 
 

Assignee:
 
 Peter Huene 
 
 
 

Created:
 

 2015/05/29 1:40 PM 
 
 
 

Fix Versions:
 

 FACT 3.0.0 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Peter Huene 
 
 
 
 
 
 
 
 
 
 
Custom fact file foo/foo.rb: 
 
 
 
 
 
 
require 'facter' 
 
 
 
 
  
 
 
 
 
Facter.add(:foo) do