Connecting Visual Studio Team Services to Code Manager in Puppet Enterprise

Create a VSTS account

  1. Create a free account on visualstudio.com.
  2. Create a new project. For Version Control choose Git.

Install Code Manager in Puppet Enterprise

  1. Log into your puppet master. Run the following command as a root user:
    puppet module install beersy-pe_code_manager_easy_setup
  2. Open the PE Console and click on the Tasks link on the left navigation, and select the pe_code_manager_easy_setup task.
  3. Specify HTTPS url from step 5 above (ex. https://alias:password@abirpuppet.visualstudio.com/MyFirstProject/_git/control-repo). You will need to put the username and password in the URL unless it’s a public repo.†
High Five!

Doing a code deploy

Obtain an access token

Deploying code from the command line:

Deploying code from the PE Console:

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store