Deploy Puppet code

Use deployment policies to control how and when code changes are deployed. You can use built-in deployment policies or create your own custom policies. To apply a deployment policy and deploy code, you can either manually deploy code or use pipelines to automate deployments.

Deployment policies can't be triggered on their own. You specify which policy to use when you Deploy code manually or Deploy code automatically with a pipeline. When you set up a deployment, you also specify a repository, branch, commit, environment, or other parameters that determine where to deploy your code, which version of your code to deploy, and how and where the deployment policy operates.