I have written an Ohai custom plugin that determines the site and vlan of the node.I need this information to define attrs for other cookbooks.My problem is a chicken and egg scenario. The chef-run borks on the attribute the ohai plugin is supposed to return as a string because it is not being set at compile time when I test the attr in a case. When the attr evaluates the attribute it is nil when it expects a string.Any thoughts on how to get around this?--
Thanks,
Mark
Archive powered by MHonArc 2.6.16.