Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/cf-agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -1395,6 +1395,6 @@ static void NoteBundleCompliance(char *name, int save_pr_kept, int save_pr_repai

bundle_compliance = (delta_pr_kept + delta_pr_repaired) / (delta_pr_kept + delta_pr_notkept + delta_pr_repaired);

CfOut(cf_verbose, "", " -> Aggregate compliance (promises kept/repaired) for bundle \"%s\" = %.1lf%%", name,
bundle_compliance * 100.0);
CfOut(cf_verbose, "", " -> Aggregate compliance (promises kept/repaired) for bundle \"%s\" = %.1lf%%", name, bundle_compliance * 100.0);
LastSawBundle(name,bundle_compliance);
}
2 changes: 1 addition & 1 deletion src/enterprise_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void SetPromiseOutputs(Promise *pp)

/*****************************************************************************/

void LastSawBundle(char *name)
void LastSawBundle(char *name, double comp)
{
}

Expand Down
4 changes: 2 additions & 2 deletions src/generic_agent.c
Original file line number Diff line number Diff line change
Expand Up @@ -1128,7 +1128,7 @@ void BannerBundle(Bundle *bp, Rlist *params)

CfOut(cf_verbose, "", "*****************************************************************\n");
CfOut(cf_verbose, "", "\n");
LastSawBundle(bp->name);

}

/**************************************************************/
Expand Down Expand Up @@ -1156,7 +1156,7 @@ void BannerSubBundle(Bundle *bp, Rlist *params)
}
CfOut(cf_verbose, "", " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *\n");
CfOut(cf_verbose, "", "\n");
LastSawBundle(bp->name);

}

/**************************************************************/
Expand Down
2 changes: 1 addition & 1 deletion src/prototypes3.h
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ void ResetBundleOutputs(char *name);
void SetPromiseOutputs(Promise *pp);
void VerifyOutputsPromise(Promise *pp);
void SpecialQuote(char *topic, char *type);
void LastSawBundle(char *name);
void LastSawBundle(char *name,double compliance);
int GetInstalledPkgsRpath(PackageItem ** pkgList, Attributes a, Promise *pp);
int ExecPackageCommandRpath(char *command, int verify, int setCmdClasses, Attributes a, Promise *pp);
void NewPromiser(Promise *pp);
Expand Down