Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
c8204751
Commit
c8204751
authored
May 30, 2013
by
Jason Bau
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment out facter and re-add datadog_api to make script run
parent
6f03cca1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
fabfile/git.py
+8
-8
package_data.yaml
+3
-0
No files found.
fabfile/git.py
View file @
c8204751
...
...
@@ -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
()
...
...
package_data.yaml
View file @
c8204751
# 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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment