Skip to content

Commit

Permalink
Added module './test_inventory.cf'
Browse files Browse the repository at this point in the history
  • Loading branch information
craigcomstock committed Sep 28, 2023
1 parent 4194174 commit a5118a2
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
11 changes: 11 additions & 0 deletions cfbs.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,17 @@
"policy_files services/cfbs/docker_inventory.cf",
"bundles docker_inventory"
]
},
{
"name": "./test_inventory.cf",
"description": "Local policy file added using cfbs command line",
"tags": ["local"],
"added_by": "cfbs add",
"steps": [
"copy ./test_inventory.cf services/cfbs/test_inventory.cf",
"policy_files services/cfbs/test_inventory.cf",
"bundles test_inventory"
]
}
],
"git": true
Expand Down
6 changes: 6 additions & 0 deletions test_inventory.cf
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
bundle agent test_inventory
{
vars:
"test_inventory" string => "I am here!",
meta => { "inventory", "attribute_name=Test Inventory" };
}

0 comments on commit a5118a2

Please sign in to comment.