Information Technology Reference
In-Depth Information
$ kitchen converge
-----> Starting Kitchen (v1.2.2.dev)
-----> Converging <default-centos65>...
...
Converging 3 resources
Recipe: enterprise-chef::default
* remote_file[/tmp/kitchen/cache/private-chef-11.1.8-1.el6.x86_64.rpm]
action create[2014-08-14T19:41:13-07:00] INFO: Processing
remote_file[/tmp/kitchen/cache/private-chef-11.1.8-1.el6.x86_64.rpm]
action create (enterprise-chef::default line 15)
(up to date)
* package[/tmp/kitchen/cache/private-chef-11.1.8-1.el6.x86_64.rpm]
action install[2014-08-14T19:41:20-07:00] INFO: Processing
package[/tmp/kitchen/cache/private-chef-11.1.8-1.el6.x86_64.rpm]
action install (enterprise-chef::default line 19)
- install version 11.1.8-1.el6 of package /tmp/kitchen/cache/
private-chef-11.1.8-1.el6.x86_64.rpm
* execute[private-chef-ctl reconfigure] action
run[2014-08-14T19:41:28-07:00] INFO: Processing
execute[private-chef-ctl reconfigure] action run
(enterprise-chef::default line 22)
[2014-08-14T19:41:39-07:00] INFO: execute[private-chef-ctl reconfigure]
ran successfully
- execute private-chef-ctl reconfigure
[2014-08-14T19:41:39-07:00] INFO: Chef Run complete in 26.305913778
seconds
Running handlers:
[2014-08-14T19:41:39-07:00] INFO: Running report handlers
Running handlers complete
[2014-08-14T19:41:39-07:00] INFO: Report handlers complete
Chef Client finished, 2/3 resources updated in 27.930367706 seconds
Finished converging <default-centos65> (0m30.94s).
-----> Kitchen is finished. (0m31.41s)
As mentioned earlier, most default Chef resources are idempotent . Notice that the remote_file
resource is idempotent. It is reporting (up to date) . The package resource is normally
idempotent. We specifically crafted this example to show you a platform-specific quirk re-
lated to idempotency when it is used on RedHat-variant platforms, such as CentOS, which
we'll show you how to address.
Search WWH ::




Custom Search