Skip to content

Commit 7a4a913

Browse files
authored
Merge pull request #68 from conormurraypuppet/SEN-788-add-implementation-metadata
(SEN-788) Make linux and windows private
2 parents aac1072 + 3082b3f commit 7a4a913

File tree

3 files changed

+9
-15
lines changed

3 files changed

+9
-15
lines changed

tasks/init.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,11 @@
1919
{"name": "init.rb", "requirements": ["puppet-agent"]},
2020
{"name": "windows.ps1", "requirements": ["powershell"], "input_method": "powershell"},
2121
{"name": "linux.sh", "requirements": ["shell"], "input_method": "environment"}
22-
]
22+
],
23+
"extensions": {
24+
"discovery": {
25+
"friendlyName": "Run a shell command",
26+
"type": ["host"]
27+
}
28+
}
2329
}

tasks/linux.json

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
{
22
"description": "Execute an arbitrary shell command (without a puppet agent)",
3+
"private": true,
34
"input_method": "environment",
45
"parameters": {
56
"command": {
67
"description": "The command to run, including all arguments.",
78
"type": "String[1]"
89
}
9-
},
10-
"extensions": {
11-
"discovery": {
12-
"friendlyName": "Run a shell command on Linux",
13-
"osFamily": "linux",
14-
"type": ["host"]
15-
}
1610
}
1711
}

tasks/windows.json

+1-7
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,11 @@
11
{
22
"description": "Execute an arbitrary shell command (without a puppet agent)",
3+
"private": true,
34
"input_method": "powershell",
45
"parameters": {
56
"command": {
67
"description": "The command to run, including all arguments.",
78
"type": "String[1]"
89
}
9-
},
10-
"extensions": {
11-
"discovery": {
12-
"friendlyName": "Run a shell command on Windows",
13-
"osFamily": "windows",
14-
"type": ["host"]
15-
}
1610
}
1711
}

0 commit comments

Comments
 (0)