Service set to stopped causes error when the service doesn't exist on Windows

12 views
Skip to first unread message

jmp242

unread,
Jun 22, 2017, 12:03:26 PM6/22/17
to Puppet Users
I want to make sure Firefox isn't automatically updating itself on our Windows computers. In most instances, if I have a service set to stopped, not having it installed should equal the same thing. How could I express either is OK in Puppet?

      service { 'FirefoxUpdateService':
        name  
=> 'mozillamaintenance',
       
ensure => stopped,
     
}

is throwing an error on my systems that don't seem to have that service.... What's the right solution here?

Thanks,

Josh Cooper

unread,
Jun 23, 2017, 12:09:14 PM6/23/17
to puppet...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/c6e6ac99-3918-44cb-a8a2-328239db86e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Sounds like you're running into https://tickets.puppetlabs.com/browse/PUP-6822. I recommend voting for the ticket and adding yourself as a watcher.

Josh

--
Josh Cooper | Software Engineer
Reply all
Reply to author
Forward
0 new messages