Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-11-03 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper commented on  PUP-1618 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Confusing "valid values" documentation for exec logoutput  
 
 
 
 
 
 
 
 
 
 
Merged in 12d9ab93 released in 3.5.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-11-03 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-1618 
 
 
 
  Confusing "valid values" documentation for exec logoutput  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Fix Version/s:
 
 PUP 3.5.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.3.7#6337-sha1:2ed701e) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-07-28 Thread Patrick Morton (JIRA)
Title: Message Title










 

 Patrick Morton commented on an issue











 






  Re: Confusing "valid values" documentation for exec logoutput 










They drive also, but come not to the halo and adolescence syndrome.  http://www.surveyanalytics.com//userimages/sub-2/2007589/3153260/29851519/7787459-29851519-stopadd47.html  Peniche, starr, fleiss, sizemore and rodman highly agreed to attend a current feature seed after music, which was chronicled on the persistent adderall 5 mg tablet of sober house.












   

 Add Comment











 













 Puppet /  PUP-1618



  Confusing "valid values" documentation for exec logoutput 







 On the page http://docs.puppetlabs.com/references/latest/type.html#exec it says   {quote}logout  ...In addition to the values below, you may set this attribute to any legal log level.   Valid values are true, false, on_failure.{quote}   Huh? So a legal log level is a value, but is not a valid value? ;-)   Testing would indicate that log levels...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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+unsubsc

Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-04-23 Thread Charlie Sharpsteen (JIRA)
Title: Message Title










 

 Charlie Sharpsteen updated an issue











 






 Puppet /  PUP-1618



  Confusing "valid values" documentation for exec logoutput 










Change By:

 Charlie Sharpsteen




Reporter:

 redmine.exporter Jo Rhett












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/d/optout.


Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-02-10 Thread Nicholas Fagerlund (JIRA)
Title: Message Title










 

 Nicholas Fagerlund commented on an issue











 






  Re: Confusing "valid values" documentation for exec logoutput 










Once the travis build finishes, I'm going to fast-track the merge. I'll also do a mass-fix on existing docs, since this is actively misleading instead of just vague. 












   

 Add Comment











 













 Puppet /  PUP-1618



  Confusing "valid values" documentation for exec logoutput 







 On the page http://docs.puppetlabs.com/references/latest/type.html#exec it says   {quote}logout  ...In addition to the values below, you may set this attribute to any legal log level.   Valid values are true, false, on_failure.{quote}   Huh? So a legal log level is a value, but is not a valid value? ;-)   Testing would indicate that log levels...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https:/

Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-02-10 Thread Nicholas Fagerlund (JIRA)
Title: Message Title










 

 Nicholas Fagerlund commented on an issue











 






  Re: Confusing "valid values" documentation for exec logoutput 










Found it. Up through 0.24.1:



newparam(:logoutput) do
desc "Whether to log output.  Defaults to logging output at the
loglevel for the ``exec`` element.  Values are **true**, *false*,
and any legal log level."

values = [:true, :false]
# And all of the log levels
Puppet::Util::Log.eachlevel { |level| values << level }
newvalues(*values)
end



Apparently this never actually worked, though! Or at least that's what Luke implied in commit bb8051bc406d1da67db8212e852bb36d1368e953 (between 0.24.1 and 0.24.2) when he removed it. He didn't update the parameter description string at the same time though, so it's stayed wrong since 2008. 












   

 Add Comment











 













 Puppet /  PUP-1618



  Confusing "valid values" documentation for exec logoutput 







 On the page http://docs.puppetlabs.com/references/latest/type.html#exec it says   {quote}logout  ...In addition to the values below, you may set this attribute to any legal log level.   Valid values are true, false, on_failure.{quote}   Huh? So a legal log level is a value, but is not a valid value? ;-)   Testing would indicate that log levels...















 

Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-02-10 Thread Nicholas Fagerlund (JIRA)
Title: Message Title










 

 Nicholas Fagerlund commented on an issue











 






  Re: Confusing "valid values" documentation for exec logoutput 










Yup, this sure seems to not accept valid log levels. 



exec {"/opt/local/bin/cowsay 'She only comes out at night / The lean and hungry type'":
  logoutput => 'debug',
}



Looking into the code now, try and figure out if it used to.












   

 Add Comment











 













 Puppet /  PUP-1618



  Confusing "valid values" documentation for exec logoutput 







 On the page http://docs.puppetlabs.com/references/latest/type.html#exec it says   {quote}logout  ...In addition to the values below, you may set this attribute to any legal log level.   Valid values are true, false, on_failure.{quote}   Huh? So a legal log level is a value, but is not a valid value? ;-)   Testing would indicate that log levels...















 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because 

Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-02-10 Thread Nicholas Fagerlund (JIRA)
Title: Message Title










 

 Nicholas Fagerlund assigned an issue to Nicholas Fagerlund











 






 Puppet /  PUP-1618



  Confusing "valid values" documentation for exec logoutput 










Change By:

 Nicholas Fagerlund




Assignee:

 Nicholas Fagerlund












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-02-08 Thread Jo Rhett (JIRA)
Title: Message Title










 

 Jo Rhett updated an issue











 






 Puppet /  PUP-1618



  Confusing "valid values" documentation for exec logoutput 










Change By:

 Jo Rhett









 On the page http://docs.puppetlabs.com/references/latest/type.html#exec it says{quote}logout...In addition to the values below, you may set this attribute to any legal log level.Valid values are true, false, on_failure.{quote}Huh?  So a legal log level is a value, but is not a valid value? ;-)Testing would indicate that log levels are not valid.{code}$ sudo puppet agent --testInfo: Retrieving pluginInfo: Caching catalog for somenode.somewhereError: Failed to apply catalog: Parameter logoutput failed on Exec[testloglevel]: Invalid value "error". Valid values are true, false, on_failure.  at /etc/puppet/modules/ testhiera testloglevel /manifests/init.pp:10Wrapped exception:Invalid value "error". Valid values are true, false, on_failure. {code}












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-02-08 Thread Jo Rhett (JIRA)
Title: Message Title










 

 Jo Rhett updated an issue











 






 Puppet /  PUP-1618



  Confusing "valid values" documentation for exec logoutput 










Change By:

 Jo Rhett









 On the page http://docs.puppetlabs.com/references/latest/type.html#exec it says{quote}logout...In addition to the values below, you may set this attribute to any legal log level.Valid values are true, false, on_failure.{quote}Huh?  So a legal log level is a value, but is not a valid value? ;-)Testing would indicate that log levels are not valid. {code}$ sudo puppet agent --testInfo: Retrieving pluginInfo: Caching catalog for somenode.somewhereError: Failed to apply catalog: Parameter logoutput failed on Exec[testloglevel]: Invalid value "error". Valid values are true, false, on_failure.  at /etc/puppet/modules/testhiera/manifests/init.pp:10Wrapped exception:Invalid value "error". Valid values are true, false, on_failure. {code}












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
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 http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Jira (PUP-1618) Confusing "valid values" documentation for exec logoutput

2014-02-08 Thread Jo Rhett (JIRA)
Title: Message Title










 

 Jo Rhett updated an issue











 






 Puppet /  PUP-1618



  Confusing "valid values" documentation for exec logoutput 










I am the original reporter of this issue, and would appreciate someone updating the Reporter field.
I have updated the description relevant to puppet 3.4.2.










Change By:

 Jo Rhett




Summary:

 Confusing "valid values" documentation for exec  logoutput









 On the page http://docs.puppetlabs.com/references/ 2.7.6 latest /type.html#exec it says   Values are true {quote}logout...In addition to the values below ,  false, on_failure, and  you may set this attribute to  any legal log level.   Valid values are true, false, on_failure. {quote} Huh?  So a legal log level is a value, but is not a valid value? ;-) Testing would indicate that log levels are not valid.












   

 Add Comment











 










 This message was sent by Atlassian JIRA (v6.1.4#6159-sha1:44eaede)




 














-- 
You received this message because you are subscribed to the Google Groups "Puppet Bugs" group.
To unsubscribe from this group and stop receiving em