You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The below puppet code worked fine on puppet 3.8, but it fails on puppet 2016.x. The error message produced is also shown below. I tried setting the timeout value with and without quotes, but I get the same error either way.
Error: no implicit conversion of Fixnum into String
Error: /Stage[main]/Profiles::Grub/Grub_config[timeout]/value: change from 5 to 10 failed: no implicit conversion of Fixnum into String
classprofiles::grub (
$menu_timeout = '10',
) {
case$::osfamily {
'RedHat': {
case$::operatingsystemmajrelease {
'6': {
grub_config { 'timeout':
value => $menu_timeout,
}
}
'7': {
grub_config { 'GRUB_TIMEOUT':
value => $menu_timeout,
}
}
default: {
fail('Need to define the Grub configuration for this version of the OS')
}
}
}
default: {
notify { 'Grub configuration not defined for this operating system': }
}
}
}
The text was updated successfully, but these errors were encountered:
acraw1
changed the title
Timeout issue w/Puppet 2016.x
Issue w/Puppet 2016.x
Sep 16, 2016
The below puppet code worked fine on puppet 3.8, but it fails on puppet 2016.x. The error message produced is also shown below. I tried setting the timeout value with and without quotes, but I get the same error either way.
The text was updated successfully, but these errors were encountered: