Jira (PUP-8462) Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter

2018-08-31 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8462  
 
 
  Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sprint: 
 Platform Core Grooming  
 

  
 
 
 
 

 
 
 

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


Jira (PUP-8462) Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter

2018-03-01 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-8462  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter   
 

  
 
 
 
 

 
 I think the preferred way to specify a Boolean property is to set:  
 
 
 
 
 newparam(:myparam, :parent => Puppet::Parameter::Boolean) do  
 
 
   ...  
 
 
 end
  
 
 
 
  That said you may have to specify :boolean => true for other reasons... Would be good to understand/document the preferred mechanism for setting parameters.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Googl

Jira (PUP-8462) Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter

2018-02-13 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8462  
 
 
  Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Sprint: 
 Platform Core Grooming  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8462) Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter

2018-02-13 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8462  
 
 
  Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Sub-team: 
 Coremunity  
 
 
Team: 
 Platform Core  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8462) Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter

2018-02-13 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone commented on  PUP-8462  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter   
 

  
 
 
 
 

 
 As a part of this, we should also move all the boolean parameters that rely on symbols rather than true and false to not use symbols. That was a workaround for PUP-8442, and should no longer be necessary.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8462) Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter

2018-02-13 Thread Melissa Stone (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Melissa Stone created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8462  
 
 
  Including `:boolean => true` in a type parameter definition should automatically populate the values a user is allowed to specify for that parameter   
 

  
 
 
 
 

 
Issue Type: 
  Task  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2018/02/13 11:24 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Melissa Stone  
 

  
 
 
 
 

 
 When defining a parameter for a type, we have the ability to pass in an additional argument to define if this parameter is a boolean or not. The only extra thing this gets us is an automatic method to check the truthiness of the parameter, i.e., a method called myparam?. We have to manually define which parameters are valid with newvalues(:true, :false). These should be automatically populated simply by specifying :boolean => true in the parameter definition  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment