Jira (PUP-5629) Functions in Puppet language need local scope unique value for resources...

2015-12-23 Thread Jo Rhett (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jo Rhett commented on  PUP-5629 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Functions in Puppet language need local scope unique value for resources...  
 
 
 
 
 
 
 
 
 
 

Don't think you ever want a unique id for the function invocation - it is not a container.
 
Which absolutely isn't documented. As the function passes the Duck test, I think it's important to make this clear. People are used to named blocks of Puppet code being containers... 
Regarding using notice() or warn() etc: I disagree that dumping random output (e.g. JSON in this case) into the Puppet server log is necessarily useful or practice. 
 
 
 
 
 
 
notify 
 
 
 
 
 
 allows a user to debug their own code without having server access, and without triggering log monitoring issues... 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5629) Functions in Puppet language need local scope unique value for resources...

2015-12-21 Thread Jo Rhett (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jo Rhett updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5629 
 
 
 
  Functions in Puppet language need local scope unique value for resources...  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jo Rhett 
 
 
 

Summary:
 
 Functions in Puppet language  are double parsed / produce already declared errors?  need local scope unique value for resources... 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5629) Functions in Puppet language need local scope unique value for resources...

2015-12-21 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg assigned an issue to Unassigned 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-5629 
 
 
 
  Functions in Puppet language need local scope unique value for resources...  
 
 
 
 
 
 
 
 
 

Change By:
 
 Henrik Lindberg 
 
 
 

Assignee:
 
 Henrik Lindberg 
 
 
 
 
 
 
 
 
 
 
 
 

 
 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-5629) Functions in Puppet language need local scope unique value for resources...

2015-12-21 Thread Henrik Lindberg (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Henrik Lindberg commented on  PUP-5629 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Functions in Puppet language need local scope unique value for resources...  
 
 
 
 
 
 
 
 
 
 
Ah, naturally, each created notify must have its own identity/title or you end up with errors about duplicates. As R.I points out, the notice logging function is probably what you want to use for debugging. 
Don't think you ever want a unique id for the function invocation - it is not a container.  
 
 
 
 
 
 
 
 
 
 
 
 

 
 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.