Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Any tool can convert puppet code to ansible code

47 views
Skip to first unread message

rajtheco...@gmail.com

unread,
Jul 24, 2024, 6:00:58 AM7/24/24
to Ansible Development
Hi Team, 

Any tool available can convert puppet code to ansible code,? 

Thanks 
Raj

Rod Oliver

unread,
Jul 24, 2024, 10:24:07 AM7/24/24
to rajtheco...@gmail.com, Ansible Development
ChatGPT?

--
You received this message because you are subscribed to the Google Groups "Ansible Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-deve...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-devel/588f1c6c-a0ab-4b90-9439-4dfab79a1df6n%40googlegroups.com.

Will McDonald

unread,
Jul 24, 2024, 10:37:29 AM7/24/24
to rajtheco...@gmail.com, Ansible Development
Not that I'm aware of, most of your Puppet is likely to be package/file/service pattern[1] modules combined with some Hieradata though. So you're already half way there. You have your desired state already codified. So mapping from Puppet -> Ansible then layering in any orchestration (you may have some Puppet Bolt stuff to port, too.)

Hiera data will largely map to host/group vars.
Puppet modules will largely map to roles.

Wrap in some testing (Inspec/Testinfra/etc.) to ensure the state as generated from Puppet is consistent with the new state generated by Ansible.




--
Reply all
Reply to author
Forward
0 new messages