Skip to content

Commit 1a755f0

Browse files
authored
Merge pull request puppetlabs#86 from conormurraypuppet/SEN-796-move-extension-metadata
(SEN-796) Move extension metadata
2 parents 5527f72 + 3661789 commit 1a755f0

File tree

3 files changed

+7
-15
lines changed

3 files changed

+7
-15
lines changed

tasks/init.json

Lines changed: 7 additions & 1 deletion
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": "Manage service",
26+
"type": ["host"]
27+
}
28+
}
2329
}

tasks/linux.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,5 @@
1111
"description": "The name of the service to operate on.",
1212
"type": "String[1]"
1313
}
14-
},
15-
"extensions": {
16-
"discovery": {
17-
"friendlyName": "Manage service on Linux",
18-
"osFamily": "linux",
19-
"type": ["host"]
20-
}
2114
}
2215
}

tasks/windows.json

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,5 @@
1111
"description": "The short name of the Windows service to operate on.",
1212
"type": "String[1]"
1313
}
14-
},
15-
"extensions": {
16-
"discovery": {
17-
"friendlyName": "Manage service on Windows",
18-
"osFamily": "windows",
19-
"type": ["host"]
20-
}
2114
}
2215
}

0 commit comments

Comments
 (0)