Jira (PUP-10505) Investigate and replace the running? method from Puppet

2020-05-25 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu commented on  PUP-10505  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Investigate and replace the running? method from Puppet   
 

  
 
 
 
 

 
  
 
 
 
 
 cbadescu@ciprian:~/puppetlabs/puppet-PUP-10505$ grep -r 'running?' *  
 
 
 ext/windows/service/daemon.rb:while service.running? do  
 
 
 lib/puppet/provider/service/openbsd.rb:  def running?  
 
 
 lib/puppet/provider/service/openbsd.rb:rcctl(:restart, @resource[:name]) if running?  
 
 
 lib/puppet/agent/locker.rb:  def running?  
 
 
 lib/puppet/agent/locker.rb:#TRANSLATORS 'Puppet::Agent::Locker.running?' is a method name and should not be translated  
 
 
 lib/puppet/agent/locker.rb:message = _('Puppet::Agent::Locker.running? is deprecated as it is inherently unsafe.')  
 
 
 locales/puppet.pot:#. TRANSLATORS 'Puppet::Agent::Locker.running?' is a method name and should not be translated  
 
 
 locales/puppet.pot:msgid "Puppet::Agent::Locker.running? is deprecated as it is inherently unsafe."  
 
 
 spec/unit/provider/service/openbsd_spec.rb:  context "#running?" do  
 
 
 spec/unit/provider/service/openbsd_spec.rb:  expect(provider.running?).to be_truthy  
 
 
   

Jira (PUP-10505) Investigate and replace the running? method from Puppet

2020-05-25 Thread Ciprian Badescu (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Ciprian Badescu assigned an issue to Ciprian Badescu  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10505  
 
 
  Investigate and replace the running? method from Puppet   
 

  
 
 
 
 

 
Change By: 
 Ciprian Badescu  
 
 
Assignee: 
 Ciprian Badescu  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)  
 
 

 
   
 

  
 

  
 

   





-- 
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.358594.1589359223000.69263.1590395760027%40Atlassian.JIRA.


Jira (PUP-10505) Investigate and replace the running? method from Puppet

2020-05-13 Thread Mihai Buzgau (Jira)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Mihai Buzgau created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Puppet /  PUP-10505  
 
 
  Investigate and replace the running? method from Puppet   
 

  
 
 
 
 

 
Issue Type: 
  Improvement  
 
 
Assignee: 
 Unassigned  
 
 
Created: 
 2020/05/13 1:40 AM  
 
 
Priority: 
  Normal  
 
 
Reporter: 
 Mihai Buzgau  
 

  
 
 
 
 

 
 Since the running? method is deprecated in Puppet, we should investigate if there is a suitable replacement and update the Puppet code.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian Jira (v8.5.2#805002-sha1:a66f935)