This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-4.3$ kitchen verify default-centos-66-chef-11 | |
-----> Starting Kitchen (v1.4.2) | |
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/webagent-cookie.rb:458: warning: already initialized constant HTTPClient::CookieManager | |
/opt/chefdk/embedded/lib/ruby/gems/2.1.0/gems/httpclient-2.6.0.1/lib/httpclient/cookie.rb:8: warning: previous definition of CookieManager was here | |
-----> Converging <default-centos-66-chef-11>... | |
Preparing files for transfer | |
Preparing dna.json | |
Resolving cookbook dependencies with Berkshelf 4.0.1... | |
Removing non-cookbook files before transfer | |
Preparing validation.pem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[2015-10-17T20:17:38+01:00] DEBUG: providers that refused resource service[tomcat@instance1] were: [Chef::Provider::Service::Init, Chef::Provider::Service::Redhat] | |
[2015-10-17T20:17:38+01:00] DEBUG: providers that support resource service[tomcat@instance1] include: [Chef::Provider::Service::Systemd] | |
[2015-10-17T20:17:38+01:00] DEBUG: providers that survived replacement include: [Chef::Provider::Service::Systemd] | |
[2015-10-17T20:17:38+01:00] DEBUG: service[tomcat@instance1] already running - nothing to do | |
(up to date) | |
(up to date) | |
* mw-tomcat_selinux[tomcat-examples-instance1] action create[2015-10-17T20:17:38+01:00] INFO: Processing mw-tomcat_selinux[tomcat-examples-instance1] action create (/var/chef/cach | |
e/cookbooks/mw-tomcat/providers/default.rb line 95) | |
[2015-10-17T20:17:38+01:00] DEBUG: providers for generic mw-tomcat_selinux resource enabled on node include: [] | |
[2015-10-17T20:17:38+01:00] DEBUG: providers that refused resource mw-tomcat_selinux[tomcat-examples-instance1] were: [] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
driver: | |
name: openstack | |
openstack_username: 'testkitchen' | |
openstack_api_key: 'testkitchen' | |
openstack_auth_url: 'http://10.123.115.21:5000/v2.0/tokens' | |
openstack_tenant: 'Chef Project' | |
network_ref: prod1-net2 | |
require_chef_omnibus: false | |
key_name: testkitchen |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bash-4.3$ chef --version | |
Chef Development Kit Version: 0.12.0 | |
chef-client version: 12.8.1 | |
berks version: 4.3.0 | |
kitchen version: 1.6.0 | |
bash-4.3$ chef-client -z vagrant_linux.rb mycluster.rb | |
[2016-04-24T21:50:36+01:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /home/quick/chef | |
One version per cookbook |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* ruby_block[fail-range] action nothing (skipped due to action :nothing) | |
* execute[/usr/sbin/semanage port -a -t http_port_t -p tcp 1900-1902] action run | |
- execute /usr/sbin/semanage port -a -t http_port_t -p tcp 1900-1902 | |
* selinux_policy_port[1901] action addormodify | |
* execute[selinux-port-1901-add] action run (skipped due to not_if) | |
(up to date) | |
* execute[selinux-port-1901-modify] action run (skipped due to not_if) | |
(up to date) | |
(up to date) | |
Recipe: selinux_policy_test::bad_port |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-bash-4.3$ kitchen create default-centos-72 | |
-----> Starting Kitchen (v1.8.0) | |
-----> Creating <default-centos-72>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'bento/centos-7.2'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Checking if box 'bento/centos-7.2' is up to date... | |
==> default: A newer version of the box 'bento/centos-7.2' is available! You currently | |
==> default: have version '2.2.6'. The latest is version '2.2.7'. Run | |
==> default: `vagrant box update` to update. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-bash-4.3$ kitchen converge default-centos-67 | |
-----> Starting Kitchen (v1.8.0) | |
-----> Converging <default-centos-67>... | |
Preparing files for transfer | |
Preparing dna.json | |
Resolving cookbook dependencies with Berkshelf 4.3.3... | |
Removing non-cookbook files before transfer | |
Preparing validation.pem | |
Preparing client.rb | |
-----> Installing Chef Omnibus (always install latest version) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-bash-4.3$ kitchen converge default-centos-6-chef-11 | |
-----> Starting Kitchen (v1.8.0) | |
-----> Creating <default-centos-6-chef-11>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'opscode-centos-6.7'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Setting the name of the VM: kitchen-chef-selinuxpolicy-1-default-centos-6-chef-11_default_1466700195079_40519 | |
==> default: Fixed port collision for 22 => 2222. Now on port 2201. | |
==> default: Clearing any previously set network interfaces... | |
==> default: Preparing network interfaces based on configuration... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-bash-4.3$ kitchen converge broken-selinux-fedora-22 | |
-----> Starting Kitchen (v1.8.0) | |
-----> Creating <broken-selinux-fedora-22>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'bento/fedora-22'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Checking if box 'bento/fedora-22' is up to date... | |
==> default: Setting the name of the VM: kitchen-chef-selinuxpolicy-1-broken-selinux-fedora-22_default_1466701902224_18189 | |
==> default: Fixed port collision for 22 => 2222. Now on port 2202. | |
==> default: Clearing any previously set network interfaces... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-bash-4.3$ kitchen converge broken-selinux-fedora-23 | |
-----> Starting Kitchen (v1.8.0) | |
-----> Creating <broken-selinux-fedora-23>... | |
Bringing machine 'default' up with 'virtualbox' provider... | |
==> default: Importing base box 'bento/fedora-23'... | |
==> default: Matching MAC address for NAT networking... | |
==> default: Checking if box 'bento/fedora-23' is up to date... | |
==> default: Setting the name of the VM: kitchen-chef-selinuxpolicy-1-broken-selinux-fedora-23_default_1466702992611_70977 | |
==> default: Fixed port collision for 22 => 2222. Now on port 2203. | |
==> default: Clearing any previously set network interfaces... |