Jira (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2019-10-21 Thread John Duarte (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 John Duarte updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 John Duarte  
 
 
QA Risk Assessment: 
 Needs Assessment No Action  
 

  
 
 
 
 

 
 
 

 
 
 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 view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.234032.1517360006000.9249.1571669881837%40Atlassian.JIRA.


Jira (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-03-12 Thread Jorie Tappa (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jorie Tappa assigned an issue to Jorie Tappa  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Jorie Tappa  
 
 
Assignee: 
 Jorie Tappa  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-03-12 Thread Eric Delaney (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Eric Delaney assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Eric Delaney  
 
 
Assignee: 
 Kris Bosland  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-03-07 Thread Kris Bosland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kris Bosland updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Kris Bosland  
 
 
Release Notes Summary: 
 The environment_timeout setting will print 'unlimited' when it is set to 'unlimited', and the environment_timeout from the config will be used when there is no environment to set this value.  
 
 
Release Notes: 
 Bug Fix  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-03-07 Thread Eric Delaney (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Eric Delaney commented on  PUP-8409  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
 Kris Bosland can you add release notes  
 

  
 
 
 
 

 
 
 

 
 
 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 (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-28 Thread Kris Bosland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kris Bosland commented on  PUP-8409  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
 Merged to master at https://github.com/puppetlabs/puppet/commit/19a7f7bf64dbb81da2250fa5a1123c3fd12196c1    
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-12 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Flagged: 
 Impediment  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-09 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Fix Version/s: 
 PUP 5.3.z  
 
 
Fix Version/s: 
 PUP 5.4.z  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-09 Thread Kris Bosland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kris Bosland commented on  PUP-8409  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
 Kenn Hussey, we have decided to retarget this, I'm not sure if the correct new version is available in JIRA yet.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-09 Thread Kris Bosland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kris Bosland updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Kris Bosland  
 
 
Fix Version/s: 
 PUP 5.4.0  
 
 
Fix Version/s: 
 PUP 5.3.z  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-09 Thread Kenn Hussey (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kenn Hussey commented on  PUP-8409  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
 Kris Bosland are we still trying to get this into 5.3.5 / 5.4.0 or should it be retargeted at this point?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-07 Thread Kenn Hussey (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kenn Hussey updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Kenn Hussey  
 
 
Flagged: 
 Impediment  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-05 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper commented on  PUP-8409  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
 A similar issue is that puppet config print doesn't handle `array` setting types correctly. It outputs:  
 
 
 
 
 $ bundle exec puppet config print supported_checksum_types  
 
 
 bx puppet config print supported_checksum_types  
 
 
 md5  
 
 
 sha256  
 
 
 sha384  
 
 
 sha512  
 
 
 sha224  
 
 
 $ bundle exec puppet config print --all | grep supported_checksum_types  
 
 
 supported_checksum_types = ["md5", "sha256", "sha384", "sha512", "sha224"]  
 
 
 
  But none of those can be entered verbatim in puppet.conf as doing so results in:  
 
 
 
 
 $ bundle exec puppet config print --all | grep supported_checksum_types >> ~/.puppetlabs/etc/puppet/puppet.conf  
 
 
 $ cat ~/.puppetlabs/etc/puppet/puppet.conf  
   

Jira (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-05 Thread Kris Bosland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kris Bosland updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Kris Bosland  
 

  
 
 
 
 

 
 When running {{puppet config print --all}} on the command line with {{environment_timeout}} set to {{unlimited}} in {{puppet.conf}}, the value for {{environment_timeout}} is listed as {{Infinity}}, which is not a valid setting (it can be  an  a positive  integer, 0 ,  or  `  {{unlimited ` }}). As a user if I saw this I would presume it was a valid setting.When I try using {{Infinity}} as a setting value for {{environment_timeout}}, I get a not so helpful error message and stack trace.  {code}  puppet apply --environment_timeout=Infinity -e "notify{'foo':}"/Users/matthaus/src/puppet/lib/puppet/settings/ttl_setting.rb:43:in `munge': Invalid 'time to live' format '"Infinity"' for parameter: environment_timeout (Puppet::Settings::ValidationError) from /Users/matthaus/src/puppet/lib/puppet/settings/ttl_setting.rb:25:in `munge' from /Users/matthaus/src/puppet/lib/puppet/settings.rb:1310:in `interpolate' from /Users/matthaus/src/puppet/lib/puppet/settings.rb:1082:in `value_sym' from /Users/matthaus/src/puppet/lib/puppet/settings.rb:1054:in `value' from /Users/matthaus/src/puppet/lib/puppet/settings/environment_conf.rb:87:in `environment_timeout' from /Users/matthaus/src/puppet/lib/puppet/environments.rb:414:in `entry' from /Users/matthaus/src/puppet/lib/puppet/environments.rb:345:in `get' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:131:in `module_directories' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:166:in `search_directories' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:100:in `files_to_load' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:220:in `files_to_load' from /Users/matthaus/src/puppet/lib/puppet/application.rb:212:in `available_application_names' from /Users/matthaus/src/puppet/lib/puppet/util/command_line.rb:90:in `find_subcommand' from /Users/matthaus/src/puppet/lib/puppet/util/command_line.rb:73:in `execute' from /usr/bin/puppet:5:in `'{code}  The simple reproducer here is:  {code}  puppet config print --environment_timeout=unlimited environment_timeoutInfinity{code}  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
   

Jira (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-05 Thread Kris Bosland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kris Bosland updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Kris Bosland  
 
 
Sprint: 
 Platform Core  Hopper  KANBAN  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-05 Thread Kris Bosland (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Kris Bosland assigned an issue to Kris Bosland  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Kris Bosland  
 
 
Assignee: 
 Kris Bosland  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-02-02 Thread Josh Cooper (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Josh Cooper updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-8409  
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited   
 

  
 
 
 
 

 
Change By: 
 Josh Cooper  
 
 
Sprint: 
 Platform Core Hopper  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.5.1#75006-sha1:7df2574)  
 
 

 
   
 

  
 

  
 

   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-01-30 Thread Past Haus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Past Haus updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8409 
 
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited  
 
 
 
 
 
 
 
 
 

Change By:
 
 Past Haus 
 
 
 
 
 
 
 
 
 
 When running {{puppet config print --all}} on the command line with {{environment_timeout}} set to {{unlimited}} in {{puppet.conf}}, the value for {{environment_timeout}} is listed as {{Infinity}}, which is not a valid setting (it can be an integer, 0 or {{unlimited}}). As a user if I saw this I would presume it was a valid setting.When I try using {{Infinity}} as a setting value for {{environment_timeout}}, I get a not so helpful error message and stack trace.{code}puppet apply --environment_timeout=Infinity -e "notify{'foo':}"/Users/matthaus/src/puppet/lib/puppet/settings/ttl_setting.rb:43:in `munge': Invalid 'time to live' format '"Infinity"' for parameter: environment_timeout (Puppet::Settings::ValidationError) from /Users/matthaus/src/puppet/lib/puppet/settings/ttl_setting.rb:25:in `munge' from /Users/matthaus/src/puppet/lib/puppet/settings.rb:1310:in `interpolate' from /Users/matthaus/src/puppet/lib/puppet/settings.rb:1082:in `value_sym' from /Users/matthaus/src/puppet/lib/puppet/settings.rb:1054:in `value' from /Users/matthaus/src/puppet/lib/puppet/settings/environment_conf.rb:87:in `environment_timeout' from /Users/matthaus/src/puppet/lib/puppet/environments.rb:414:in `entry' from /Users/matthaus/src/puppet/lib/puppet/environments.rb:345:in `get' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:131:in `module_directories' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:166:in `search_directories' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:100:in `files_to_load' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:220:in `files_to_load' from /Users/matthaus/src/puppet/lib/puppet/application.rb:212:in `available_application_names' from /Users/matthaus/src/puppet/lib/puppet/util/command_line.rb:90:in `find_subcommand' from /Users/matthaus/src/puppet/lib/puppet/util/command_line.rb:73:in `execute' from /usr/bin/puppet:5:in `'{code} The simple reproducer here is:{code}puppet config print --environment_timeout=unlimited environment_timeoutInfinity{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 

Jira (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-01-30 Thread Past Haus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Past Haus updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8409 
 
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited  
 
 
 
 
 
 
 
 
 

Change By:
 
 Past Haus 
 
 
 
 
 
 
 
 
 
 When running {{puppet config print --all}} on the command line  with {{environment_timeout}} set to {{unlimited}} in {{puppet.conf}} , the  default  value for {{environment_timeout}} is listed as {{Infinity}}, which is not a valid setting (it can be an integer, 0 or {{unlimited}}). As a user if I saw this I would presume it was a valid setting.When I try using {{Infinity}} as a setting value for {{environment_timeout}}, I get a not so helpful error message and stack trace.{code}puppet apply --environment_timeout=Infinity -e "notify{'foo':}"/Users/matthaus/src/puppet/lib/puppet/settings/ttl_setting.rb:43:in `munge': Invalid 'time to live' format '"Infinity"' for parameter: environment_timeout (Puppet::Settings::ValidationError) from /Users/matthaus/src/puppet/lib/puppet/settings/ttl_setting.rb:25:in `munge' from /Users/matthaus/src/puppet/lib/puppet/settings.rb:1310:in `interpolate' from /Users/matthaus/src/puppet/lib/puppet/settings.rb:1082:in `value_sym' from /Users/matthaus/src/puppet/lib/puppet/settings.rb:1054:in `value' from /Users/matthaus/src/puppet/lib/puppet/settings/environment_conf.rb:87:in `environment_timeout' from /Users/matthaus/src/puppet/lib/puppet/environments.rb:414:in `entry' from /Users/matthaus/src/puppet/lib/puppet/environments.rb:345:in `get' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:131:in `module_directories' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:166:in `search_directories' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:100:in `files_to_load' from /Users/matthaus/src/puppet/lib/puppet/util/autoload.rb:220:in `files_to_load' from /Users/matthaus/src/puppet/lib/puppet/application.rb:212:in `available_application_names' from /Users/matthaus/src/puppet/lib/puppet/util/command_line.rb:90:in `find_subcommand' from /Users/matthaus/src/puppet/lib/puppet/util/command_line.rb:73:in `execute' from /usr/bin/puppet:5:in `'{code} 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
   

Jira (PUP-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-01-30 Thread Past Haus (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Past Haus updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8409 
 
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited  
 
 
 
 
 
 
 
 
 

Change By:
 
 Past Haus 
 
 
 

Summary:
 
 Puppet config print lists invalid  default  value for environment_timeout  when set to unlimited 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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-8409) Puppet config print lists invalid value for environment_timeout when set to unlimited

2018-01-30 Thread Josh Cooper (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Josh Cooper updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Puppet /  PUP-8409 
 
 
 
  Puppet config print lists invalid value for environment_timeout when set to unlimited  
 
 
 
 
 
 
 
 
 

Change By:
 
 Josh Cooper 
 
 
 

Fix Version/s:
 
 PUP 5.4.0 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v7.0.2#70111-sha1:88534db) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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.