Jira (PUP-5460) exec unless/onlyif only try once, even if tries is specified
Title: Message Title Josh Cooper commented on PUP-5460 Re: exec unless/onlyif only try once, even if tries is specified Matthew Mosesohn This should be fairly easy change to make if you are up to it. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-5460) exec unless/onlyif only try once, even if tries is specified
Title: Message Title Josh Cooper updated an issue Puppet / PUP-5460 exec unless/onlyif only try once, even if tries is specified Change By: Josh Cooper Labels: help_wanted triaged Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-5460) exec unless/onlyif only try once, even if tries is specified
Title: Message Title Josh Cooper updated an issue Puppet / PUP-5460 exec unless/onlyif only try once, even if tries is specified Change By: Josh Cooper { { code:puppet} exec { 'test': path=> '/bin:/usr/bin:/usr/local/bin', tries => 5, command => '/bin/true', onlyif=> '/bin/false',} {code } } This should be try onlyif 5 times until it manages to return true. If after $tries tries the exit code is nonzero, it should skip running the command. However, onlyif is evaluated exactly once. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-5460) exec unless/onlyif only try once, even if tries is specified
Title: Message Title Ruth Linehan commented on PUP-5460 Re: exec unless/onlyif only try once, even if tries is specified Thank you for filing this issue. However, we believe this change represents behavior that is not desired. As such, we are closing this as “Won’t Do”. If any watcher believes this is an error, please add a comment explaining. Add Comment This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) -- 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-5460) exec unless/onlyif only try once, even if tries is specified
Title: Message Title Matthew Mosesohn created an issue Puppet / PUP-5460 exec unless/onlyif only try once, even if tries is specified Issue Type: Bug Affects Versions: PUP 3.8.3 Assignee: Kylo Ginsberg Components: Client Created: 2015/10/30 5:02 AM Priority: Normal Reporter: Matthew Mosesohn {{exec { 'test': path => '/bin:/usr/bin:/usr/local/bin', tries => 5, command => '/bin/true', _onlyif_ => '/bin/false', } }} This should be try onlyif 5 times until it manages to return true. If after $tries tries the exit code is nonzero, it should skip running the command. However, onlyif is evaluated exactly once. Add Comment