Jira (PUP-9753) XOR operator in Puppet Language

2019-06-17 Thread PU (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 PU commented on  PUP-9753  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: XOR operator in Puppet Language   
 

  
 
 
 
 

 
 Thank you for this alternative solution and the explanations. At the moment I agree that with this alternative an XOR operator isn't really needed although it would be better understandable.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312414.1560503163000.49125.1560770160156%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9753) XOR operator in Puppet Language

2019-06-14 Thread PU (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 PU commented on  PUP-9753  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: XOR operator in Puppet Language   
 

  
 
 
 
 

 
 Unfortunately your proposed solution isn't readable. So please change it accordingly.  
 

  
 
 
 
 

 
 
 

 
 
 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.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.312414.1560503163000.47299.1560520500128%40Atlassian.JIRA.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-9753) XOR operator in Puppet Language

2019-06-14 Thread PU (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 PU created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-9753  
 
 
  XOR operator in Puppet Language   
 

  
 
 
 
 

 
Issue Type: 
  New Feature  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 Language  
 
 
Created: 
 2019/06/14 2:06 AM  
 
 
Labels: 
 operator, Language  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 PU  
 

  
 
 
 
 

 
 Sometimes there are some configuration values which have both to be set in combination. So you want to check if both or none of them are set. Usually this would be done using XOR. But unfortunately there isn't such an operator in Puppet Language at the moment. Of course there are alternative ways to get to the same result: (($a and !$b) or ($b and !$a)) But a native XOR operator would make it much easier and better to understand: $a xor $b So I think it would be very much appreciated if this operator will be implemented in Puppet Language.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  

Jira (PUP-8415) Error is optional parameter is missing

2018-02-02 Thread PU (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 PU created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8415 
 
 
 
  Error is optional parameter is missing  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 4.10.9 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 Puppet Server 
 
 
 

Created:
 

 2018/02/02 7:32 AM 
 
 
 

Environment:
 
 
Ubuntu 16.04 
 
 
 

Labels:
 

 parameter 
 
 
 

Priority:
 
  Major 
 
 
 

Reporter:
 
 PU 
 
 
 
 
 
 
 
 
 
 
I create a defined resource which has optional parameters. But if one of the parameters isn't specified I get the following error: