Hi All,
I have Puppet Master and Windows agent server. I have installed Teamcity CI application, I have to make the Teamcity below REST api automation through Puppet . Below are the API that I want to in Puppet Module, How we can do ?
1. curl -u admin:password \
-X POST \
-d 'test-project1' \
-H 'Content-Type: text/plain' \
http://teamcity:8111/httpAuth/app/rest/projects/
2. curl -u admin:password \
-H "Content-Type: application/xml" \
-d @vcs-root.xml \
-X POST \
http://teamcity:8111/httpAuth/app/rest/vcs-roots/
I have question, How to make it automatically through Puppet ?
↧