This module contains tools for managing and configuring SQL resources. The module contains each of the following:
rsTeamCityAgent TeamCity
{
AgentName = $node
AgentPath = C:\buildAgent
AgentPort = 9090
ServerURL = "http://localhost:8111/"
Ensure = "Present"
}
check a folder for presence of a key file (e.g. web.config)
if present, do nothing
if not present, submit HTTP request using basic auth to team city server api
rsTeamCityBuild test1 { Name = "prod1" CheckFile = "C:\inetpub\wwwroot\test.txt" TeamCityAPIBuild = "https://23.253.104.253/httpAuth/action.html?add2Queue=Test1_80" TeamCityUser = "admin" TeamCityPass = "blahblah" Ensure = "Present" DependsOn = @("[msWebsite]jmad_rackspacedevops_com") }