Ask Your Question
0

Can puppet task combined with manifests?

asked 2017-12-20 04:27:24 -0500

Mr_Sharma gravatar image

PE 2017.3

I have a requirement where I need to use puppet task and manifests both. E.g. I need to update config files and execute some scripts. Do we have functionality using which we can do following:

1. Call manifest from puppet task or vice-versa?
2. Use output from one task as an input for another tasks?
3. Can we set the order/sequence of Puppet task execution?

Please let me know if we can leverage more out of Puppet task feature.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-02-04 04:28:01 -0500

Henrik Lindberg gravatar image
  1. You can run puppet from a task - so, yes
  2. That is what a (Task) Plan is - you can do this with Bolt. Plans are written in the puppet language
  3. That is what a Plan is for (executing tasks in some order)
edit flag offensive delete link more

Comments

I guess, Bolt is not part of PE. I understand what Bolt does and the same functionality can be achieved in PE? I hope in near future features like Bolt would be part of PE to implement the process of deployment and configuration together.

Mr_Sharma gravatar imageMr_Sharma ( 2018-02-04 23:04:06 -0500 )edit

you can use the 'puppet task' command to do what 'bolt' does, with PE iirc from watching pconf talks

DarylW gravatar imageDarylW ( 2018-02-05 11:25:13 -0500 )edit

https://puppet.com/blog/easily-automate-ad-hoc-work-new-puppet-tasks

DarylW gravatar imageDarylW ( 2018-02-05 11:27:46 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2017-12-20 04:27:24 -0500

Seen: 132 times

Last updated: Feb 04