Hi, I am trying Zenoss cookbook. But while I run chef-client I see below error. Any help appreciated. [Wed, 12 Jun 2013 10:16:08 +0000] INFO: Storing updated cookbooks/openssh/README.md in the cache. [Wed, 12 Jun 2013 10:16:08 +0000] INFO: Storing updated cookbooks/openssh/CHANGELOG.md in the cache. [Wed, 12 Jun 2013 10:16:08 +0000] INFO: Storing updated cookbooks/openssh/LICENSE in the cache. ================================================================================ Recipe Compile Error in /var/cache/chef/cookbooks/apt/providers/repository.rb ================================================================================ NameError --------- undefined local variable or method `use_inline_resources' for #<Class:0x7f4f6c94e6d0> Cookbook Trace: --------------- /var/cache/chef/cookbooks/apt/providers/repository.rb:20:in `class_from_file' Relevant File Content: ---------------------- /var/cache/chef/cookbooks/apt/providers/repository.rb: 13: # Unless required by applicable law or agreed to in writing, software 14: # distributed under the License is distributed on an "AS IS" BASIS, 15: # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 16: # See the License for the specific language governing permissions and 17: # limitations under the License. 18: # 19: 20>> use_inline_resources 21: 22: def whyrun_supported? 23: true 24: end 25: 26: # install apt key from keyserver 27: def install_key_from_keyserver(key, keyserver) 28: execute "install-key #{key}" do 29: if !node['apt']['key_proxy'].empty? [Wed, 12 Jun 2013 10:16:08 +0000] ERROR: Running exception handlers [Wed, 12 Jun 2013 10:16:08 +0000] FATAL: Saving node information to /var/cache/chef/failed-run-data.json [Wed, 12 Jun 2013 10:16:08 +0000] ERROR: Exception handlers complete [Wed, 12 Jun 2013 10:16:08 +0000] FATAL: Stacktrace dumped to /var/cache/chef/chef-stacktrace.out [Wed, 12 Jun 2013 10:16:08 +0000] FATAL: NameError: undefined local variable or method `use_inline_resources' for #<Class:0x7f4f6c94e6d0> regards, Haynes Davis This message is for the designated recipient only and may contain privileged, proprietary, or otherwise confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the e-mail by you is prohibited. Where allowed by local law, electronic communications with Accenture and its affiliates, including e-mail and instant messaging (including content), may be scanned by our systems for the purposes of information security and assessment of internal compliance with Accenture policy. ______________________________________________________________________________________ www.accenture.com |
Archive powered by MHonArc 2.6.16.