Do you mean from the Puppet GUI ? If so, there is an API to do that.
On Tue, Sep 1, 2020 at 9:29 AM Vinay Korrapati wrote:
> Hi Team,
>
> Is there any possibility to trigger the puppet task/plan from puppet
> profile ?
>
> Regards
> Vinay
>
> --
> You received this message because you are subsc
Hi clare,
Thanks for your response. Not from puppet GUI, its from puppet profile.
Can we call the puppet task/plan from manifest file ?
On Wednesday, September 2, 2020 at 1:48:15 AM UTC+5:30 clare...@gmail.com
wrote:
> Do you mean from the Puppet GUI ? If so, there is an API to do that.
>
> O
Hi Vinay,
This is pretty horrible but you can do something like this:
exec { 'bolt task run foo::bar -t localhost':
path => '/opt/puppetlabs/bolt/bin:/usr/bin',
creates => '/some/path',
}
but at that point you may as well exec the task's script directly. The
above assumes the task has alread