When bootstrapping a node that is running Centos7 I am given this error
ERROR: undefined method `to_i' for ["300"]:Chef::Node::ImmutableArray
Here is the section of code it points me to:
default['chef_client']['task']['frequency_modifier'] = node['chef_client']['interval'].to_i / 60
This is in the chef-client cookbook pulled from the supermarket. I haven’t edited anything within the cookbook directly, only through an environment to change the interval to 300.
Any help would be appreciated!