This repository has been archived by the owner on Oct 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #23 from ripienaar/19.2
(#19) use choria broker instead of nats and other small fixes
- Loading branch information
Showing
10 changed files
with
448 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
|
||
puppet module install choria-choria | ||
puppet module install puppetlabs-apache | ||
puppet module install puppetlabs-ntp | ||
puppet module install puppetlabs-puppetdb | ||
puppet module install puppetlabs-puppet_authorization | ||
puppet module install camptocamp-puppetserver | ||
puppet module install camptocamp-puppetserver --ignore-dependencies | ||
puppet module install saz-limits | ||
|
35 changes: 35 additions & 0 deletions
35
...ironment/puppet/modules/mcollective_agent_emulator/files/mcollective/agent/emulated0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"$schema": "https://choria.io/schemas/mcorpc/ddl/v1/agent.json", | ||
"metadata": { | ||
"name": "emulated0", | ||
"description": "Choria Agent emulated by choria-emulator", | ||
"author": "R.I.Pienaar <[email protected]>", | ||
"license": "Apache-2.0", | ||
"version": "0.0.1", | ||
"url": "http://choria.io", | ||
"timeout": 120 | ||
}, | ||
"actions": [ | ||
{ | ||
"action": "generate", | ||
"input": { | ||
"size": { | ||
"prompt": "Size", | ||
"description": "Amount of text to generate", | ||
"type": "integer", | ||
"default": 20, | ||
"optional": true | ||
} | ||
}, | ||
"output": { | ||
"message": { | ||
"description": "Generated Message", | ||
"display_as": "Message", | ||
"default": null | ||
} | ||
}, | ||
"display": "failed", | ||
"description": "Generates random data of a given size" | ||
} | ||
] | ||
} |
Oops, something went wrong.