Hello everyone,
I'm trying to configure parameters for the unattended_upgrades module by
voxpupuli: https://github.com/voxpupuli/puppet-unattended_upgrades
Simple parameters work but the reboot_time parameter under auto doesn't get
applied, does anyone know whats causing this? I'm setting the parameters
like this with key type hash.
reboot: 'true'
reboot_time: '01:00'
The first parameter gets applied and i can see the change in the config
file but the second parameter doesn't, i was thinking it might have
something to do with the colon in value but i have no idea how foreman
handles this.
I seem to have found the problem myself already, the version of this module
i pulled from puppet forge seems to be missing this parameter in the
template. If i look in the GitHub Repo i see this line in the template:
Unattended-Upgrade::Automatic-Reboot-Time "<%= @_auto['reboot_time'].to_s %>
";
But that line seems to be missing in the puppet forge version, though they
have the same version number. I have already created an issue on the GitHub
repo, in the meantime you should be able to fix this by using the GitHub
version or manually editen the module to include this option.
ยทยทยท
Op woensdag 25 mei 2016 16:55:36 UTC+2 schreef Marlon Leerkotte:
>
> Hello everyone,
>
> I'm trying to configure parameters for the unattended_upgrades module by
> voxpupuli: https://github.com/voxpupuli/puppet-unattended_upgrades
> Simple parameters work but the reboot_time parameter under auto doesn't
> get applied, does anyone know whats causing this? I'm setting the
> parameters like this with key type hash.
>
> reboot: 'true'
> reboot_time: '01:00'
>
> The first parameter gets applied and i can see the change in the config
> file but the second parameter doesn't, i was thinking it might have
> something to do with the colon in value but i have no idea how foreman
> handles this.
>
>