-2

I am after something like firefox['update'] = "never" equivalent in cookbook recipe for firefox as auto updates is causing issues with selenium tests. Could someone please help?

Lander
  • 31
  • 4
  • Did you google this? What have you tried and what was the result? – JeffC Dec 12 '16 at 02:10
  • I couldn't find anything in google. I tried the above firefox['update']='never', but didnt seem to effect anything, also no errors. Thanks for your reply. – Lander Dec 12 '16 at 02:44
  • Welcome to StackOverflow.You should really show that you spent more efforts prior to posting here... – StephenKing Dec 12 '16 at 06:50

1 Answers1

0

Looking at the attributes provided by the cookbook reveals the following:

default['firefox']['version'] = 'latest'

So setting this to some specific version would be a starting point (not sure if you have set this, as you seem to lack the knowledge how to find the attributes provided by a cookbook.

Regarding actually disabling updates, a quick search revealed this thread, which lists the option that needs to be added to the user.js file in your profile:

user_pref("app.update.enabled", false); 
StephenKing
  • 36,187
  • 11
  • 83
  • 112