Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Josh Cooper commented on PUP-1963 Re: Generated resources never receive dependency edges This also causes a regression in tidy: $ mkdir -p /tmp/tidy/foo/bar/baz $ git checkout fd3732b3328134f145e68ddfda2a5273abe9dd12 ... $ bundle exec puppet apply -e 'tidy { "/tmp/tidy/foo": matches => "*", recurse => true, rmdirs => true}' --graph --trace Notice: Compiled catalog for XXX in environment production in 0.07 seconds Notice: /Stage[main]/Main/Tidy[/tmp/tidy/foo]: Tidying 3 files Error: Failed to apply catalog: Could not find dependency File[/tmp/tidy/foo/bar] for File[/tmp/tidy/foo] /Users/josh/work/puppet/lib/puppet/util/errors.rb:106:in `fail' /Users/josh/work/puppet/lib/puppet/type.rb:1491:in `block in validate_relationship'
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Jonathan Tripathy commented on PUP-1963 Re: Generated resources never receive dependency edges Folks, what was the status of this ticket? We are currently seeing an issue in the firewall module, where purging doesn't work properly (use the resources metatype), if the iptables package isn't installed. The firewall class is supposed to install the iptables package, however regardless of the before/require metaparam includes, the generated resources are always executed first. Thanks Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley commented on PUP-1963 Re: Generated resources never receive dependency edges Jonathan Tripathy A version of this was released in puppet-agent 1.3.0 (Puppet 4.3) that tried to dance between allowing relationships for generated resources and still match the "documented" behavior of purged resources. It should work for that particular case, where you want to have purged resources depend on another resource. If you've upgraded to that version and it's not working for you (or working worse than it did with older Puppet versions) please let me know. In the next couple weeks I'll be tackling PUP-4748 to completely remove the checks around relationships of purged resources, and that should go out to the world in puppet-agent 1.4.0 with Puppet 4.4 Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley commented on PUP-1963 Re: Generated resources never receive dependency edges Given that our previous behavior was to allow dependencies and silently ignore notifies, I'm kind of inclined to just do PUP-4647. Even though option 2 is more "correct" to our current documented behavior, it might still cause brekages for other users who have managed to accidentally order a resource purge while the check was unenforced. Since we want to eventually get rid of the check anyway, I think going from "ordering allowed but notifies don't work" to "all ordering metaparameters work as expected" is a way better move than "fixing" the documented purges-can't-be-ordered behavior. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley commented on PUP-1963 Re: Generated resources never receive dependency edges I'm going to start with a simple example, and work up to what happens with stages. Previously, the following catalog: resources{ 'host': purge => true } -> exec { 'reboot': path => '/sbin' } Would create the following graph, with the evaluation order below it. Note that the graph doesn't actually contain the edges for the Exec dependency, even though they are guaranteed to evaluate immediately after the Resources resource, and thus the edge can be said to be implied. Whit[Admissible_stage[main]] --> Resources[host] > Whit[Completed_stage[main]]
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Eric Sorenson commented on PUP-1963 Re: Generated resources never receive dependency edges I've just read through the updates from Curtis Ruck and others and am trying to figure out what to do about this; if it's true that we were wrong about the initial impact of fixing this but not implementing PUP-4748 (i.e. only doing this ticket's scope caused a semver-major breaking change), then I would support pulling the PUP-4748 work into a Puppet 4.x release and not waiting for another major release cycle (or alternately, calling whatever release that goes out in "Puppet 5.0" and documenting the two things together as being a break). In any event since this change caused problems both for concat and purge I would like to complete the proposed changes soon-ish if possible. OTOH if the behaviour Curtis is seeing is a bug as-implemented and not part of PUP-4748 we should address that - Branan Riley any idea what it would take to ascertain whether or not that's the case? Does Curtis' repro case help with that? Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Thomas Mueller commented on PUP-1963 Re: Generated resources never receive dependency edges Curtis Ruck maybe you could work around the following way: create a script to check a trigger file and use it as your postrun_command: puppet config set postrun_command="my-reboot-checker-script" instead of using the exec to reboot, create a trigger file to signal the postrun-command: exec{'trigger-reboot-with-postrun-command': command =>'touch /var/run/puppet-reboot-required', refreshonly=>true, } Add Comment
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Curtis Ruck commented on PUP-1963 Re: Generated resources never receive dependency edges Put some hostfile entries in your /etc/hosts and run puppet apply --modulepath . -v bug.pp bug/manifests/reboot.pp class bug::reboot { exec{'reboot': path=>'/sbin', refreshonly=>true, } } bug/manifests/stages.pp class bug::stages { stage{'reboot': require=>Stage['main'],
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Charlie Sharpsteen commented on PUP-1963 Re: Generated resources never receive dependency edges Alexander Johnson: I think they're running into PUP-4748 which was a related issue that we split off from this one and deferred for Puppet 5. Basically, purge resources refuse to execute if they have downstream dependencies — that was the original intent of the purge design from the day it was implemented (waaay back in the past, in a 0.x release). However, purged resources are also generated so, due to this bug, they never received a certain set of dependencies that could trigger that old design decision. Now that this issue is resolved, PUP-4748 is becoming a problem in a larger set of circumstances. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Curtis Ruck commented on PUP-1963 Re: Generated resources never receive dependency edges We are running puppet 4.3.1. So, by having a bug, for 4-5 years, fixing that, by changing functionality (by not doing #2, PUP-4748), creates a breaking change. All I'd like is that someone agree that this PUP-1963 created a breaking change (even if it fixes a long standing issue). If we can get PUP-1963 annotated as creating a breaking change, then PUP-4748 can be prioritized for 4.x something since it restores functionality that was broken by PUP-1963 . Without PUP-4748, I have no way to do any resource purging which is one of the bigger reasons we use puppet. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley commented on PUP-1963 Re: Generated resources never receive dependency edges Curtis Ruck I'm sorry about the regression with stages. Apparently you've found a gap in our test coverage. If you can send a small reproduction case (ideally attached to a new bug) I'll take a look at it ASAP. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley commented on PUP-1963 Re: Generated resources never receive dependency edges Charlie Sharpsteen PUP-4748 shouldn't hit stages, as those are containment edges that are converted to whits (which I explicitly ignored when checking if a purged resource has edges). I'm actually super curious what's going on here, but it does smell like a bug outside the scope of PUP-4748 to me. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Curtis Ruck commented on PUP-1963 Re: Generated resources never receive dependency edges This introduced a breaking change. If you use stages, and you use resource purging, and you do resource purging in any stage but the last, you now trigger PUP-4748. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Curtis Ruck commented on PUP-1963 Re: Generated resources never receive dependency edges I'm actually exceedingly frustrated by this. We have about 45 different types that we purge on, these purges are sandwiched between a few stages (i.e. a pre, and post stage). I'd look at flattening the post stage into the main stage as a fix, but it contains a refreshonly=true Exec['reboot'], and using stages is the only way we've found to ensure it goes last. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Alexander Johnson commented on PUP-1963 Re: Generated resources never receive dependency edges Hi Curtis Ruck - What version of Puppet are you using? This was fixed in Puppet 4.3. Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Sean Griffin updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Sean Griffin QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.12#64027-sha1:e3691cc) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Sprint: Client 2015-09-16, Client 2015-09-30, Client 2015-10-14, Client 2015-10-28 , Client 2015-11-11 Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Tony Vu commented on PUP-1963 Re: Generated resources never receive dependency edges Setting up a dummy type and provider namded hodor, I was able to prove the dependency edge gets created with following snippets code. Dummy hodor code Puppet::Type.newtype(:hodor) do @doc = "hodortypedoc" ensurable newparam(:name) do desc "namevar" end end Puppet::Type.type(:hodor).provide(:posix) do
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title John Duarte assigned an issue to Tony Vu Puppet / PUP-1963 Generated resources never receive dependency edges Change By: John Duarte Assignee: qa Tony Vu Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Branan Riley Release Notes: Bug Fix Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Branan Riley Release Notes Summary: Resources created by another type (via the `generate` method) will now have any relationship metaparams respected, and will participate in `autorequire` Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Michael Smith commented on PUP-1963 Re: Generated resources never receive dependency edges Branan Riley can you update the release notes? Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Josh Cooper assigned an issue to qa Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Josh Cooper Status: Ready for CI Test Assignee: Michael Smith qa Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Sprint: Client 2015-09-16, Client 2015-09-30, Client 2015-10-14 , Client 2015-10-28 Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Michael Smith assigned an issue to Unassigned Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Michael Smith Assignee: Michael Smith Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Michael Smith assigned an issue to Michael Smith Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Michael Smith Assignee: Michael Smith Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Michael Smith assigned an issue to Michael Smith Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Michael Smith Assignee: Michael Smith Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Eric Thompson commented on PUP-1963 Re: Generated resources never receive dependency edges risk is independent of test-level. good coverage at unit-level is great. but medium risk implies we should still manually validate against full stack. Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Eric Thompson updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Eric Thompson QA Highest Test Level: Unit QA Risk Assessment: Medium QA Risk Probability: Low QA Risk Severity: Medium QA Contact: Narmadha Perumal Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Sprint: Client 2015-09-16, Client 2015-09-30 , Client 2015-10-14 Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Sprint: Client 2015-09-16 , Client 2015-09-30 Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Branan Riley Scope Change Reason: bandwidth Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Branan Riley Scope Change Category: Adopted Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Branan Riley Sprint: Client 2015-09- 30 16 Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Branan Riley assigned an issue to Branan Riley Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Branan Riley Assignee: Kylo Ginsberg Branan Riley Add Comment This message was sent by Atlassian JIRA (v6.4.11#64026-sha1:78f6ec4) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Sprint: Client2015- 10 09 - 14 30 Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Sprint: Client2015-10-14 Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Kylo Ginsberg Sprint: Client2015-09-02 Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Sprint: Client2015- 08 09 - 19 02 Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Sprint: Client2015-08-19 Add Comment This message was sent by Atlassian JIRA (v6.4.5#64020-sha1:78acd6c) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Jonathan Tripathy commented on PUP-1963 Re: Generated resources never receive dependency edges This also affect the autorequire of those generated types: i.e. autorequire is never evaluated for those generated types. Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Jonathan Tripathy updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Jonathan Tripathy Priority: Normal Blocker Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Eric Sorenson updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Eric Sorenson Fix Version/s: PUP5.0.0 Fix Version/s: PUP4.3.0 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Kylo Ginsberg I'vepreservedtheoriginaldescriptionbelowforposterity.Notehoweverthatthisissueisnowtrackingonlythefirst(oftwo)issuesdescribedintheoriginalproblemreport.- FirstoffIwillquicklyexplainwhatitisI'mtryingtodo.Ihaveinstalledthepuppetlabs-apache-0.0.3modulethatprovidesanewtypecalleda2mod.Mygoalistousevirtualresourcestocollectalistofmodulestoenable/disableonanode.Iwouldalsohowever,liketoensurethatallotherapachemodulesaredisabledonthesystem.Ifoundtheresourcestypehasapurgeoption.Ithenupdatedtheprovidertohaveaninstancessectionsinceitdidnothaveone.Itlookslikethis:{code}classselfattr_accessor:defpathend@defpath=/etc/apache2/mods-available/defself.instancesself.defpath=[self.defpath]unlessself.defpath.is_a?Arrayinstances=[]self.defpath.eachdo|path|unlessFileTest.directory?(path)Puppet.debugApachemodulepath%sdoesnotexist%pathnextendcheck=[:ensure]ifpublic_method_defined?:enabled?check:enableendDir.entries(path).eachdo|name|ifname=~/.load/name=name.sub(.load,)instancesnew(:name=name,:path=path)endendendinstancesend{code}Ithenusedtheresourcestypetopurgeoutunusedapachemodules.ThisseeminglydoesthejobIwantedittodo.However,Iwantedtonotifymyapachetorestartifithaddisabledanymodules.Iaddedthenotifymetaparametertotheconfigurationbutitwouldnevernotify.{code}resources{'a2mod':tag='modtest',notify=Exec['apache2reload'],purge=true,loglevel='notice'}{code}Ithentriedtoaddatagfortestingpurposesanditwouldnotseethetagbeingset.Icouldhoweveruseloglevelbutitwouldseemothermetaparameterswouldnotworkproperly.I'massumingthatallparametersonhttp://docs.puppetlabs.com/references/stable/metaparameter.htmlshouldbeavailabletotheresourcestypeasindicatedbythedocumentationfortheresourcestype.So,I'mwantingtounderstandifallmetaparametersshouldworkwiththeresourcestypeornot.And,isthereanypossiblewaytodoapurgethatwouldallowmetodoanotifyofanotherresource. Add Comment This message was sent by
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Kylo Ginsberg Component/s: BreakingChange Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Kylo Ginsberg commented on PUP-1963 Re: Generated resources never receive dependency edges Per Charlie's analysis above, I've broken this into two issues: PUP-1963 (this one), not a breaking change, matches the original summary, targeted at 4.3.0 PUP-4748, which is a breaking change, targeted at 5.0.0 Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Thomas Mueller commented on PUP-1963 Re: Generated resources never receive dependency edges puppetlabs-concat = 2.0.1 is affacted by this bug (MODULES-2104) Add Comment This message was sent by Atlassian JIRA (v6.3.15#6346-sha1:dbc023d) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Charlie Sharpsteen commented on PUP-1963 Re: Generated resources never receive dependency edges Steve Barlow: This should happen in a major release and not a feature release such as 4.1.0 as it will change the structure of catalogs and behavior of agents processing those catalogs. Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Fix Version/s: PUP4.1.0 Fix Version/s: PUP5.0.0 Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Component/s: BreakingChange Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Kylo Ginsberg Scrum Team: ClientPlatform Add Comment This message was sent by Atlassian JIRA (v6.3.10#6340-sha1:7ea293a) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Steve Barlow updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Steve Barlow Story Points: 3 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Matt Palmer commented on an issue Re: Generated resources never receive dependency edges No point; I don't sign CLAs. Add Comment Puppet / PUP-1963 Generated resources never receive dependency edges First off I will quickly explain what it is I'm trying to do. I have installed the puppetlabs-apache-0.0.3 module that provides a new type called a2mod. My goal is to use virtual resources to collect a list of modules to enable/disable on a node. I would also however, like to ensure that all other apache modules are disabled on the system. I found the... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Kylo Ginsberg commented on an issue Re: Generated resources never receive dependency edges Matt Palmer thanks for checking that out! Would you mind submitting the patch as a pull request? Add Comment Puppet / PUP-1963 Generated resources never receive dependency edges First off I will quickly explain what it is I'm trying to do. I have installed the puppetlabs-apache-0.0.3 module that provides a new type called a2mod. My goal is to use virtual resources to collect a list of modules to enable/disable on a node. I would also however, like to ensure that all other apache modules are disabled on the system. I found the... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Matt Palmer commented on an issue Re: Generated resources never receive dependency edges This is trivially fixed by adding the relationship edges to the relationship graph in `Puppet::Transaction::AdditionalResourceGenerator#add_resource`, in exactly the same way that `Puppet::Graph::RelationshipGraph#build_manual_dependencies` does it. I've patched my local implementation in this fashion, and it resolves the bug quite satisfactorily. Add Comment Puppet / PUP-1963 Generated resources never receive dependency edges First off I will quickly explain what it is I'm trying to do. I have installed the puppetlabs-apache-0.0.3 module that provides a new type called a2mod. My goal is to use virtual resources to collect a list of modules to enable/disable on a node. I would also however, like to ensure that all other apache modules are disabled on the system. I found the... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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-1963) Generated resources never receive dependency edges
Title: Message Title Charlie Sharpsteen commented on an issue Re: Generated resources never receive dependency edges I haven't tried to implement either of these two suggestions, but from what I recall of the code: I think #1 could be approached by creating a point during the agent transaction where the relationship graph is explicitly generated rather than doing it lazily the first time the graph is referenced. I can't conceive of any agent transaction that does not include the relationship graph, so it makes sense that this step should be explicit rather than lazy. Once that is done, resolving #1 is a matter of generating the relationship graph after the agent generates additional resources. #2 is pretty simple and just involves the removal of a logic check. Most of the effort here will be in ensuring there wasn't some edge case or obscure reason that caused this check to be created. Add Comment Puppet / PUP-1963 Generated resources never receive dependency edges First off I will quickly explain what it is I'm trying to do. I have installed the puppetlabs-apache-0.0.3 module that provides a new type called a2mod. My goal is to use virtual resources to collect a list of modules to enable/disable on a node. I would also however, like to ensure that all other apache modules are disabled on the system. I found the... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Kylo Ginsberg updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Kylo Ginsberg Fix Version/s: 4.0.0 Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Kylo Ginsberg commented on an issue Re: Generated resources never receive dependency edges Yeah, #2 would be a breaking change so would be nice to get into puppet 4. Charlie Sharpsteen I haven't looked at the code enough to consider what this would take. Have you spiked the implementation for either #1 or #2? Basically I'm wondering about LOE, so if you've investigated enough to warrant a guess, that'd be great. If not, we might want to add an investigating ticket to the board to spike this. (We also might want to break out #1 and #2 into separate tickets, but we that can be part of the investigation.) Add Comment Puppet / PUP-1963 Generated resources never receive dependency edges First off I will quickly explain what it is I'm trying to do. I have installed the puppetlabs-apache-0.0.3 module that provides a new type called a2mod. My goal is to use virtual resources to collect a list of modules to enable/disable on a node. I would also however, like to ensure that all other apache modules are disabled on the system. I found the... This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)
Jira (PUP-1963) Generated resources never receive dependency edges
Title: Message Title Charlie Sharpsteen updated an issue Puppet / PUP-1963 Generated resources never receive dependency edges Change By: Charlie Sharpsteen Summary: Resourcestypeandmetaparametersdon'tseemtowork,specificallynotify. Generatedresourcesneverreceivedependencyedges Add Comment This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede) -- 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 http://groups.google.com/group/puppet-bugs. For more options, visit https://groups.google.com/d/optout.