Jira (PUP-9912) Puppet Task formatting

9 views
Skip to first unread message

Patrick Mayes (JIRA)

unread,
Jul 22, 2019, 1:14:02 PM7/22/19
to puppe...@googlegroups.com
Patrick Mayes created an issue
 
Puppet / New Feature PUP-9912
Puppet Task formatting
Issue Type: New Feature New Feature
Assignee: Unassigned
Created: 2019/07/22 10:13 AM
Priority: Normal Normal
Reporter: Patrick Mayes

I want to be able to format Orchestrator parameter descriptions. So for the following task code I want the output to show as:

```
· foo | Enum[production, store_build, store_deploy, collectd]
I want to do stuff with foo.
example: foo : blah
example: foo: non_blah
example, foo:blahdeblahblah
```

```
{
"description": "A task to do awesome stuff",
"input_method": "environment",
"supports_noop": false,
"parameters": {
"foo":

{ "description": "I want to do stuff with foo. example: foo : blah, example: foo: non_blah, example, foo:blahdeblahblah", "type": "Optional[Enum[blah, non_blah, blahdeblahblah, something]]" }

,

"bar":

{ "description": "This stuff does bar stuff. example: QA: kittens, example: PR: boxes, example: NP: nothing", "type": "Optional[Enum[nothing, something, boxes, kittens]]" }

,
"foo_bar":

{ "description": "This is the name of a foo_bar, if things are foo_bar then they're really bad.", "type": "Optional[String[1]]" }

}
}
```

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.7.1#77002-sha1:e75ca93)
Atlassian logo

Patrick Mayes (JIRA)

unread,
Jul 22, 2019, 1:15:02 PM7/22/19
to puppe...@googlegroups.com
Patrick Mayes updated an issue
Change By: Patrick Mayes
I want to be able to format Orchestrator parameter descriptions. So for the following task code I want the output to show as:
{quote}
```
· foo | Enum[production, store_build, store_deploy, collectd]
I want to do stuff with foo.
example: foo : blah
example: foo: non_blah
example, foo:blahdeblahblah
```


```
{
"description": "A task to do awesome stuff",
"input_method": "environment",
"supports_noop": false,
"parameters": {
"foo":
{

{
"description": "I want to do stuff with foo. example: foo : blah, example: foo: non_blah, example, foo:blahdeblahblah",
"type": "Optional[Enum[blah, non_blah, blahdeblahblah, something]]"
}

,

"bar":
{

{
"description": "This stuff does bar stuff. example: QA: kittens, example: PR: boxes, example: NP: nothing",
"type": "Optional[Enum[nothing, something, boxes, kittens]]"
}

,
"foo_bar":
{

{
"description": "This is the name of a foo_bar, if things are foo_bar then they're really bad.",
"type": "Optional[String[1]]"
}

}
}
```


{quote}

Patrick Mayes (JIRA)

unread,
Jul 22, 2019, 1:16:03 PM7/22/19
to puppe...@googlegroups.com
Patrick Mayes updated an issue
I want to be able to format Orchestrator parameter descriptions. So for the following task code I want the output to show as:
{quote}


· foo | Enum[production, store_build, store_deploy, collectd]
I want to do stuff with foo.
example: foo : blah
example: foo: non_blah
example, foo:blahdeblahblah




{
"description": "A task to do awesome stuff",
"input_method": "environment",
"supports_noop": false,
"parameters": {
"foo":

Unknown macro: \ { "description" : "I want to do stuff with foo. example: foo : blah, example: foo: non_blah, example, foo:blahdeblahblah", "type": "Optional[Enum[blah, non_blah, blahdeblahblah, something]]" }

,

"bar":

Unknown macro: \ { "description" : "This stuff does bar stuff. example: QA: kittens, example: PR: boxes, example: NP: nothing", "type": "Optional[Enum[nothing, something, boxes, kittens]]" }

,
"foo_bar":

Unknown macro: \ { "description" : "This is the name of a foo_bar, if things are foo_bar then they're really bad.", "type": "Optional[String[1]]" }

}
}



{quote}

Patrick Grant (JIRA)

unread,
Jul 23, 2019, 9:31:03 AM7/23/19
to puppe...@googlegroups.com
Patrick Grant updated an issue
Change By: Patrick Grant
CS Priority: Needs Priority

Jorie Tappa (JIRA)

unread,
Aug 5, 2019, 12:55:02 PM8/5/19
to puppe...@googlegroups.com
Jorie Tappa updated an issue
Change By: Jorie Tappa
Team: Skeletor
Reply all
Reply to author
Forward
0 new messages