Jira (PUP-11585) yumrepo_core doesn't create file resources

2022-07-06 Thread Pat Riehecky (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Pat Riehecky commented on  PUP-11585  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: yumrepo_core doesn't create file resources   
 

  
 
 
 
 

 
 I'm not aware of a way to use the yumrepo type in that manner.   It gets more complex when consuming content via subscription-manager.  The repo file is written out directly there.  It can be tracked with a `File` resource, but without having the other files under the `File` scope, it is a bit of a mess.   https://github.com/voxpupuli/puppet-yum/pull/258#issuecomment-1173727992  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.454108.1657029979000.58614.1657120860057%40Atlassian.JIRA.


Jira (PUP-11585) yumrepo_core doesn't create file resources

2022-07-05 Thread Nirupama Mantha (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nirupama Mantha commented on  PUP-11585  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: yumrepo_core doesn't create file resources   
 

  
 
 
 
 

 
 jcpunk is there a way to purge repo configs using the yumrepo type directly?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.454108.1657029979000.58044.1657052580129%40Atlassian.JIRA.


Jira (PUP-11585) yumrepo_core doesn't create file resources

2022-07-05 Thread Nirupama Mantha (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nirupama Mantha commented on  PUP-11585  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: yumrepo_core doesn't create file resources   
 

  
 
 
 
 

 
 jcpunk is there a way to purge repo configs using the yumrepo type directly?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)  
 
 

 
   
 

  
 

  
 

   





-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.454108.1657029979000.58043.1657052580056%40Atlassian.JIRA.


Jira (PUP-11585) yumrepo_core doesn't create file resources

2022-07-05 Thread Pat Riehecky (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Pat Riehecky created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11585  
 
 
  yumrepo_core doesn't create file resources   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2022/07/05 7:06 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Pat Riehecky  
 

  
 
 
 
 

 
 The yumrepo_core type creates elements in /etc/yum.repos.d/ but does not create a File resource for those items.  As a result, if /etc/yum.repos.d/ is set to purge unmanaged files, the newly created resources are immediately removed making things non-idempotent and also confusing.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.20.2#820002-sha1:829506d)