Skip to content

Instantly share code, notes, and snippets.

@budgester
Created January 10, 2017 09:38
Show Gist options
  • Save budgester/f68ddd9cefbf93f2f4df76b4b7fc1643 to your computer and use it in GitHub Desktop.
Save budgester/f68ddd9cefbf93f2f4df76b4b7fc1643 to your computer and use it in GitHub Desktop.
CHEF DSC Example
dsc_resource 'Change User on TeamCity Agent Service' do
resource :service
property :ensure, 'Present'
property :name, SERVICE_NAME
property :credential, ps_credential("test@domain", "password")
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment