saz/puppet-timezone

Reopen issue #27

Closed this issue · 5 comments

Issue #27 should be reopened and comments from @cs278 followed:

#27 (comment)

Any update on this?

saz commented

This should be resolved with commit cf62f1b

#28 (comment)

@saz, it does not. Plus, debconf-get-selections comes with debconf-utils package which is not installed by default on most ubuntu distributions. This leads to:

Info: Applying configuration version '1455826429'
Error: /Stage[main]/Timezone/Exec[update_debconf area]: Could not evaluate: Could not find command 'debconf-get-selections'
Error: /Stage[main]/Timezone/Exec[update_debconf zone]: Could not evaluate: Could not find command 'debconf-get-selections'
Info: Computing checksum on file /etc/timezone
Info: FileBucket got a duplicate file {md5}23bc643267e174cd31f04157f8022aa4
Info: /Stage[main]/Timezone/File[/etc/timezone]: Filebucketed /etc/timezone to puppet with sum 23bc643267e174cd31f04157f8022aa4
Notice: /Stage[main]/Timezone/File[/etc/timezone]/content: content changed '{md5}23bc643267e174cd31f04157f8022aa4' to '{md5}12048a667c365b1d74149480d7cbc523'
Info: /Stage[main]/Timezone/File[/etc/timezone]: Scheduling refresh of Exec[update_timezone]
Notice: /Stage[main]/Timezone/Exec[update_timezone]: Triggered 'refresh' from 1 events
Info: Class[Timezone]: Unscheduling all events on Class[Timezone]
Notice: Applied catalog in 2.32 seconds

Same issue with missing dependency (debconf-utils) with debconf-get-selections on default Ubuntu 16.04 installation:

Error: /Stage[main]/Timezone/Exec[update_debconf area]: Could not evaluate: Could not find command 'debconf-get-selections'
Error: /Stage[main]/Timezone/Exec[update_debconf zone]: Could not evaluate: Could not find command 'debconf-get-selections'
saz commented

This should be resolved in the current master now.