Jira (PDOC-264) Errors output on stdout, not stderr

2018-08-29 Thread Nick Miller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Miller created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Strings /  PDOC-264  
 
 
  Errors output on stdout, not stderr   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 CLI  
 
 
Created: 
 2018/08/29 4:07 PM  
 
 
Environment: 
 Run `puppet strings generate --format json` in puppetlabs/postgresql version 5.8.0 and look at the first two lines returned, they are not json, but errors.   
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Nick Miller  
 

  
 
 
 
 

 
 When puppet strings throws errors, it does so on stdout instead of stderr. If you use `--format json`, then this breaks the json object.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

Jira (PDOC-213) Add support for @note tag

2018-05-29 Thread Nick Miller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Miller commented on  PDOC-213  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Add support for @note tag   
 

  
 
 
 
 

 
 Referencing @note from the style guide should be removed until this ticket is completed. https://puppet.com/docs/puppet/5.5/puppet_strings_style.html#classes-and-defined-types  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-239) In the class list in REFERENCE.md, the class description is cut off

2018-04-17 Thread Nick Miller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Miller commented on  PDOC-239  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: In the class list in REFERENCE.md, the class description is cut off   
 

  
 
 
 
 

 
 Eric Putnam, thanks. One of my team members found that that was documented after I wrote this ticket, it was just a little jarring to see half a word in my summary. That seems like a fine solution, we just don't have ant of our modules using it yet.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-239) In the class list in REFERENCE.md, the class description is cut off

2018-04-16 Thread Nick Miller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Miller created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Strings /  PDOC-239  
 
 
  In the class list in REFERENCE.md, the class description is cut off   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2018/04/16 10:01 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Nick Miller  
 

  
 
 
 
 

 
 Many of our modules have lengthy class headers, like here: https://github.com/simp/pupmod-simp-pki/blob/master/manifests/init.pp However, when using the markdown output format, the header is cut off after about 140 characters in the class summary section.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

Jira (PDOC-238) REFERENCE.md should include a notice saying that it has been generated

2018-04-16 Thread Nick Miller (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Nick Miller created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet Strings /  PDOC-238  
 
 
  REFERENCE.md should include a notice saying that it has been generated   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2018/04/16 9:59 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Nick Miller  
 

  
 
 
 
 

 
 REFERENCE.md should have a little section at the top where it says that it was generated with `puppet strings generate --format markdown` and changes could be overwritten.   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

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

 
  

Jira (PUP-7805) PDK can't run rubocop tests because rubocop isn't in Gemfile

2017-07-31 Thread Nick Miller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Miller created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7805 
 
 
 
  PDK can't run rubocop tests because rubocop isn't in Gemfile  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2017/07/31 6:56 AM 
 
 
 

Environment:
 
 
centos/7 vagrant box with puppet-agent 1.10.5 and pdk 0.5.0 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Nick Miller 
 
 
 
 
 
 
 
 
 
 
Our modules do not use rubocop, so we don't have rubocop in our Gemfile. I would like to skip rubocop tests when using pdk. 
Steps to reproduce: 
1. git clone https://github.com/simp/pupmod-simp-auditd.git 2. cd pupmod-simp-auditd 3. pdk validate 
output: 
 
 
 
 
 
 
[vagrant@localhost pupmod-simp-auditd]$ pdk validate  
 
 
 
 
pdk (INFO): Running all available validators... 
 
 
 

Jira (PUP-7220) Concatenating an optional array results in 'undef'

2017-02-16 Thread Nick Miller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Miller commented on  PUP-7220 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Concatenating an optional array results in 'undef'   
 
 
 
 
 
 
 
 
 
 
That makes sense! I guess it does mirror the behavior with nil in Ruby. Guess I just expected a merge. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-7220) Concatenating an optional array results in 'undef'

2017-02-15 Thread Nick Miller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Miller created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-7220 
 
 
 
  Concatenating an optional array results in 'undef'   
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Affects Versions:
 

 PUP 4.9.2 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Components:
 

 DSL 
 
 
 

Created:
 

 2017/02/15 9:04 AM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Nick Miller 
 
 
 
 
 
 
 
 
 
 
See the example class below: 
 
 
 
 
 
 
class arrayjank ( 
 
 
 
 
  Optional[Array[String,1]] $extra_members = undef 
 
 
 
 
) { 

Jira (PDOC-122) Strings doesn't handle puppet 3.x API syntax when newfunction is on a newline

2016-10-11 Thread Nick Miller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Miller commented on  PDOC-122 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Strings doesn't handle puppet 3.x API syntax when newfunction is on a newline  
 
 
 
 
 
 
 
 
 
 
Awesome, thanks for looking into this. For reference, the module I noticed this behavior on was simp/simplib. 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-122) Strings doesn't properly handle multiple Custom Functions

2016-10-10 Thread Nick Miller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Miller updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-122 
 
 
 
  Strings doesn't properly handle multiple Custom Functions  
 
 
 
 
 
 
 
 
 

Change By:
 
 Nick Miller 
 
 
 
 
 
 
 
 
 
 When the input to strings has more than one function in  `  {{ lib/puppet/parser/functions/* ` }} , the generated yard documentation only includes content from the first function it finds, alphabetically. It is also not possible to find the function documentation without going opening the file manually.Steps to reproduce:# Clone my [test repo ]( | https://github.com/jeefberkey/functest ) ] , which was generated with `puppet module generate` and using Puppet 3.8.7# {{bundle install}}# {{puppet strings generate}}# Open {{docs/index.html}} in a browser and look for the function documentation 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-122) Strings doesn't properly handle multiple Custom Functions

2016-10-10 Thread Nick Miller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Miller updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-122 
 
 
 
  Strings doesn't properly handle multiple Custom Functions  
 
 
 
 
 
 
 
 
 

Change By:
 
 Nick Miller 
 
 
 
 
 
 
 
 
 
 When the input to strings has more than one function in `lib/puppet/parser/functions/*`, the generated yard documentation only includes content from the first function it finds, alphabetically. It is also not possible to find the function documentation without going opening the file manually.Steps to reproduce:# Clone my [test repo](https://github.com/jeefberkey/functest), which was generated with `puppet module generate` and using Puppet 3.8.7#  `  {{ bundle install ` }} # `puppet strings generate`# Open `docs/index.html` in a browser and look for the function documentation 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-122) Strings doesn't properly handle multiple Custom Functions

2016-10-10 Thread Nick Miller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Miller updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-122 
 
 
 
  Strings doesn't properly handle multiple Custom Functions  
 
 
 
 
 
 
 
 
 

Change By:
 
 Nick Miller 
 
 
 
 
 
 
 
 
 
 When the input to strings has more than one function in `lib/puppet/parser/functions/*`, the generated yard documentation only includes content from the first function it finds, alphabetically. It is also not possible to find the function documentation without going opening the file manually.Steps to reproduce:# Clone my [test repo](https://github.com/jeefberkey/functest), which was generated with `puppet module generate` and using Puppet 3.8.7# {{bundle install}}#  `  {{ puppet strings generate ` }} # Open  `  {{ docs/index.html ` }}  in a browser and look for the function documentation 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.14#64029-sha1:ae256fe) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-bugs@googlegroups.com.
Visit this group at https://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PDOC-122) Strings doesn't properly handle multiple Custom Functions

2016-10-10 Thread Nick Miller (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Nick Miller created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet Strings /  PDOC-122 
 
 
 
  Strings doesn't properly handle multiple Custom Functions  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 

 Unassigned 
 
 
 

Created:
 

 2016/10/10 1:58 PM 
 
 
 

Priority:
 
  Normal 
 
 
 

Reporter:
 
 Nick Miller 
 
 
 
 
 
 
 
 
 
 
When the input to strings has more than one function in `lib/puppet/parser/functions/*`, the generated yard documentation only includes content from the first function it finds, alphabetically. It is also not possible to find the function documentation without going opening the file manually. 
Steps to reproduce: 
 

Clone my [test repo](https://github.com/jeefberkey/functest), which was generated with `puppet module generate` and using Puppet 3.8.7
 

`bundle install`
 

`puppet strings generate`
 

Open `docs/index.html` in a browser and look for the function documentation