Python-based project of salt stack

0 votes

So, I've been using saltstack for a while now and was wondering that if can use Python instead of YAML. In my opinion pythons is much more clear. But, all the advanced samples I see are building multiple sls yaml files that work together.

I just want to know if there's a way to that I can code mainly in python instead of yaml.

Jun 5, 2018 in Other DevOps Questions by Damon Salvatore
• 5,250 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

you can use python instead of yaml, you just have to follow the data structure.

Go through the these docs to get a better understanding.

general doc on renderers

pure python renederer:

PyObjects renderer:

PyDSL renderer:

answered Jun 5, 2018 by ajs3033
• 7,000 points

Related Questions In Other DevOps Questions

0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,520 points
0 votes
1 answer

Use vagrant to update $PATH of guest vm

Just try the below script: mvm.vm.provision :shell, :inline ...READ MORE

answered May 1, 2018 in Other DevOps Questions by shubham
• 6,480 points
0 votes
1 answer
0 votes
1 answer

Capistrano deploy error saying "end of file reached" while deploying to Ubuntu server

Seems like Capistrano can't connect to the server ...READ MORE

answered Jul 3, 2018 in Other DevOps Questions by Kalgi
• 35,750 points
+13 votes
2 answers
0 votes
1 answer
+1 vote
2 answers

Unable to build TFS project because files not found

Please make a folder in solution Nd ...READ MORE

answered 6 days ago in Other DevOps Questions by Shashikesh Mishra
0 votes
1 answer

How to get results of SonarQube?

You can use sonarqube quality gates which ...READ MORE

answered Jun 8, 2018 in Other DevOps Questions by ajs3033
• 7,000 points

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.