using curl+api instead of puppet command