Jira (BOLT-1198) Support capitals in aliases and group names

2019-03-21 Thread Alex Dreyer (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Dreyer commented on  BOLT-1198  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Support capitals in aliases and group names   
 

  
 
 
 
 

 
 Long term we don't expect a single inventory file to be adequate for bolt. The main proposal to fix this is an `inventory.d` directory that allows groups to be broken out into separate files. In the past we've had trouble with allowing capitals in objects that map to file names due to file system specific capitalization behavior. If we were going to support this I think we'd have to make group names and aliases case insensitive in bolt which is significantly more work than just changing the group and alias regex.  
 

  
 
 
 
 

 
 
 

 
 
 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 (BOLT-1198) Support capitals in aliases and group names

2019-03-21 Thread Kevin Reeuwijk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kevin Reeuwijk created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Task Runner /  BOLT-1198  
 
 
  Support capitals in aliases and group names   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Affects Versions: 
 BOLT 1.14.0, BOLT 1.13.1, BOLT 1.13.0, BOLT 1.12.0, BOLT 1.11.0, BOLT 1.10.0  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 bolt  
 
 
Created: 
 2019/03/21 3:04 PM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Kevin Reeuwijk  
 

  
 
 
 
 

 
 Using one or more capitals in an alias or group name in inventory.yaml will result in strange behavior, it will complain about invalid group names, but not specify that capitals are the problem. Especially for Windows users, the usage of one/more/all capitals in these sorts of names is very normal. They are not aware there could be anything illegal with them. This also raises a separate concern about having case-sensitivity yes or no, if capitals were to be fully supported. Again, for Windows users, they are used to such things being case-insensitive. At the minimum, if Bolt wouldn't support capitals in any way going forward, a useful error message should be shown to the user, informing them that capitals can't be used.