Skip to content
This repository has been archived by the owner on Jan 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #589 from ripienaar/0150
Browse files Browse the repository at this point in the history
(misc) Release 0.15.0
  • Loading branch information
ripienaar authored May 27, 2019
2 parents 12790fc + 0305e09 commit 550578b
Show file tree
Hide file tree
Showing 12 changed files with 106 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
|Date |Issue |Description |
|----------|------|---------------------------------------------------------------------------------------------------------|
|2019/05/27| |Release 0.15.0 |
|2019/05/27| |Release 0.15.0 |
|2019/05/02|585 |Add support for Choria Autonomous Agents |
|2019/03/19|583 |Fix path expansion for token locations with `~` in them |
|2019/03/04| |Release 0.14.1 |
|2019/03/04| |Require the latest choria-mcorpc-support gem |
|2019/03/04| |Release 0.14.0 |
Expand Down
2 changes: 1 addition & 1 deletion lib/mcollective/agent/bolt_tasks.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ metadata :name => "bolt_tasks",
:description => "Downloads and runs Puppet Tasks",
:author => "R.I.Pienaar <rip@devco.net>",
:license => "Apache-2.0",
:version => "0.14.1",
:version => "0.15.0",
:url => "https://choria.io",
:timeout => 60

Expand Down
2 changes: 1 addition & 1 deletion lib/mcollective/agent/choria_util.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ metadata :name => "choria_util",
:description => "Choria Utilities",
:author => "R.I.Pienaar <rip@devco.net>",
:license => "Apache-2.0",
:version => "0.14.1",
:version => "0.15.0",
:url => "https://choria.io",
:timeout => 20

Expand Down
91 changes: 91 additions & 0 deletions lib/mcollective/agent/choria_util.json
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,97 @@
]
}
]
},
{
"action": "machine_states",
"input": {
},
"output": {
"machine_names": {
"description": "List of running machine names",
"display_as": "Machine Names",
"default": null
},
"machine_ids": {
"description": "List of running machine IDs",
"display_as": "Machine IDs",
"default": null
},
"states": {
"description": "Hash map of machine statusses indexed by machine ID",
"display_as": "Machine States",
"default": null
}
},
"display": "always",
"description": "States of the hosted Choria Autonomous Agents",
"aggregate": [
{
"function": "summary",
"args": [
"machine_names"
]
}
]
},
{
"action": "machine_transition",
"input": {
"instance": {
"prompt": "Instance ID",
"description": "Machine Instance ID",
"type": "string",
"default": null,
"optional": true,
"validation": "^.+-.+-.+-.+-.+$",
"maxlength": 36
},
"version": {
"prompt": "Version",
"description": "Machine Version",
"type": "string",
"default": null,
"optional": true,
"validation": "^\\d+\\.\\d+\\.\\d+$",
"maxlength": 20
},
"name": {
"prompt": "Name",
"description": "Machine Name",
"type": "string",
"default": null,
"optional": true,
"validation": "^[a-zA-Z][a-zA-Z0-9_-]+",
"maxlength": 128
},
"path": {
"prompt": "Path",
"description": "Machine Path",
"type": "string",
"default": null,
"optional": true,
"validation": ".+",
"maxlength": 512
},
"transition": {
"prompt": "Transition Name",
"description": "The transition event to send to the machine",
"type": "string",
"default": null,
"optional": false,
"validation": "^[a-zA-Z][a-zA-Z0-9_-]+$",
"maxlength": 128
}
},
"output": {
"success": {
"description": "Indicates if the transition was succesfully accepted",
"display_as": "Accepted",
"default": null
}
},
"display": "failed",
"description": "Attempts to force a transition in a hosted Choria Autonomous Agent"
}
]
}
2 changes: 1 addition & 1 deletion lib/mcollective/agent/rpcutil.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ metadata :name => "rpcutil",
:description => "General helpful actions that expose stats and internals to SimpleRPC clients",
:author => "R.I.Pienaar <rip@devco.net>",
:license => "Apache License, Version 2.0",
:version => "0.14.1",
:version => "0.15.0",
:url => "https://docs.puppetlabs.com/mcollective/",
:timeout => 10

Expand Down
2 changes: 1 addition & 1 deletion lib/mcollective/connector/nats.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ metadata :name => "nats",
:description => "Connector plugin for NATS.io middleware",
:author => "R.I.Pienaar <rip@devco.net>",
:license => "Apache-2.0",
:version => "0.14.1",
:version => "0.15.0",
:url => "https://github.com/choria-io",
:timeout => 60

Expand Down
2 changes: 1 addition & 1 deletion lib/mcollective/data/bolt_task_data.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ metadata :name => "bolt_task",
:description => "Information about past Bolt Task",
:author => "R.I.Pienaar <rip@devco.net>",
:license => "Apache-2.0",
:version => "0.14.1",
:version => "0.15.0",
:url => "https://choria.io",
:timeout => 1

Expand Down
2 changes: 1 addition & 1 deletion lib/mcollective/discovery/choria.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ metadata :name => "choria",
:description => "PuppetDB based discovery for the Choria plugin suite",
:author => "R.I.Pienaar <rip@devco.net>",
:license => "Apache-2.0",
:version => "0.14.1",
:version => "0.15.0",
:url => "https://github.com/choria-io",
:timeout => 0

Expand Down
2 changes: 1 addition & 1 deletion lib/mcollective/util/choria.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class UserError < StandardError; end
class Abort < StandardError; end

unless defined?(Choria::VERSION) # rubocop:disable Style/IfUnlessModifier
VERSION = "0.14.1".freeze
VERSION = "0.15.0".freeze
end

attr_writer :ca
Expand Down
2 changes: 1 addition & 1 deletion lib/mcollective/validator/bolt_task_name_validator.ddl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ metadata :name => "bolt_task_name",
:description => "Validates that a string matches Bolt Task Name",
:author => "R.I.Pienaar <rip@devco.net>",
:license => "Apache-2.0",
:version => "0.14.1",
:version => "0.15.0",
:url => "https://choria.io",
:timeout => 1
2 changes: 1 addition & 1 deletion module/choria/metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "choria-mcollective_choria",
"version": "0.14.1",
"version": "0.15.0",
"author": "R.I.Pienaar <rip@devco.net>",
"summary": "A suite of MCollective Plugins for AIO Puppet",
"license": "Apache-2.0",
Expand Down
4 changes: 2 additions & 2 deletions module/tasks/metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "choria-mcollective_agent_bolt_tasks",
"version": "0.14.1",
"version": "0.15.0",
"author": "R.I.Pienaar <rip@devco.net>",
"summary": "Puppet Tasks integration for Choria",
"license": "Apache-2.0",
Expand All @@ -9,7 +9,7 @@
"issues_url": "https://github.com/choria-io/mcollective-choria/issues",
"dependencies": [
{ "name": "choria/mcollective","version_requirement":">= 0.9.0 < 2.0.0"},
{ "name": "choria/mcollective_choria","version_requirement":"0.14.1"}
{ "name": "choria/mcollective_choria","version_requirement":"0.15.0"}
],
"requirements": [
{
Expand Down

0 comments on commit 550578b

Please sign in to comment.