Issue #23385 has been reported by Daniel Kasen.

----------------------------------------
Bug #23385: ec2_userdata not useable in confine
https://projects.puppetlabs.com/issues/23385

* Author: Daniel Kasen
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: facter
* Target version: 3.3.2
* Affected Puppet version: 3.3.2
* Keywords: 
* Branch: 
----------------------------------------
"facter ec2_userdata" returns the user string passed when the instance was 
brought up, but trying to use confine :ec2_userdata => "type" seems to always 
return false so one cannot generate another custom fact based off of that 
value. I have tried replacing the confine with other facts and it works fine. I 
have also tried creating a new value using Facter::Util::Resolution.exec("echo 
$(facter ec2_userdata)") and passing that to the confine and it will work as 
expected. I am assuming there is some odd hidden characters messing up the 
check, but cannot verify. This is on a centos 6.4 HVM machine in AWS.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to