Re: [Puppet Users] can we call the puppet task/plan from puppet profile ?

2020-09-01 Thread Clarence
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

Re: [Puppet Users] can we call the puppet task/plan from puppet profile ?

2020-09-01 Thread Vinay Korrapati
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

Re: [Puppet Users] can we call the puppet task/plan from puppet profile ?

2020-09-02 Thread Jesse Reynolds
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