-
Notifications
You must be signed in to change notification settings - Fork 15
Open
Description
Please apply the following patch to remove a legacy fact, which causes the following error:
Error: Could not retrieve catalog from remote server: Error 500 on SERVER: Server Error: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: '::osfamily'. (file: /etc/puppetlabs/code/environments/production/modules/timezone/manifests/init.pp, line: 54, column: 8) on node
diff --git a/manifests/init.pp b/manifests/init.pp
index 36c48bc..1dd1c7b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -51,7 +51,7 @@ class timezone (
}
# Debian and Enterprise Linux have differing ways of recording clock settings
- case $::osfamily {
+ case fact('os.family') {
'Archlinux': {
package { 'tzdata':
ensure => present,Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels