Windows を Chef Node にする手順
1. はじめに
本文書では、Windowsサーバを Chef Node として Chef Client を導入し、Chef Server に登録する手順を説明します。
Chef Server、Chef Workstation をセットアップする手順、Linux(CentOS)を Chef Node にする手順については、以下の文書を参照してください。
Qiita: Chef Server 環境構築手順
Chef Node となる Winサーバ の FQDN名 は以下を想定しています。
- Winサーバ: sjchefn02.w2012.local - Chef Node
要件
- Chef Server / Workstatoin とほぼ同じ時間である必要があります。NTPなどで事前に同期をとっておくのがオススメです。
- Chef Server の名前を解決ができる必要があります
- Chef Nodeは、Chef Server に対して https通信 できる必要があります
- Chef Workstation は、Windows の Chef Node に対して WinRM 通信 できる必要があります
- Chef Node とする Windowsサーバは Windows 2012 R2 を使用しています。Chef Client が導入可能な Windows はこちらを参照ください。
- 導入手順がシンプルになるので、本文書では Chef Node となる Winサーバがインターネットに接続できることを前提とします。Chef 自体はサーバがインターネットに接続していなくても利用することが可能です。
注意事項
2016/10/24時点での情報を元に作成しています。
最新の情報は 公式 LEARN CHEF / Install the chef-client on Microsoft Windows あたりを参照してください。
また、本手順は IBM Bluemix Infrastructure (旧SoftLayer)上で検証しています。
2. Chef Node セットアップ for Windows
Windows に対しても Chef Workstation から "Bootstrap" 機能で chef-client
を導入することが可能です。Chef Node が Linux(CentOS) の場合は、Chef Workstation から ssh経由で導入しましたが、Windowsに対しては WinRM を使用します。
WinRM 設定
Chef Node上の PowerShell から winrm qc
を実行して、外部から管理可能なように WinRM の構成をしてください。
PS C:\Users\Administrator> winrm qc -q
WinRM service is already running on this machine.
WinRM is not set up to allow remote access to this machine for management.
The following changes must be made:
Configure LocalAccountTokenFilterPolicy to grant administrative rights remotely to local users.
WinRM has been updated for remote management.
Configured LocalAccountTokenFilterPolicy to grant administrative rights remotely to local users.
IBM Bluemix Infrastructure から Provisioning直後の Windows2012 R2 は上記コマンドで問題なく、WinRM の構成が完了しました。
上記コマンドで WinRMの構成がうまくいかない場合は、以下のサイトなどを参照してみてください。
PowerShellでリモートPCの操作を行うに為にEnable-PSRemotingをするための準備
ユーザ設定
WinRM 経由で Administrator ユーザを利用します。新規にユーザ作成は不要です。
補足
WinRM の設定と Chef Server の hostsファイルでの名前解決を自動構成する batスクリプトを作成しました。
IBM Bluemix Infrastructure (旧SoftLayer) では サーバプロビジョニング時に PostInstallScript に指定してあげることで プロビジョニング直後に Chef Bootstrap することも可能です。
Chef Server の名前とIPは環境に合わせて変更する必要があるのでご注意ください。
@echo off
set IP=10.122.221.160
set FQDN=sjchefs01.cent7.local
powershell -Command "winrm quickconfig -q"
echo %IP% %FQDN% >> %windir%\system32\drivers\etc\hosts
exit
Bootstrap
それでは、Chef Workstation から Chef Node に対して Bootstrap します。Chef Workstation から Chef Node の、Chef Node から Chef Server の名前解決ができる必要があることにご注意ください。
途中で、Administrator の パスワードを聞かれるので入力してください。bootstrap
コマンドの -P オプションであらかじめ Administrator のパスワードを付与することも可能です。
[chefuser01@sjchefw01 chef-repo]$ knife bootstrap windows winrm sjchefn02.w2012.local -x Administrator
Enter your password: # <- Administrator の パスワードを入力
Doing old-style registration with the validation key at /home/chefuser01/chef-repo/.chef/test-validator.pem...
Delete your validation key in order to use your user credentials instead
Waiting for remote response before bootstrap.sjchefn02.w2012.local .
sjchefn02.w2012.local Response received.
Remote node responded after 0.0 minutes.
Bootstrapping Chef on sjchefn02.w2012.local
sjchefn02.w2012.local Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-24014-1478065109.bat" chunk 1
sjchefn02.w2012.local Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-24014-1478065109.bat" chunk 2
sjchefn02.w2012.local Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-24014-1478065109.bat" chunk 3
sjchefn02.w2012.local Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-24014-1478065109.bat" chunk 4
sjchefn02.w2012.local Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-24014-1478065109.bat" chunk 5
sjchefn02.w2012.local Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-24014-1478065109.bat" chunk 6
sjchefn02.w2012.local Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-24014-1478065109.bat" chunk 7
sjchefn02.w2012.local Rendering "C:\Users\ADMINI~1\AppData\Local\Temp\bootstrap-24014-1478065109.bat" chunk 8
sjchefn02.w2012.local Checking for existing directory "C:\chef"...
sjchefn02.w2012.local Existing directory not found, creating.
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>(
sjchefn02.w2012.local echo.url = WScript.Arguments.Named("url")
sjchefn02.w2012.local echo.path = WScript.Arguments.Named("path")
sjchefn02.w2012.local echo.proxy = null
sjchefn02.w2012.local echo.'* Vaguely attempt to handle file:// scheme urls by url unescaping and switching all
sjchefn02.w2012.local echo.'* / into . Also assume that file:/// is a local absolute path and that file://<foo>
sjchefn02.w2012.local echo.'* is possibly a network file path.
sjchefn02.w2012.local echo.If InStr(url, "file://") = 1 Then
sjchefn02.w2012.local echo.url = Unescape(url)
sjchefn02.w2012.local echo.If InStr(url, "file:///") = 1 Then
sjchefn02.w2012.local echo.sourcePath = Mid(url, Len("file:///") + 1)
sjchefn02.w2012.local echo.Else
sjchefn02.w2012.local echo.sourcePath = Mid(url, Len("file:") + 1)
sjchefn02.w2012.local echo.End If
sjchefn02.w2012.local echo.sourcePath = Replace(sourcePath, "/", "\")
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.Set objFSO = CreateObject("Scripting.FileSystemObject")
sjchefn02.w2012.local echo.If objFSO.Fileexists(path) Then objFSO.DeleteFile path
sjchefn02.w2012.local echo.objFSO.CopyFile sourcePath, path, true
sjchefn02.w2012.local echo.Set objFSO = Nothing
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.Else
sjchefn02.w2012.local echo.Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP")
sjchefn02.w2012.local echo.Set wshShell = CreateObject( "WScript.Shell" )
sjchefn02.w2012.local echo.Set objUserVariables = wshShell.Environment("USER")
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.rem http proxy is optional
sjchefn02.w2012.local echo.rem attempt to read from HTTP_PROXY env var first
sjchefn02.w2012.local echo.On Error Resume Next
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.If NOT (objUserVariables("HTTP_PROXY") = "") Then
sjchefn02.w2012.local echo.proxy = objUserVariables("HTTP_PROXY")
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.rem fall back to named arg
sjchefn02.w2012.local echo.ElseIf NOT (WScript.Arguments.Named("proxy") = "") Then
sjchefn02.w2012.local echo.proxy = WScript.Arguments.Named("proxy")
sjchefn02.w2012.local echo.End If
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.If NOT isNull(proxy) Then
sjchefn02.w2012.local echo.rem setProxy method is only available on ServerXMLHTTP 6.0+
sjchefn02.w2012.local echo.Set objXMLHTTP = CreateObject("MSXML2.ServerXMLHTTP.6.0")
sjchefn02.w2012.local echo.objXMLHTTP.setProxy 2, proxy
sjchefn02.w2012.local echo.End If
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.On Error Goto 0
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.objXMLHTTP.open "GET", url, false
sjchefn02.w2012.local echo.objXMLHTTP.send()
sjchefn02.w2012.local echo.If objXMLHTTP.Status = 200 Then
sjchefn02.w2012.local echo.Set objADOStream = CreateObject("ADODB.Stream")
sjchefn02.w2012.local echo.objADOStream.Open
sjchefn02.w2012.local echo.objADOStream.Type = 1
sjchefn02.w2012.local echo.objADOStream.Write objXMLHTTP.ResponseBody
sjchefn02.w2012.local echo.objADOStream.Position = 0
sjchefn02.w2012.local echo.Set objFSO = Createobject("Scripting.FileSystemObject")
sjchefn02.w2012.local echo.If objFSO.Fileexists(path) Then objFSO.DeleteFile path
sjchefn02.w2012.local echo.Set objFSO = Nothing
sjchefn02.w2012.local echo.objADOStream.SaveToFile path
sjchefn02.w2012.local echo.objADOStream.Close
sjchefn02.w2012.local echo.Set objADOStream = Nothing
sjchefn02.w2012.local echo.End If
sjchefn02.w2012.local echo.Set objXMLHTTP = Nothing
sjchefn02.w2012.local echo.End If
sjchefn02.w2012.local ) 1>C:\chef\wget.vbs
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>(
sjchefn02.w2012.local echo.param(
sjchefn02.w2012.local echo. [String] $remoteUrl,
sjchefn02.w2012.local echo. [String] $localPath
sjchefn02.w2012.local echo.)
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.$ProxyUrl = $env:http_proxy;
sjchefn02.w2012.local echo.$webClient = new-object System.Net.WebClient;
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.if ($ProxyUrl -ne '') {
sjchefn02.w2012.local echo. $WebProxy = New-Object System.Net.WebProxy($ProxyUrl,$true)
sjchefn02.w2012.local echo. $WebClient.Proxy = $WebProxy
sjchefn02.w2012.local echo.}
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.$webClient.DownloadFile($remoteUrl, $localPath);
sjchefn02.w2012.local ) 1>C:\chef\wget.ps1
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>(
sjchefn02.w2012.local
sjchefn02.w2012.local
sjchefn02.w2012.local
sjchefn02.w2012.local )
sjchefn02.w2012.local Detected Windows Version 6.3 Build 9600
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>goto Version6.3
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>goto Version6.2
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>goto architecture_select
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>IF "AMD64" == "x86" IF not defined PROCESSOR_ARCHITEW6432
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>goto install
sjchefn02.w2012.local Checking for existing downloaded package at "C:\Users\ADMINI~1\AppData\Local\Temp\chef-client-latest.msi"
sjchefn02.w2012.local No existing downloaded packages to delete.
sjchefn02.w2012.local Attempting to download client package using PowerShell if available...
sjchefn02.w2012.local powershell.exe -ExecutionPolicy Unrestricted -InputFormat None -NoProfile -NonInteractive -File C:\chef\wget.ps1 "https://www.chef.io/chef/download?p=windows&pv=2012&m=x86_64&DownloadContext=PowerShell&v=12" "C:\Users\ADMINI~1\AppData\Local\Temp\chef-client-latest.msi"
sjchefn02.w2012.local Download via PowerShell succeeded.
sjchefn02.w2012.local Installing downloaded client package...
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>msiexec /qn /log "C:\Users\ADMINI~1\AppData\Local\Temp\chef-client-msi12343.log" /i "C:\Users\ADMINI~1\AppData\Local\Temp\chef-client-latest.msi"
sjchefn02.w2012.local Successfully installed Chef Client package.
sjchefn02.w2012.local Installation completed successfully
sjchefn02.w2012.local Writing validation key...
sjchefn02.w2012.local Validation key written.
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>mkdir C:\chef\trusted_certs
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>(
sjchefn02.w2012.local echo.-----BEGIN CERTIFICATE-----
sjchefn02.w2012.local echo.MIID1TCCAr2gAwIBAgIBADANBgkqhkiG9w0BAQsFADBUMQswCQYDVQQGEwJVUzEQ
sjchefn02.w2012.local echo.MA4GA1UECgwHWW91Q29ycDETMBEGA1UECwwKT3BlcmF0aW9uczEeMBwGA1UEAwwV
sjchefn02.w2012.local echo.c2pjaGVmczAxLmNlbnQ3LmxvY2FsMB4XDTE2MTAyNjA1MjI1MFoXDTI2MTAyNDA1
sjchefn02.w2012.local echo.MjI1MFowVDELMAkGA1UEBhMCVVMxEDAOBgNVBAoMB1lvdUNvcnAxEzARBgNVBAsM
sjchefn02.w2012.local echo.Ck9wZXJhdGlvbnMxHjAcBgNVBAMMFXNqY2hlZnMwMS5jZW50Ny5sb2NhbDCCASIw
sjchefn02.w2012.local echo.DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK30WquCq0sxe8MR5J7dNQzCkn4N
sjchefn02.w2012.local echo.RYKE2pjbcgq/ZriiWU27Js2LkfsQlMDsehIVpOk9BoAC3PQcN6sMtwy+H8FuSNF1
sjchefn02.w2012.local echo.Gp1yWrf/Mu5OsqFLYbqQqUIMvkDbRzI6KxxFidlKVgzMNDtXUnXBCCTwHbblBys5
sjchefn02.w2012.local echo.pt+E4GLJ+hw5+fBpGSRmJyvw4RSDUIHbbOXDVNGxDai2Scy7WvisK86Vg7NrkyaY
sjchefn02.w2012.local echo.ZAePJbBaw2d2XR98x/8DqWZfaor9HfPpWrpUZaimKd/D5jnIEp8a/nHpDSEgsFEC
sjchefn02.w2012.local echo.c1oMISFMVEFJ9fswg0zks46xLjyYmFCfqyFThJKM1s7Ye0to33z0PI0EdaMCAwEA
sjchefn02.w2012.local echo.AaOBsTCBrjAPBgNVHRMBAf8EBTADAQH/MB0GA1UdDgQWBBRJrXELJyH0ytK8fTWG
sjchefn02.w2012.local echo.q/8XAD4g0DB8BgNVHSMEdTBzgBRJrXELJyH0ytK8fTWGq/8XAD4g0KFYpFYwVDEL
sjchefn02.w2012.local echo.MAkGA1UEBhMCVVMxEDAOBgNVBAoMB1lvdUNvcnAxEzARBgNVBAsMCk9wZXJhdGlv
sjchefn02.w2012.local echo.bnMxHjAcBgNVBAMMFXNqY2hlZnMwMS5jZW50Ny5sb2NhbIIBADANBgkqhkiG9w0B
sjchefn02.w2012.local echo.AQsFAAOCAQEAecZFzMdKt9yv4VqKxlZyAtYdXyaw1EV9RideChIKJEB8qG/6bQ10
sjchefn02.w2012.local echo.AmutAo7egWSZRFdxvANNQIPVHnS1nOqFM3rTCp0EyFKR8KMBuUsjl0ItRPXd6t/a
sjchefn02.w2012.local echo.c7pad3fM7rxdqd5R0yDfcj5vy5QYtKvLqfLa8HME5kTo4elQ616SBWAtOTRCZaGz
sjchefn02.w2012.local echo.zAk0GHiYWW0QsBFxzIXLWoJS0UdTJthn/DyUIJDxpbwazlYMYyEEPjQ+uMKUmebQ
sjchefn02.w2012.local echo.r00PEvMUsiu4WOHbRKhgHfrj62Kdqirj3Mw/JZ4b0nvqqqkFqpI6J1AENS3rFg8A
sjchefn02.w2012.local echo.t22UZWtMp+WzG0AVvFNX7Rw3jFUIvsEXXA==
sjchefn02.w2012.local echo.-----END CERTIFICATE-----
sjchefn02.w2012.local ) 1>C:\chef/trusted_certs/sjchefs01_cent7_local.crt
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>(
sjchefn02.w2012.local echo.log_level :info
sjchefn02.w2012.local echo.log_location STDOUT
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.chef_server_url "https://sjchefs01.cent7.local/organizations/test"
sjchefn02.w2012.local echo.validation_client_name "test-validator"
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.file_cache_path "c:/chef/cache"
sjchefn02.w2012.local echo.file_backup_path "c:/chef/backup"
sjchefn02.w2012.local echo.cache_options ({:path => "c:/chef/cache/checksums", :skip_expires => true})
sjchefn02.w2012.local echo.
sjchefn02.w2012.local echo.# Using default node name (fqdn)
sjchefn02.w2012.local echo.trusted_certs_dir "c:/chef/trusted_certs"
sjchefn02.w2012.local ) 1>C:\chef\client.rb
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>(echo.{"run_list":[]}) 1>C:\chef\first-boot.json
sjchefn02.w2012.local Starting chef to bootstrap the node...
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>SET "PATH=C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\ruby\bin;C:\opscode\chef\bin;C:\opscode\chef\embedded\bin"
sjchefn02.w2012.local
sjchefn02.w2012.local C:\Users\Administrator>chef-client -c c:/chef/client.rb -j c:/chef/first-boot.json
sjchefn02.w2012.local [2016-11-02T00:39:13-05:00] INFO: *** Chef 12.15.19 ***
sjchefn02.w2012.local [2016-11-02T00:39:13-05:00] INFO: Platform: x64-mingw32
sjchefn02.w2012.local [2016-11-02T00:39:13-05:00] INFO: Chef-client pid: 1884
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: Client key C:\chef\client.pem is not present - registering
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: HTTP Request Returned 404 Object Not Found: error
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: Setting the run_list to [] from CLI options
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: Run List is []
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: Run List expands to []
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: Starting Chef Run for sjchefn01.w2012.local
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: Running start handlers
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: Start handlers complete.
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: HTTP Request Returned 404 Not Found:
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] INFO: Loading cookbooks []
sjchefn02.w2012.local [2016-11-02T00:39:50-05:00] WARN: Node sjchefn01.w2012.local has an empty run list.
sjchefn02.w2012.local [2016-11-02T00:39:51-05:00] INFO: Chef Run complete in 0.359375 seconds
sjchefn02.w2012.local [2016-11-02T00:39:51-05:00] INFO: Running report handlers
sjchefn02.w2012.local [2016-11-02T00:39:51-05:00] INFO: Report handlers complete
これで、sjchefn02.w2012.local が Chef Node として Chef Server に登録されました。
[chefuser01@sjchefw01 chef-repo]$ knife node list
sjchefn02.w2012.local
[chefuser01@sjchefw01 chef-repo]$ knife client list
sjchefn02.w2012.local
test-validator
上記の例では、
knife bootstrap
コマンドの中で、Chef Client の導入モジュールをインターネットからダウンロードして、導入しています。そのため、Chef Node がインターネットに接続できない環境ではエラーになります。
その場合は、以下のオプションを追加して、Chef Node にあらかじめ配置しておいた msiファイルから Chef Client を導入することも可能です。
--bootstrap-install-command 'msiexec -i C:¥chef-client-12.16.42-1-x86.msi'
また、以下のオプションを追加して、手近なファイルサーバからダウンロードして、Chef Client を導入することも可能です。
--bootstrap-install-command 'msiexec -i "https://xxx.xxx.com/chef-client-12.16.42-1-x86.msi"'
稼動確認
実際に Chef Node に対して Cookbook を実行してみます。
CentOS の際にも使用した 組織鍵を削除する `recipe[chef-client::delete_validation]` を使用します。
Linux に対して Chefを実行した時と比べて、Windows はログがみづらいですね。何をしているのか読み取りづらいです。。
[chefuser01@sjchefw01 chef-repo]$ knife winrm name:sjchefn02.w2012.local "chef-client -o 'recipe[chef-client::delete_validation]'" -x Administrator -P "xxxxxxxx"
sjchefn02.w2012.local [2016-11-02T01:07:47-05:00] INFO: *** Chef 12.15.19 ***
sjchefn02.w2012.local [2016-11-02T01:07:47-05:00] INFO: Platform: x64-mingw32
sjchefn02.w2012.local [2016-11-02T01:07:47-05:00] INFO: Chef-client pid: 824
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] WARN: Run List override has been provided.
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] WARN: Original Run List: []
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] WARN: Overridden Run List: [recipe[chef-client::delete_validation]]
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] INFO: Run List is [recipe[chef-client::delete_validation]]
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] INFO: Run List expands to [chef-client::delete_validation]
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] INFO: Starting Chef Run for sjchefn02.w2012.local
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] INFO: Running start handlers
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] INFO: Start handlers complete.
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] INFO: HTTP Request Returned 404 Not Found:
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] INFO: Loading cookbooks [chef-client@7.0.0, cron@3.0.0, logrotate@2.1.0, compat_resource@12.16.1, windows@2.0.2]
sjchefn02.w2012.local [2016-11-02T01:08:23-05:00] INFO: Skipping removal of obsoleted cookbooks from the cache
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/_unit_test_cloning_resource.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/config.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/default.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/init_service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/runit_service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/launchd_service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/bsd_service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/cron.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/delete_validation.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/systemd_service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/smf_service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/src_service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/com.chef.chef-client.plist.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/arch/chef/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/windows_service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/task.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/client.rb.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/recipes/upstart_service.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/libraries/helpers.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/attributes/default.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/debian/default/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/debian/init/chef-client.conf.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/debian/init.d/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/fedora/sysconfig/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/suse/sysconfig/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/suse/init.d/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/solaris/manifest-5.11.xml.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/redhat/sysconfig/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/solaris/manifest.xml.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/redhat/init.d/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/solaris/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/systemd/chef-client.service.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/sv-chef-client-run.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/freebsd/chef-client.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/default/sv-chef-client-log-run.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/freebsd/chef.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/CONTRIBUTING.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/templates/windows/client.service.rb.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/README.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/CHANGELOG.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/metadata.json in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/providers/d.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/MAINTAINERS.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/chef-client/.foodcritic in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/recipes/default.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/definitions/manage.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/libraries/matchers.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/attributes/default.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/templates/default/crontab.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/templates/default/cron_manage.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/templates/default/cron.d.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/CHANGELOG.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/README.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/metadata.json in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/resources/d.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/CONTRIBUTING.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/MAINTAINERS.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/cron/.foodcritic in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/recipes/default.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/templates/default/logrotate.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/resources/app.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/recipes/global.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/libraries/logrotate_config.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/attributes/default.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/libraries/matchers.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/.gitignore in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/templates/default/logrotate-global.erb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/CHANGELOG.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/.kitchen.yml in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/Gemfile in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/CONTRIBUTING.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/Makefile in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/.rubocop.yml in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/Berksfile.lock in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/metadata.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/README.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/LICENSE in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/.travis.yml in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/metadata.json in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/Gemfile.lock in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/logrotate/Berksfile in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/libraries/autoload.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/delayed_evaluator.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/constants.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/recipe.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/core.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/declare_resource.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/platform_introspection.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/lazy_module_include.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/notifying_block.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/dsl/universal.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/powershell_out.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/params_validate.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/property.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider/systemd_unit.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider/apt_update.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider/noop.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/mixin/properties.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider/apt_repository.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider/yum_repository.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/provider.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource/apt_repository.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource/action_class.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource/apt_update.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource/systemd_unit.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource/yum_repository.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource_builder.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef/chef/resource.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/mixin/properties.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/copied_from_chef.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:24-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/exceptions.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/provider.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/recipe.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/mixin/params_validate.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/node.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/property.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/log.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/recipe_hook.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource/lwrp_base.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_collection/resource_list.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_builder.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_collection.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/resource_collection/resource_set.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/runner.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/monkeypatches/chef/run_context.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/recipe.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/property.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/compat_resource.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/resource.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_compat/resource/lwrp_base.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/CHANGELOG.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/CONTRIBUTING.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/README.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/files/lib/chef_upstream_version.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/auto_run.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/MAINTAINERS.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/compat_resource/metadata.json in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/certificate.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/path.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/font.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/feature.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/certificate_binding.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/pagefile.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/http_acl.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/task.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/auto_run.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/printer.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/shortcut.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/printer_port.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/certificate.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/certificate_binding.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/resources/zipfile.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/feature_dism.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/feature_powershell.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/pagefile.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/feature_servermanagercmd.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/http_acl.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/font.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/printer.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/path.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/printer_port.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/task.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/feature_base.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/zipfile.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/providers/shortcut.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/powershell_helper.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/recipes/default.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/powershell_out.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/version.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/registry_helper.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/matchers.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/attributes/default.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/wmi_helper.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/windows_helper.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/windows_privileged.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/CONTRIBUTING.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/libraries/windows_package.rb in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/CHANGELOG.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/.foodcritic in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/metadata.json in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/README.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Storing updated cookbooks/windows/MAINTAINERS.md in the cache.
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Processing file[C:\chef\validation.pem] action delete (chef-client::delete_validation line 35)
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: file[C:\chef\validation.pem] deleted file at C:\chef\validation.pem
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] WARN: Skipping final node save because override_runlist was given
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Chef Run complete in 1.906208 seconds
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Skipping removal of unused files from the cache
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Running report handlers
sjchefn02.w2012.local [2016-11-02T01:08:25-05:00] INFO: Report handlers complete
3. 便利な Cookbook
Windows に対して Cookbook を実行する上で大変便利なのが Windows Cookbook です。
Chef社 が公式に出している Cookbook で、Windows 向けの 便利なリソースを追加することができます。
Windows Cookbook で追加される便利なリソースは以下の通りです。
リソース名 | 機能 |
---|---|
windows_feature | 役割と機能の追加 |
windows_path | 環境変数pathの修正 |
windows_zipfile | zipファイルの操作 |
windows_batch | cmd.exe上でコマンド実行 |
windows_reboot | 再起動 |
windows_registry | レジストリ操作 |