Skip to content

Instantly share code, notes, and snippets.

@jaybocc2
Created July 22, 2015 21:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaybocc2/200273cf4a61aee78529 to your computer and use it in GitHub Desktop.
Save jaybocc2/200273cf4a61aee78529 to your computer and use it in GitHub Desktop.
#!py
def run():
config = {}
config['datadog_package'] = {
'pkgrepo.managed': [
{'humanname': 'Datadog PPA'},
{'name': 'deb http://apt.datadoghq.com/ stable main'},
{'file': '/etc/apt/sources.list.d/datadog.list'},
{'keyid': 'C7A7DA52'},
{'keyserver': 'keyserver.ubuntu.com'},
{'require': [{'pkg': 'core_packages'}]}
],
'pkg.latest': [
{'name': 'datadog-agent'},
{'refresh': True},
{'require': [{'pkg': 'core_packages'}]}
],
}
return config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment