Jira (PUP-3020) Add action for deleting settings from puppet config

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


 
 
 
 

 
 
 

 
   
 Melissa Stone commented on  PUP-3020  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add action for deleting settings from puppet config   
 

  
 
 
 
 

 
  
 
 
 
 
 [root@yx32o85umtg6j0r ~]# cat /etc/puppetlabs/puppet/puppet.conf  
 
 
 # This file can be used to override the default puppet settings.  
 
 
 # See the following links for more details on what settings are available:  
 
 
 # - https://docs.puppetlabs.com/puppet/latest/reference/config_important_settings.html  
 
 
 # - https://docs.puppetlabs.com/puppet/latest/reference/config_about_settings.html  
 
 
 # - https://docs.puppetlabs.com/puppet/latest/reference/config_file_main.html  
 
 
 # - https://docs.puppetlabs.com/puppet/latest/reference/configuration.html  
 
 
 [root@yx32o85umtg6j0r ~]# puppet config set foo bar --section user  
 
 
 [root@yx32o85umtg6j0r ~]# cat /etc/puppetlabs/puppet/puppet.conf  
 
 
 # This file can be used to override the default puppet settings.  
 
 
 # See the following links for more details on what settings are available:  
 
 
 # - 

Jira (PUP-3020) Add action for deleting settings from puppet config

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


 
 
 
 

 
 
 

 
   
 Melissa Stone assigned an issue to Melissa Stone  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-3020  
 
 
  Add action for deleting settings from puppet config   
 

  
 
 
 
 

 
Change By: 
 Melissa Stone  
 
 
Assignee: 
 Eric Delaney Melissa Stone  
 

  
 
 
 
 

 
 
 

 
 
 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-3020) Add action for deleting settings from puppet config

2018-02-08 Thread Justin Stoller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Justin Stoller updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-3020  
 
 
  Add action for deleting settings from puppet config   
 

  
 
 
 
 

 
Change By: 
 Justin Stoller  
 
 
Component/s: 
 Server  
 

  
 
 
 
 

 
 
 

 
 
 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-3020) Add action for deleting settings from puppet config

2018-02-05 Thread Eric Delaney (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Eric Delaney updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-3020  
 
 
  Add action for deleting settings from puppet config   
 

  
 
 
 
 

 
Change By: 
 Eric Delaney  
 
 
Release Notes Summary: 
 Puppet settings can be deleted from the puppet.conf file using 'puppet config delete'Example:'puppet config delete  --section '  
 
 
Release Notes: 
 New Feature  
 

  
 
 
 
 

 
 
 

 
 
 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-3020) Add action for deleting settings from puppet config

2018-02-05 Thread Jacob Helwig (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jacob Helwig commented on  PUP-3020  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add action for deleting settings from puppet config   
 

  
 
 
 
 

 
 Merged to master in cc673813  
 

  
 
 
 
 

 
 
 

 
 
 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-3020) Add action for deleting settings from puppet config

2018-02-01 Thread Eric Delaney (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Delaney commented on  PUP-3020 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 
 
new messages: Deleted setting from 'master' with value: 'wow = thing' Warning: No setting found in configuration file for section user setting name wow 
 
 
 
 
 
 
  
 
 
 
 
✔ ~/work/my_repos/puppet [task/master/PUP-3020/add_config_delete_action L|⚑ 1] 
 
 
 
 
14:35 $ cat /Users/eric.delaney/.puppetlabs/etc/puppet/puppet.conf 
 
 
 
 
[main] 
 
 
 
 
wow = thing 
 
 
 
 
crazy = thing 
 
 
 
 
[master] 
 
 
 
 
wow = thing 
 
 
 
 
✔ ~/work/my_repos/puppet [task/master/PUP-3020/add_config_delete_action L|⚑ 1] 
 
 
 
 
14:35 $ bundle exec puppet config set crazy thing --section user 
 
 
   

Jira (PUP-3020) Add action for deleting settings from puppet config

2018-01-31 Thread Eric Delaney (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Delaney updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3020 
 
 
 
  Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Delaney 
 
 
 

Sprint:
 
 Platform Core  Hopper  KANBAN 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3020) Add action for deleting settings from puppet config

2018-01-31 Thread Eric Delaney (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Eric Delaney assigned an issue to Eric Delaney 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3020 
 
 
 
  Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 

Change By:
 
 Eric Delaney 
 
 
 

Assignee:
 
 Eric Delaney 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3020) Add action for deleting settings from puppet config

2018-01-30 Thread Jorie Tappa (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jorie Tappa commented on  PUP-3020 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 
 
Did we determine that the section was required? Or that the behavior would mimic some other existing puppet config behavior to determine section if not stated? 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3020) Add action for deleting settings from puppet config

2018-01-25 Thread Jacob Helwig (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jacob Helwig updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3020 
 
 
 
  Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jacob Helwig 
 
 
 
 
 
 
 
 
 
 *Updated*The puppet config app cannot delete settings it previously set. Propose the following syntax:{code}puppet config delete  --section {code}The setting is removed from the specified section. Specifying a section is required. Trying to delete a setting that hasn't been set should not be an error  (exit code should be 0 warning that the setting wasn't there is fine) .{{puppet config delete}} should show information about the setting that was deleted (including the value of the setting, and the section name).Adding to and deleting from multivalued settings is being moved to a separate ticket.*Original Description*The puppet config face has facility for creating settings, but not removing or updating lists of settings.From the PR:{code}puppet config add [name] [value] will add to a comma separated list.  `puppet config add reports store` -- (adds store to the reports list)puppet config del [name] [value] will remove from a comma separated list  `puppet config del reports store`  -- (deletes store from the list)puppet config del [name] will remove a setting from puppet.conf  `puppet config del reporturl` -- (removes reporturl from puppet.conf){code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 

Jira (PUP-3020) Add action for deleting settings from puppet config

2018-01-25 Thread Jacob Helwig (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jacob Helwig updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3020 
 
 
 
  Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jacob Helwig 
 
 
 
 
 
 
 
 
 
 *Updated*The puppet config app cannot delete settings it previously set. Propose the following syntax:{code}puppet config delete  --section {code}The setting is removed from the specified section. Specifying a section is required. Trying to delete a setting that hasn't been set should not be an error.{{puppet config delete}} should show information about the setting that was deleted (including the value of the setting , and the section name ).Adding to and deleting from multivalued settings is being moved to a separate ticket.*Original Description*The puppet config face has facility for creating settings, but not removing or updating lists of settings.From the PR:{code}puppet config add [name] [value] will add to a comma separated list.  `puppet config add reports store` -- (adds store to the reports list)puppet config del [name] [value] will remove from a comma separated list  `puppet config del reports store`  -- (deletes store from the list)puppet config del [name] will remove a setting from puppet.conf  `puppet config del reporturl` -- (removes reporturl from puppet.conf){code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 

Jira (PUP-3020) Add action for deleting settings from puppet config

2018-01-25 Thread Jacob Helwig (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Jacob Helwig updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3020 
 
 
 
  Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 

Change By:
 
 Jacob Helwig 
 
 
 
 
 
 
 
 
 
 *Updated*The puppet config app cannot delete settings it previously set. Propose the following syntax:{code}puppet config delete   [ --section  ] {code} If a section is specified, the The  setting is removed from  that section, allowing a lower precedence section {{main}} or  the  defaults in code to take effect  specified section .  If  Specifying  a section is  not specified, the setting should be removed from the default {{main}} section  required . Trying to delete a setting that hasn't been set should not be an error. {{puppet config delete}} should show information about the setting that was deleted (including the value of the setting). Adding to and deleting from multivalued settings is being moved to a separate ticket.*Original Description*The puppet config face has facility for creating settings, but not removing or updating lists of settings.From the PR:{code}puppet config add [name] [value] will add to a comma separated list.  `puppet config add reports store` -- (adds store to the reports list)puppet config del [name] [value] will remove from a comma separated list  `puppet config del reports store`  -- (deletes store from the list)puppet config del [name] will remove a setting from puppet.conf  `puppet config del reporturl` -- (removes reporturl from puppet.conf){code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





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

Jira (PUP-3020) Add action for deleting settings from puppet config

2018-01-16 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  PUP-3020 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 
 
After discussion with the team, we've decided to split the issue of deleting a single setting vs managing multivalued settings into different tickets. The latter is filed as PUP-8359. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3020) Add action for deleting settings from puppet config

2018-01-16 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3020 
 
 
 
  Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Acceptance Criteria:
 
 * It should be possible to delete/unset a setting from puppet.conf, so that the default value defined in code is used. It should be possible to append * Deleting  a  value to a list-type of  setting . It should handle the case where the setting  whose value  is not  defined and is already defined with possibly  set should not produce  an  empty value  error .  It should be  possible to remove a value from a list-type of setting  like "ensure => absent" .  It should handle cases where the setting has more than one value, has only one value, or the value doesn't exist. Removing the last value should not remove the setting.  The delimiter for multiple values should depend on the setting type. For example, we use comma for report processors, but File::PATH_SEPARATOR for path settings. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-3020) Add action for deleting settings from puppet config

2018-01-16 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3020 
 
 
 
  Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 
 
 
 
 
 
 
 *Updated* The puppet config  app cannot delete settings it previously set. Propose the following syntax:{code}puppet config delete  [--section ]{code}If a section is specified, the setting is removed from that section, allowing a lower precedence section {{main}} or the defaults in code to take effect. If a section is not specified, the setting should be removed from the default {{main}} section. Trying to delete a setting that hasn't been set should not be an error.Adding to and deleting from multivalued settings is being moved to a separate ticket.*Original Description*The puppet config  face has facility for creating settings, but not removing or updating lists of settings.From the PR:{code}puppet config add [name] [value] will add to a comma separated list.  `puppet config add reports store` -- (adds store to the reports list)puppet config del [name] [value] will remove from a comma separated list  `puppet config del reports store`  -- (deletes store from the list)puppet config del [name] will remove a setting from puppet.conf  `puppet config del reporturl` -- (removes reporturl from puppet.conf){code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 

Jira (PUP-3020) Add action for deleting settings from puppet config

2018-01-16 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-3020 
 
 
 
  Add action for deleting settings from puppet config  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Summary:
 
 Add  setting delete and setting list add/remove functions to  action for deleting settings from  puppet config . 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.