Jira (PUP-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Eric Thompson QA Highest Test Level: Acceptance Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Eric Thompson updated an issue Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Eric Thompson QA Highest Test Level Reason: covered by orch acceptance Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Sean Griffin updated an issue Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Sean Griffin QA Risk Assessment: Medium QA Status: Reviewed Add Comment This message was sent by Atlassian JIRA (v6.4.13#64028-sha1:b7939e9) -- 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Henrik Lindberg Release Notes Summary: Part of new feature "app management" Release Notes: Not Needed 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Eric Thompson commented on PUP-5275 Re: "produces" statements seem not to work from a puppet agent run validated via setting environment_timeout to 0 and to 60 and to unlimited and running the orchestrator tests on ubuntu1404 against PE 2015.3.0-rc4-115-g3913741. 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Steve Barlow updated an issue Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Steve Barlow Sprint: Language 2015-10-28 , Language 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Thomas Hallgren commented on PUP-5275 Re: "produces" statements seem not to work from a puppet agent run Nick Lewis, there was an easy fix for this. I just had to move the added evaluation of the capability mappings so that it takes place after the evaluation of applications. With that in place, I can place the mapping in a file other than init.pp (tested with your changes). I pushed the fix directly to master as (maint) commit 70bf273. And yes, I also saw the puppetlabs-basehealthcheck problem in my first round of testing but forgot to mention it. Did you enter a JIRA for the missing dependency or should I do that? 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Nick Lewis commented on PUP-5275 Re: "produces" statements seem not to work from a puppet agent run Thomas Hallgren I think the example I gave was a little _too_simple, as we're still seeing this problem in more complex cases. I think because the component in my example was in init.pp, it ends up being loaded early enough for this fix to take effect. If we swap the location of application and component, the problem is still present (which makes sense, since consumes mappings are evaluated during the site evaluation, before most mappings have been): $modules/foo/manifests/init.pp application foo() { foo::component { $name: export => Sql[$name], } } $modules/foo/manifests/component.pp define foo::component() { } Foo::Component produces Sql { } site.pp
Jira (PUP-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Steve Barlow assigned an issue to qa Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Steve Barlow Status: Ready for CI Test Assignee: 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Eric Thompson commented on PUP-5275 Re: "produces" statements seem not to work from a puppet agent run cool. so the test for this, after it gets promoted into PE, is to turn off environment_cache unlimited 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Henrik Lindberg commented on PUP-5275 Re: "produces" statements seem not to work from a puppet agent run merged to master at: 6a6049a 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Thomas Hallgren commented on PUP-5275 Re: "produces" statements seem not to work from a puppet agent run Thanks Nick Lewis. Much appreciated. 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Nick Lewis commented on PUP-5275 Re: "produces" statements seem not to work from a puppet agent run Using module https://github.com/puppetlabs/puppetlabs-sqlhealthcheck: $modules/foo/manifests/init.pp: define foo() { } Foo produces Sql { } $modules/foo/manifests/app.pp: application foo::app() { foo { $name: export => Sql[$name], } } site.pp site {
Jira (PUP-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Thomas Hallgren commented on PUP-5275 Re: "produces" statements seem not to work from a puppet agent run Nick Lewis A simple example that provokes this error would be very helpful. 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Thomas Hallgren assigned an issue to Thomas Hallgren Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Thomas Hallgren Assignee: Thomas Hallgren 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Henrik Lindberg Security: Internal 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Henrik Lindberg updated an issue Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Henrik Lindberg Fix Version/s: PUP 4.3.0 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Nick Lewis updated an issue Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Change By: Nick Lewis Trying to {{export}} a capability when running {{puppet agent}} results in the following error:{code}Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Resource type Site::Pql does not produce Sql on node centos7-1.vm{code}There is a {{Site::Pql produces Sql}} statement in the correct spot (next to the definition), but it seems not to have actually been evaluated.If {{ environment_cache environment_timeout = unlimited}} is enabled and an environment catalog is retrieved first, subsequent agent runs succeed. This seems to indicate that the {{produces}} statements _are_ evaluated when compiling the environment catalog and then cached for the agent run. 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-5275) "produces" statements seem not to work from a puppet agent run
Title: Message Title Nick Lewis created an issue Puppet / PUP-5275 "produces" statements seem not to work from a puppet agent run Issue Type: Bug Assignee: Unassigned Created: 2015/09/22 5:16 PM Priority: Blocker Reporter: Nick Lewis Trying to export a capability when running puppet agent results in the following error: Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Resource type Site::Pql does not produce Sql on node centos7-1.vm There is a Site::Pql produces Sql statement in the correct spot (next to the definition), but it seems not to have actually been evaluated. If environment_cache = unlimited is enabled and an environment catalog is retrieved first, subsequent agent runs succeed. This seems to indicate that the produces statements are evaluated when compiling the environment catalog and then cached for the agent run.