Skip to content

Instantly share code, notes, and snippets.

* ruby_block[check_domain_membership] action run[2015-02-12T14:32:08-05:00] INFO: Processing ruby_block[check_domain_membership] action run (pcc_site::windows line 33)
================================================================================
Error executing action `run` on resource 'ruby_block[check_domain_membership]'
================================================================================
NoMethodError
-------------
undefined method `powershell_out' for Chef::Resource::RubyBlock
@xeon22
xeon22 / gist:7fbefed18420e369dc7e
Created January 13, 2015 18:27
chef-provisioning-recipe
#
# Cookbook Name:: pcc_provisioning
# Recipe:: default
#
# Copyright (C) 2014 Wescom Solutions Inc.
#
# All rights reserved - Do Not Redistribute
#
%w[
@xeon22
xeon22 / gist:8848292
Created February 6, 2014 17:01
Chef run error jenkins ssh slave
STDERR: groovy.lang.MissingPropertyException: No such property: jenkins for class: RemoteClass
at org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
at RemoteClass.run(RemoteClass:39)
at groovy.lang.GroovyShell.runScriptOrMainOrTestOrRunnable(GroovyShell.java:266)
at groovy.lang.GroovyShell.run(GroovyShell.java:517)
at hudson.cli.GroovyCommand.run(GroovyCommand.java:94)
at hudson.cli.CLICommand.main(CLICommand.java:232)
at hudson.cli.CliManagerImpl.main(CliManagerImpl.java:92)
@xeon22
xeon22 / Chef Run output
Created January 20, 2014 14:34
Jenkins cookbook authentication error
[2014-01-20T09:21:23-05:00] INFO: Processing jenkins_jnlp_slave[hq-tor-build-ct122] action create (qp_buildbox::default line 133)
[2014-01-20T09:21:23-05:00] DEBUG: Load jenkins_jnlp_slave[hq-tor-build-ct122] slave information
[2014-01-20T09:21:23-05:00] DEBUG: Jenkins is not accepting requests - 403 Forbidden
[2014-01-20T09:21:24-05:00] DEBUG: Jenkins is not accepting requests - 403 Forbidden
[2014-01-20T09:21:24-05:00] DEBUG: Jenkins is not accepting requests - 403 Forbidden
[2014-01-20T09:21:25-05:00] DEBUG: Jenkins is not accepting requests - 403 Forbidden
[2014-01-20T09:21:25-05:00] DEBUG: Jenkins is not accepting requests - 403 Forbidden
[2014-01-20T09:21:26-05:00] DEBUG: Jenkins is not accepting requests - 403 Forbidden
[2014-01-20T09:21:26-05:00] DEBUG: Jenkins is not accepting requests - 403 Forbidden
[2014-01-20T09:21:27-05:00] DEBUG: Jenkins is not accepting requests - 403 Forbidden