Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-06-21 Thread Christine Yoon (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christine Yoon updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11074  
 
 
  Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
Change By: 
 Christine Yoon  
 
 
Labels: 
 doc_reviewed docs-reviewed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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.401005.1622126002000.61446.1624305540166%40Atlassian.JIRA.


Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-06-21 Thread Christine Yoon (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Christine Yoon updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11074  
 
 
  Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
Change By: 
 Christine Yoon  
 
 
Labels: 
 doc_reviewed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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.401005.1622126002000.60927.1624285320264%40Atlassian.JIRA.


Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-06-08 Thread Gabriel Nagy (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gabriel Nagy updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11074  
 
 
  Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
Change By: 
 Gabriel Nagy  
 
 
Release Notes: 
 Bug Fix  
 
 
Release Notes Summary: 
 Due to the presence of a nil vertex in the catalog, managing resources that call the `generate` method (such as `tidy`) would fail when using the `puppet resource` subcommand. This has been fixed by ensuring that nil vertices are never added to the catalog.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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.401005.1622126002000.51066.1623155880036%40Atlassian.JIRA.


Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-06-08 Thread Gabriel Nagy (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gabriel Nagy commented on  PUP-11074  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
 Merged to 6.x in https://github.com/puppetlabs/puppet/commit/6c775f7ca83f3b8fce9838825afa50b8e1d428b1  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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.401005.1622126002000.50947.1623140280099%40Atlassian.JIRA.


Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-06-03 Thread Josh Cooper (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11074  
 
 
  Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 7.8.0  
 
 
Fix Version/s: 
 PUP 6.23.0  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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.401005.1622126002000.47461.1622737200788%40Atlassian.JIRA.


Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-06-02 Thread Gabriel Nagy (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gabriel Nagy assigned an issue to Gabriel Nagy  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11074  
 
 
  Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
Change By: 
 Gabriel Nagy  
 
 
Assignee: 
 Gabriel Nagy  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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.401005.1622126002000.45861.1622646420325%40Atlassian.JIRA.


Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-06-02 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11074  
 
 
  Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Story Points: 
 3  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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.401005.1622126002000.45591.1622624220246%40Atlassian.JIRA.


Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-06-01 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11074  
 
 
  Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
Change By: 
 Mihai Buzgau  
 
 
Sprint: 
 NW-2021-06-16  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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.401005.1622126002000.44326.1622557860033%40Atlassian.JIRA.


Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-05-31 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu commented on  PUP-11074  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
 https://github.com/puppetlabs/puppet/pull/8614  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.13.2#813002-sha1:c495a97)  
 
 

 
   
 

  
 

  
 

   





-- 
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.401005.1622126002000.44018.1622446140256%40Atlassian.JIRA.


Jira (PUP-11074) Add catalog edge only if parent resource has a container

2021-05-28 Thread Gabriel Nagy (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Gabriel Nagy created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-11074  
 
 
  Add catalog edge only if parent resource has a container   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2021/05/27 7:33 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Gabriel Nagy  
 

  
 
 
 
 

 
 Puppet Version: 7.7.0/6.23.0 Puppet Server Version: n/a OS Name/Version: n/a Managing resources with generators behaves differently with puppet resource and puppet apply. When running with puppet apply, the parent resource is always contained by something like Class[Main], so adding an edge between that and our generated resource works. When running with puppet resource, the parent resource is not contained by anything (container_of(parent_resource) returns nil), which adds an edge with a nil vertex to the catalog. This in turn causes the run to fail with a NilClass exception when performing pre-run checks in the Transaction class, as the catalog now contains a nil vertex. Desired Behavior: Running the following does not error:  
 
 
 
 
 > touch /tmp/asd  
 
 
 > puppet resource tidy /tmp/asd age=0 --trace
  
 
 
 
  Actual Behavior: Running the above example gives the following error: