Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jeremyolliver/7fe94757d7a1425c9123 to your computer and use it in GitHub Desktop.
Save jeremyolliver/7fe94757d7a1425c9123 to your computer and use it in GitHub Desktop.
override['unattended-upgrades']['allowed_origins']['add-this-one'] = true
override['unattended-upgrades']['allowed_origins']['security'] = false # Turn off the default value
default['unattended-upgrades']['allowed_origins'] = {
'security' => true,
'updates' => false,
'proposed' => false,
'backports' => false
}
@fujin
Copy link

fujin commented May 20, 2014

lol fuck this

@jeremyolliver
Copy link
Author

I typically would alter the defaults as shown above with an override statement either in an attribute or recipe file of an 'application' cookbook.The same should also work, altering the defaults via a role or environment too.

@fujin
Copy link

fujin commented May 20, 2014

this is why we can't have nice things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment