From fc69d12e8ff9cf5d3ba3a38652d1fecd1d72c1bf Mon Sep 17 00:00:00 2001 From: Amndeep Singh Mann Date: Thu, 12 Dec 2024 18:28:41 -0500 Subject: [PATCH] Advanced 5 - Updated git to my_git Signed-off-by: Amndeep Singh Mann --- src/courses/advanced/05.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/courses/advanced/05.md b/src/courses/advanced/05.md index 5c50d7c87..946311028 100644 --- a/src/courses/advanced/05.md +++ b/src/courses/advanced/05.md @@ -149,7 +149,7 @@ inspec exec my_git ```bash Redirecting to cinc-auditor... -[2023-02-22T03:21:41+00:00] ERROR: Failed to load profile git: Failed to load source for controls/example.rb: undefined method `git' for # +[2023-02-22T03:21:41+00:00] ERROR: Failed to load profile my_git: Failed to load source for controls/example.rb: undefined method `git' for # Profile: InSpec Profile (my_git) Version: 0.1.0 @@ -197,7 +197,7 @@ inspec exec my_git @tab Output ```bash -[2023-02-22T03:25:57+00:00] ERROR: Failed to load profile git: Failed to load source for controls/example.rb: wrong number of arguments (given 1, expected 0) +[2023-02-22T03:25:57+00:00] ERROR: Failed to load profile my_git: Failed to load source for controls/example.rb: wrong number of arguments (given 1, expected 0) Profile: InSpec Profile (my_git) Version: 0.1.0 @@ -473,7 +473,7 @@ Invoking the InSpec shell with `inspec shell` will give you access to all the co @tab Command ```sh -inspec shell --depends git +inspec shell --depends my_git ``` @tab Output ```sh @@ -506,4 +506,4 @@ inspec shell --depends my_git/libraries If you edit the resource class file, you'll need to exit the shell and re-launch it for the updates to be available. -From here, we can examine our custom resource in a sandbox in the same way that we do with core resources. \ No newline at end of file +From here, we can examine our custom resource in a sandbox in the same way that we do with core resources.