Skip to content

Commit 933006e

Browse files
authored
Merge pull request #101 from amadotejada/main
Jamf & Chef workflows
2 parents b1de200 + 5ea5405 commit 933006e

4 files changed

Lines changed: 47 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Manually run a cookbook by name
3+
command: sudo chef client -o recipe['{{cookbook}}']
4+
tags:
5+
- chef
6+
description: Use to run a cookbook manually
7+
arguments:
8+
- name: cookbook
9+
description: Name of the cookbook
10+
source_url: https://docs.chef.io/ctl_chef_client
11+
author: Amado Tejada
12+
author_url: https://github.com/amadotejada
13+
shells: []
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Manually initiate a policy via policy id
3+
command: sudo jamf policy -event "{{policy_id}}" -verbose
4+
tags:
5+
- jamf
6+
description: Use to run a Jamf policy manually
7+
arguments:
8+
- name: policy_id
9+
description: The id number of the Jamf policy
10+
author: Amado Tejada
11+
author_url: https://github.com/amadotejada
12+
shells: []
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
name: Manually initiate a policy via policy trigger name
3+
command: sudo jamf policy -event "{{triggerName}}" -verbose
4+
tags:
5+
- jamf
6+
description: Use to run a Jamf policy manually
7+
arguments:
8+
- name: triggerName
9+
description: Custom trigger name of the Jamf policy
10+
source_url: https://docs.jamf.com/technical-articles/Manually_Initiating_a_Policy.html
11+
author: Amado Tejada
12+
author_url: https://github.com/amadotejada
13+
shells: []
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
name: Manually initiate a recon inventory
3+
command: sudo jamf recon
4+
tags:
5+
- jamf
6+
description: Force a full Jamf inventory from the client
7+
author: Amado Tejada
8+
author_url: https://github.com/amadotejada
9+
shells: []

0 commit comments

Comments
 (0)