Jira (PUP-5841) Environment string matching in the parser seems broken

2016-02-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-5841 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Environment string matching in the parser seems broken  
 
 
 
 
 
 
 
 
 
 
Note that 

PUP-5835
 is fixed in both 4.3.3 and 4.4.0. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5841) Environment string matching in the parser seems broken

2016-02-16 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-5841 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Environment string matching in the parser seems broken  
 
 
 
 
 
 
 
 
 
 
On master I get this: 
 
 
 
 
 
 
bundle exec puppet apply pup5841.pp 
 
 
 
 
Notice: Scope(Class[main]): double colon environment production 
 
 
 
 
Notice: Scope(Class[main]): environment production 
 
 
 
 
Notice: Scope(Class[main]): environment dot inspect '"production"' 
 
 
 
 
Notice: Scope(Class[main]): production - wo 
 
 
 
 
Notice: Scope(Class[main]): man - you really shouldn't have to coerce me to make me do these things
 
 
 
 
 
 
 
This was fixed in 

PUP-5835
. Marking this as a duplicate. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
  

Jira (PUP-5841) Environment string matching in the parser seems broken

2016-02-15 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5841 
 
 
 
  Environment string matching in the parser seems broken  
 
 
 
 
 
 
 
 
 
 
Henrik Lindberg thoughts? 
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Scrum Team:
 
 Language 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 (PUP-5841) Environment string matching in the parser seems broken

2016-02-09 Thread Chris Spence (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Chris Spence created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5841 
 
 
 
  Environment string matching in the parser seems broken  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 4.3.2 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/02/09 4:26 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Chris Spence 
 
 
 
 
 
 
 
 
 
 
Using the following puppet code in puppet 4.3.2 the expectation that with the default environment of 'production' the conditional should match is not met, and the first notice doesn't happen. The second notice where environment is coerced to a string via interpolation does: 
 
 
 
 
 
 
notice("double colon environment ${::environment}") 
 
 
 
 
notice("environment ${environment}") 
 
 
 
 
$foo = inline_template("<%= @environment.inspect %>")