From 55b4dbf090e0840dc08c0e7096c25d41cd9246ff Mon Sep 17 00:00:00 2001 From: Yashodhan Pise Date: Mon, 16 Sep 2024 23:02:45 +0530 Subject: [PATCH 1/2] Update write-cfengine-policy.markdown Command to check the user policy corrected. `cf-agent -cf /var/cfengine/masterfiles/promises.cf` changed to `cf-promises -cf /var/cfengine/masterfiles/my-policy.cf` --- examples/tutorials/write-cfengine-policy.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tutorials/write-cfengine-policy.markdown b/examples/tutorials/write-cfengine-policy.markdown index 8c8169cc1..bf7ebdd8d 100644 --- a/examples/tutorials/write-cfengine-policy.markdown +++ b/examples/tutorials/write-cfengine-policy.markdown @@ -177,7 +177,7 @@ On the policy server you can run the following command to make sure the syntax is correct. ```command -cf-agent -cf /var/cfengine/masterfiles/promises.cf +cf-promises -cf /var/cfengine/masterfiles/my-policy.cf ``` After some period of time (CFEngine runs by default every 5 minutes), log in to From 7e96b6687259e14c4d95766625e2e146cd4faffe Mon Sep 17 00:00:00 2001 From: Yashodhan Pise Date: Mon, 16 Sep 2024 23:06:41 +0530 Subject: [PATCH 2/2] Update write-cfengine-policy.markdown --- examples/tutorials/write-cfengine-policy.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/tutorials/write-cfengine-policy.markdown b/examples/tutorials/write-cfengine-policy.markdown index bf7ebdd8d..703372626 100644 --- a/examples/tutorials/write-cfengine-policy.markdown +++ b/examples/tutorials/write-cfengine-policy.markdown @@ -177,7 +177,7 @@ On the policy server you can run the following command to make sure the syntax is correct. ```command -cf-promises -cf /var/cfengine/masterfiles/my-policy.cf +cf-promises -cf /var/cfengine/masterfiles/promises.cf ``` After some period of time (CFEngine runs by default every 5 minutes), log in to