Commit c8204751 by Jason Bau

comment out facter and re-add datadog_api to make script run

parent 6f03cca1
......@@ -258,14 +258,14 @@ def deploy(auto_migrate=False):
# drop a file for puppet so it knows that
# code is installed for the service
with cd('/etc/facter/facts.d'):
pkg_config = PackageInfo()
if pkg.repo_name in pkg_config.service_repos:
# facts can't have dashes so they are converted
# to underscores
noopable(sudo)(
'echo "{0}_installed=true" > {0}_installed.txt'.format(
pkg.repo_name.replace("-", "_")))
# with cd('/etc/facter/facts.d'):
# pkg_config = PackageInfo()
# if pkg.repo_name in pkg_config.service_repos:
# # facts can't have dashes so they are converted
# # to underscores
# noopable(sudo)(
# 'echo "{0}_installed=true" > {0}_installed.txt'.format(
# pkg.repo_name.replace("-", "_")))
pkg_version()
......
# datadog integration configuration
datadog_api: ''
# repo_dirs : Exhaustive list of repo-dirs and their corresponding repo-names
# the repos are specified by basename(repo_dir), therefore basename(repo_dir)
# under repo_dirs must be unique.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment