Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Commit

Permalink
Add copr repo
Browse files Browse the repository at this point in the history
COPR Module: managerforlustre/server-profile-fixes

Signed-off-by: Joe Grund <[email protected]>
  • Loading branch information
jgrund committed May 16, 2019
1 parent 30aa3f6 commit e973bbd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chroma_core/models/host.py
Original file line number Diff line number Diff line change
Expand Up @@ -1019,7 +1019,7 @@ def run(self, kwargs):
host = kwargs["host"]
server_profile = kwargs["server_profile"]

self.invoke_agent_expect_result(host, "set_profile", {"profile": server_profile.as_dict})
self.invoke_agent_expect_result(host, "set_profile", {"profile_json": json.dumps(server_profile.as_dict)})

job_scheduler_notify.notify(host, tznow(), {"server_profile_id": server_profile.id})

Expand Down Expand Up @@ -1482,7 +1482,7 @@ class UpdateProfileStep(RebootIfNeededStep):
database = True

def run(self, kwargs):
self.invoke_agent(kwargs["host"], "update_profile", {"profile_json": json.dumps(kwargs["profile"].as_dict)})
self.invoke_agent(kwargs["host"], "update_profile", {"profile": kwargs["profile"].as_dict})


class UpdateYumFileStep(RebootIfNeededStep):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ fi
# add any repos needed by the test
if [ -n \"$STORAGE_SERVER_REPOS\" ]; then
for repo in $STORAGE_SERVER_REPOS; do
echo -en "\n" >> /usr/share/chroma-manager/base.repo;
{
echo
curl \"\$repo\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -211,6 +211,8 @@ fi
if [ -n \"$STORAGE_SERVER_REPOS\" ]; then
REPOS=\"$STORAGE_SERVER_REPOS\"
for repo in \$REPOS; do
echo -en "\n" >> /usr/share/chroma-manager/base.repo;
{
echo
curl \"\$repo\"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ fi
# add any repos needed by the test
if [ -n \"$STORAGE_SERVER_REPOS\" ]; then
for repo in $STORAGE_SERVER_REPOS; do
echo -en "\n" >> /usr/share/chroma-manager/base.repo;
{
echo
curl \"\$repo\"
Expand Down

0 comments on commit e973bbd

Please sign in to comment.