xneelo / hetzner-needrestart

A puppet module for installing and configuring needrestart
3 stars 8 forks source link

Fix bugs and stop forcing user behaviour #21

Closed bassonj closed 4 years ago

bassonj commented 4 years ago

Fix for #17, this was a bug introduced in #15

When the index is a hash the override_rc subsection uses rockets and commas, not equal signs and semi-colons

Also, restyle the module to not force our hiera lookups onto the consumer, but allow them to pass a Hash directly to the needrestart class like below.

class { 'needrestart':
  configs => $config_overrides
}