Skip to content

Instantly share code, notes, and snippets.

@lusis
Last active August 29, 2015 14:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lusis/97da5dbf0d364c0021c7 to your computer and use it in GitHub Desktop.
Save lusis/97da5dbf0d364c0021c7 to your computer and use it in GitHub Desktop.
centos7 weirdness in post-install scripts

In rebuilding and testing our omnibus "megapackage" on centos7, we discovered a weirdness where our post install scripts kept bombing out.

Note that this same script in our omnibus package worked on 14.04 ubuntu with no modification as well as the previous centos6 and ubuntu 12.04 setups.

It's possible the centos image we were using to test for centos6 already had selinux disabled (I haven't gone back and retested).

The really WEIRD part is that this work when I run these cookbooks manually logging in as root (the solo run we do in the post-install)

Something about the context of running chef-solo inside the context of a post-install script on centos7 feels like the issue but it could just be an old-fashioned bug.

[root@vagrant cache]# cat /etc/redhat-release 
CentOS Linux release 7.0.1406 (Core) 
[root@vagrant cache]# rpm -qp --scripts dmcm-base-10.4.0-3.el7.x86_64.rpm
postinstall scriptlet (using /bin/sh):
#!/bin/bash
#
# Perform necessary dmcm-base setup steps
# after package is installed.
#

PROGNAME=$(basename $0)
DATA_DIR=/var/lib/dmcm
LOG_DIR=/var/log/dmcm
function error_exit
{
  echo "${PROGNAME}: ${1:-"Unknown Error"}" 1>&2
  exit 1
}

mkdir -p $DATA_DIR || error_exit "Cannot create $DATA_DIR"
chmod 755 $DATA_DIR || error_exit "Cannot chmod $DATA_DIR"
mkdir -p $LOG_DIR || error_exit "Cannot create $LOG_DIR"
chmod 755 $LOG_DIR || error_exit "Cannot chmod $LOG_DIR"

chown -R root:root /opt/dmcm-base || error_exit "Cannot chown files for some reason"
#ln -s /opt/dmcm-base/embedded/lib/libssl.so.1.0.0 /opt/dmcm-base/embedded/lib/libssl.so.6
#ln -s /opt/dmcm-base/embedded/lib/libcrypto.so.1.0.0 /opt/dmcm-base/embedded/lib/libcrypto.so.6
for i in chef-apply chef-shell chef-solo chef-client erubis; do
	ln -s /opt/dmcm-base/embedded/bin/$i /opt/dmcm-base/bin/$i || error_exit "Cannot symlink $i"
done

PATH=/opt/dmcm-base/bin:/opt/dmcm-base/embedded/bin:$PATH /opt/dmcm-base/embedded/bin/chef-solo -c /opt/dmcm-base/etc/chef/solo.rb -o "role[install]"
echo "Thank you for installing dmcm-base"

exit 0
postuninstall scriptlet (using /bin/sh):
#!/bin/bash
#
# Perform necessary dmcm-base removal steps
# after package is uninstalled.
#

echo "dmcm-base has been uninstalled!"

exit 0

This is with selinux enabled.

[root@vagrant cache]# yum localinstall dmcm-base-10.4.0-3.el7.x86_64.rpm
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Examining dmcm-base-10.4.0-3.el7.x86_64.rpm: dmcm-base-10.4.0-3.el7.x86_64
Marking dmcm-base-10.4.0-3.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package dmcm-base.x86_64 0:10.4.0-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                     Arch                                     Version                                        Repository                                                        Size
============================================================================================================================================================================================================
Installing:
 dmcm-base                                   x86_64                                   10.4.0-3.el7                                   /dmcm-base-10.4.0-3.el7.x86_64                                   668 M

Transaction Summary
============================================================================================================================================================================================================
Install  1 Package

Total size: 668 M
Installed size: 668 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : dmcm-base-10.4.0-3.el7.x86_64                                                                                                                                                            1/1 
[2014-08-29T08:37:37-04:00] INFO: Forking chef instance to converge...
[2014-08-29T08:37:37-04:00] DEBUG: Fork successful. Waiting for new chef pid: 3948
[2014-08-29T08:37:37-04:00] DEBUG: Forked instance now converging
[2014-08-29T08:37:37-04:00] WARN: 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
SSL validation of HTTPS requests is disabled. HTTPS connections are still
encrypted, but chef is not able to detect forged replies or man in the middle
attacks.

To fix this issue add an entry like this to your configuration file:

  # Verify all HTTPS connections (recommended)
  ssl_verify_mode :verify_peer

  # OR, Verify only connections to chef-server
  verify_api_cert true

To check your SSL configuration, or troubleshoot errors, you can use the
`knife ssl check` command like so:


  knife ssl check -c /opt/dmcm-base/etc/chef/solo.rb

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 

[2014-08-29T08:37:37-04:00] INFO: *** Chef 11.12.2 ***
[2014-08-29T08:37:37-04:00] INFO: Chef-client pid: 3948
[2014-08-29T08:37:37-04:00] DEBUG: Chef-client request_id: a00c4d96-73ed-49bd-81a4-8ac5fb5519b6
[2014-08-29T08:37:39-04:00] DEBUG: Building node object for dmcm-node
[2014-08-29T08:37:39-04:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2014-08-29T08:37:39-04:00] DEBUG: Applying attributes from json file
[2014-08-29T08:37:39-04:00] DEBUG: Platform is centos version 7.0.1406
[2014-08-29T08:37:39-04:00] WARN: Run List override has been provided.
[2014-08-29T08:37:39-04:00] WARN: Original Run List: []
[2014-08-29T08:37:39-04:00] WARN: Overridden Run List: [role[install]]
[2014-08-29T08:37:39-04:00] INFO: Run List is [role[install]]
[2014-08-29T08:37:39-04:00] INFO: Run List expands to [rabbitmq, percona-server, nginx, redis]
[2014-08-29T08:37:39-04:00] INFO: Starting Chef Run for dmcm-node
[2014-08-29T08:37:39-04:00] INFO: Running start handlers
[2014-08-29T08:37:39-04:00] INFO: Start handlers complete.
[2014-08-29T08:37:39-04:00] DEBUG: No chefignore file found at /opt/dmcm-base/etc/chef/chefignore no files will be ignored
[2014-08-29T08:37:39-04:00] DEBUG: Cookbooks to compile: [:"build-essential", :yum, :runit, :runsvdir, :rabbitmq, :"percona-server", :nginx, :redis]
[2014-08-29T08:37:39-04:00] DEBUG: Loading cookbook runit's library file: /opt/dmcm-base/etc/chef/cookbooks/runit/libraries/default.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading cookbook runit's library file: /opt/dmcm-base/etc/chef/cookbooks/runit/libraries/provider_runit_service.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading cookbook runit's library file: /opt/dmcm-base/etc/chef/cookbooks/runit/libraries/resource_runit_service.rb
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook build-essential's attribute file /opt/dmcm-base/etc/chef/cookbooks/build-essential/attributes/default.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute build-essential::default
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook yum's attribute file /opt/dmcm-base/etc/chef/cookbooks/yum/attributes/default.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute yum::default
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook yum's attribute file /opt/dmcm-base/etc/chef/cookbooks/yum/attributes/elrepo.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute yum::elrepo
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook yum's attribute file /opt/dmcm-base/etc/chef/cookbooks/yum/attributes/epel.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute yum::epel
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook yum's attribute file /opt/dmcm-base/etc/chef/cookbooks/yum/attributes/remi.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute yum::remi
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook runit's attribute file /opt/dmcm-base/etc/chef/cookbooks/runit/attributes/default.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute runit::default
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook rabbitmq's attribute file /opt/dmcm-base/etc/chef/cookbooks/rabbitmq/attributes/default.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute rabbitmq::default
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook percona-server's attribute file /opt/dmcm-base/etc/chef/cookbooks/percona-server/attributes/default.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute percona-server::default
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook nginx's attribute file /opt/dmcm-base/etc/chef/cookbooks/nginx/attributes/default.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute nginx::default
[2014-08-29T08:37:39-04:00] DEBUG: Node dmcm-node loading cookbook redis's attribute file /opt/dmcm-base/etc/chef/cookbooks/redis/attributes/default.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loading Attribute redis::default
[2014-08-29T08:37:39-04:00] DEBUG: Loading cookbook yum's providers from /opt/dmcm-base/etc/chef/cookbooks/yum/providers/key.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loaded contents of /opt/dmcm-base/etc/chef/cookbooks/yum/providers/key.rb into a provider named yum_key defined in Chef::Provider::YumKey
[2014-08-29T08:37:39-04:00] DEBUG: Loading cookbook yum's providers from /opt/dmcm-base/etc/chef/cookbooks/yum/providers/repository.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loaded contents of /opt/dmcm-base/etc/chef/cookbooks/yum/providers/repository.rb into a provider named yum_repository defined in Chef::Provider::YumRepository
[2014-08-29T08:37:39-04:00] DEBUG: Loading cookbook yum's resources from /opt/dmcm-base/etc/chef/cookbooks/yum/resources/key.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loaded contents of /opt/dmcm-base/etc/chef/cookbooks/yum/resources/key.rb into a resource named yum_key defined in Chef::Resource::YumKey
[2014-08-29T08:37:39-04:00] DEBUG: Loading cookbook yum's resources from /opt/dmcm-base/etc/chef/cookbooks/yum/resources/repository.rb
[2014-08-29T08:37:39-04:00] DEBUG: Loaded contents of /opt/dmcm-base/etc/chef/cookbooks/yum/resources/repository.rb into a resource named yum_repository defined in Chef::Resource::YumRepository
[2014-08-29T08:37:39-04:00] DEBUG: Loading Recipe rabbitmq via include_recipe
[2014-08-29T08:37:39-04:00] DEBUG: Found recipe default in cookbook rabbitmq
[2014-08-29T08:37:39-04:00] DEBUG: Loading Recipe percona-server via include_recipe
[2014-08-29T08:37:39-04:00] DEBUG: Found recipe default in cookbook percona-server
[2014-08-29T08:37:39-04:00] DEBUG: Loading Recipe nginx via include_recipe
[2014-08-29T08:37:39-04:00] DEBUG: Found recipe default in cookbook nginx
[2014-08-29T08:37:39-04:00] DEBUG: Loading Recipe redis via include_recipe
[2014-08-29T08:37:39-04:00] DEBUG: Found recipe default in cookbook redis
[2014-08-29T08:37:39-04:00] DEBUG: Loading from cookbook_path: /opt/dmcm-base/etc/chef/cookbooks
[2014-08-29T08:37:39-04:00] DEBUG: Converging node dmcm-node
[2014-08-29T08:37:39-04:00] INFO: Processing user[dmcm-rabbitmq] action create (rabbitmq::default line 1)
[2014-08-29T08:37:39-04:00] DEBUG: user[dmcm-rabbitmq] user does not exist
[2014-08-29T08:37:39-04:00] DEBUG: user[dmcm-rabbitmq] setting comment to DMCM RabbitMQ Service
[2014-08-29T08:37:39-04:00] DEBUG: user[dmcm-rabbitmq] setting shell to /bin/false
[2014-08-29T08:37:39-04:00] DEBUG: user[dmcm-rabbitmq] managing the users home directory
[2014-08-29T08:37:39-04:00] INFO: user[dmcm-rabbitmq] created
[2014-08-29T08:37:39-04:00] INFO: Processing group[dmcm-rabbitmq] action create (rabbitmq::default line 9)
[2014-08-29T08:37:39-04:00] DEBUG: Executing groupmod dmcm-rabbitmq
[2014-08-29T08:37:39-04:00] DEBUG: ---- Begin output of groupmod dmcm-rabbitmq ----
[2014-08-29T08:37:39-04:00] DEBUG: STDOUT: 
[2014-08-29T08:37:39-04:00] DEBUG: STDERR: 
[2014-08-29T08:37:39-04:00] DEBUG: ---- End output of groupmod dmcm-rabbitmq ----
[2014-08-29T08:37:39-04:00] DEBUG: Ran groupmod dmcm-rabbitmq returned 0
[2014-08-29T08:37:39-04:00] DEBUG: group[dmcm-rabbitmq] appending member dmcm-rabbitmq to group dmcm-rabbitmq
[2014-08-29T08:37:39-04:00] INFO: group[dmcm-rabbitmq] altered
[2014-08-29T08:37:39-04:00] INFO: Processing directory[/var/lib/dmcm/rabbitmq/log] action create (rabbitmq::default line 16)
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/log] created directory /var/lib/dmcm/rabbitmq/log
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/log] owner changed to 997
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/log] group changed to 996
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/log] mode changed to 750
[2014-08-29T08:37:39-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/rabbitmq/log
[2014-08-29T08:37:39-04:00] INFO: Processing directory[/var/lib/dmcm/rabbitmq/data] action create (rabbitmq::default line 22)
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/data] created directory /var/lib/dmcm/rabbitmq/data
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/data] owner changed to 997
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/data] group changed to 996
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/data] mode changed to 750
[2014-08-29T08:37:39-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/rabbitmq/data
[2014-08-29T08:37:39-04:00] INFO: Processing link[/var/log/dmcm/rabbitmq] action create (rabbitmq::default line 28)
[2014-08-29T08:37:39-04:00] DEBUG: link[/var/log/dmcm/rabbitmq] created symbolic link from /var/lib/dmcm/rabbitmq/log -> /var/log/dmcm/rabbitmq
[2014-08-29T08:37:39-04:00] INFO: link[/var/log/dmcm/rabbitmq] created
[2014-08-29T08:37:39-04:00] DEBUG: found target_mode == nil, so no mode was specified on resource, not managing mode
[2014-08-29T08:37:39-04:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2014-08-29T08:37:39-04:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2014-08-29T08:37:39-04:00] INFO: Processing user[dmcm-mysql] action create (percona-server::default line 1)
[2014-08-29T08:37:39-04:00] DEBUG: user[dmcm-mysql] user does not exist
[2014-08-29T08:37:39-04:00] DEBUG: user[dmcm-mysql] setting comment to DMCM MySQL Service
[2014-08-29T08:37:39-04:00] DEBUG: user[dmcm-mysql] setting shell to /bin/false
[2014-08-29T08:37:39-04:00] DEBUG: user[dmcm-mysql] managing the users home directory
[2014-08-29T08:37:39-04:00] INFO: user[dmcm-mysql] created
[2014-08-29T08:37:39-04:00] INFO: Processing group[dmcm-mysql] action create (percona-server::default line 9)
[2014-08-29T08:37:39-04:00] DEBUG: Executing groupmod dmcm-mysql
[2014-08-29T08:37:39-04:00] DEBUG: ---- Begin output of groupmod dmcm-mysql ----
[2014-08-29T08:37:39-04:00] DEBUG: STDOUT: 
[2014-08-29T08:37:39-04:00] DEBUG: STDERR: 
[2014-08-29T08:37:39-04:00] DEBUG: ---- End output of groupmod dmcm-mysql ----
[2014-08-29T08:37:39-04:00] DEBUG: Ran groupmod dmcm-mysql returned 0
[2014-08-29T08:37:39-04:00] DEBUG: group[dmcm-mysql] appending member dmcm-mysql to group dmcm-mysql
[2014-08-29T08:37:39-04:00] INFO: group[dmcm-mysql] altered
[2014-08-29T08:37:39-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/log] action create (percona-server::default line 16)
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/log] created directory /var/lib/dmcm/mysql/log
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/log] owner changed to 996
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/log] group changed to 995
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/log] mode changed to 750
[2014-08-29T08:37:39-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/log
[2014-08-29T08:37:39-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/tmp] action create (percona-server::default line 22)
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/tmp] created directory /var/lib/dmcm/mysql/tmp
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/tmp] owner changed to 996
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/tmp] group changed to 995
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/tmp] mode changed to 750
[2014-08-29T08:37:39-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/tmp
[2014-08-29T08:37:39-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/data] action create (percona-server::default line 28)
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/data] created directory /var/lib/dmcm/mysql/data
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/data] owner changed to 996
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/data] group changed to 995
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/data] mode changed to 750
[2014-08-29T08:37:39-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/data
[2014-08-29T08:37:39-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/etc] action create (percona-server::default line 34)
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/etc] created directory /var/lib/dmcm/mysql/etc
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/etc] owner changed to 996
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/etc] group changed to 995
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/etc] mode changed to 750
[2014-08-29T08:37:39-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/etc
[2014-08-29T08:37:39-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/etc/conf.d] action create (percona-server::default line 40)
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/etc/conf.d] created directory /var/lib/dmcm/mysql/etc/conf.d
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/etc/conf.d] owner changed to 996
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/etc/conf.d] group changed to 995
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] INFO: directory[/var/lib/dmcm/mysql/etc/conf.d] mode changed to 750
[2014-08-29T08:37:39-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/etc/conf.d
[2014-08-29T08:37:39-04:00] INFO: Processing link[/var/log/dmcm/mysql] action create (percona-server::default line 46)
[2014-08-29T08:37:39-04:00] DEBUG: link[/var/log/dmcm/mysql] created symbolic link from /var/lib/dmcm/mysql/log -> /var/log/dmcm/mysql
[2014-08-29T08:37:39-04:00] INFO: link[/var/log/dmcm/mysql] created
[2014-08-29T08:37:39-04:00] DEBUG: found target_mode == nil, so no mode was specified on resource, not managing mode
[2014-08-29T08:37:39-04:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2014-08-29T08:37:39-04:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2014-08-29T08:37:39-04:00] INFO: Processing template[/var/lib/dmcm/mysql/etc/my.cnf] action create (percona-server::default line 50)
[2014-08-29T08:37:39-04:00] DEBUG: touching /var/lib/dmcm/mysql/etc/my.cnf to create it
[2014-08-29T08:37:39-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] created file /var/lib/dmcm/mysql/etc/my.cnf
[2014-08-29T08:37:39-04:00] DEBUG: calculating checksum of /tmp/chef-rendered-template20140829-3948-18ru7d to compare with 
[2014-08-29T08:37:39-04:00] DEBUG: running: diff -u /var/lib/dmcm/mysql/etc/my.cnf /tmp/chef-rendered-template20140829-3948-18ru7d
[2014-08-29T08:37:39-04:00] DEBUG: reading modes from /var/lib/dmcm/mysql/etc/my.cnf file
[2014-08-29T08:37:39-04:00] DEBUG: applying mode = 644, uid = 0, gid = 0 to /tmp/chef-rendered-template20140829-3948-18ru7d
[2014-08-29T08:37:39-04:00] DEBUG: moving temporary file /tmp/chef-rendered-template20140829-3948-18ru7d into place at /var/lib/dmcm/mysql/etc/my.cnf
[2014-08-29T08:37:39-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] updated file contents /var/lib/dmcm/mysql/etc/my.cnf
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:37:39-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] owner changed to 996
[2014-08-29T08:37:39-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:37:39-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] group changed to 995
[2014-08-29T08:37:39-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:37:39-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] mode changed to 644
[2014-08-29T08:37:39-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R /var/lib/dmcm/mysql/etc/my.cnf
[2014-08-29T08:37:39-04:00] INFO: Processing execute[mysql-install-db] action run (percona-server::default line 57)

================================================================================
Error executing action `run` on resource 'execute[mysql-install-db]'
================================================================================


Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 ----
STDOUT: Installing MySQL system tables...

Installation of system tables failed!  Examine the logs in
./data for more information.

You can try to start the mysqld daemon with:

    shell> ./bin/mysqld --skip-grant &

and use the command line tool ./bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> ./bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in ./data that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before submitting a bug report at
  https://bugs.launchpad.net/percona-server/+filebug
STDERR: Could not open required defaults file: /var/lib/dmcm/mysql/etc/my.cnf
Fatal error in defaults handling. Program aborted
mkdir: /opt/dmcm-base/embedded/lib/liblzma.so.5: no version information available (required by /lib64/libselinux.so.1)
mkdir: cannot create directory './data/mysql': Permission denied
chmod: cannot access './data/mysql': No such file or directory
Could not open required defaults file: /var/lib/dmcm/mysql/etc/my.cnf
Fatal error in defaults handling. Program aborted
---- End output of     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 ----
Ran     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 returned 1


Resource Declaration:
---------------------
# In /opt/dmcm-base/etc/chef/cookbooks/percona-server/recipes/default.rb

 57: execute "mysql-install-db" do
 58:   command <<-EOF
 59:     scripts/mysql_install_db --defaults-extra-file=#{node['percona-server']['etc_dir']}/my.cnf
 60:   EOF
 61:   user node['percona-server']['user']
 62:   environment ({
 63:                  "LD_LIBRARY_PATH" => "#{node['dmcm-base']['omnibus_root']}/embedded/lib"
 64:                })
 65:   not_if "test -d #{node['percona-server']['data_dir']}/mysql"
 66:   cwd node['percona-server']['embedded']
 67: end
 68: 



Compiled Resource:
------------------
# Declared in /opt/dmcm-base/etc/chef/cookbooks/percona-server/recipes/default.rb:57:in `from_file'

execute("mysql-install-db") do
  action "run"
  retries 0
  retry_delay 2
  guard_interpreter :default
  command "    scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf\n"
  backup 5
  cwd "/opt/dmcm-base/embedded/service/mysql"
  environment {"LD_LIBRARY_PATH"=>"/opt/dmcm-base/embedded/lib"}
  returns 0
  user "dmcm-mysql"
  cookbook_name :"percona-server"
  recipe_name "default"
  not_if "test -d /var/lib/dmcm/mysql/data/mysql"
end



[2014-08-29T08:37:39-04:00] INFO: Running queued delayed notifications before re-raising exception
[2014-08-29T08:37:39-04:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - execute[mysql-install-db] (percona-server::default line 57) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 ----
STDOUT: Installing MySQL system tables...

Installation of system tables failed!  Examine the logs in
./data for more information.

You can try to start the mysqld daemon with:

    shell> ./bin/mysqld --skip-grant &

and use the command line tool ./bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> ./bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in ./data that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before submitting a bug report at
  https://bugs.launchpad.net/percona-server/+filebug
STDERR: Could not open required defaults file: /var/lib/dmcm/mysql/etc/my.cnf
Fatal error in defaults handling. Program aborted
mkdir: /opt/dmcm-base/embedded/lib/liblzma.so.5: no version information available (required by /lib64/libselinux.so.1)
mkdir: cannot create directory './data/mysql': Permission denied
chmod: cannot access './data/mysql': No such file or directory
Could not open required defaults file: /var/lib/dmcm/mysql/etc/my.cnf
Fatal error in defaults handling. Program aborted
---- End output of     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 ----
Ran     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 returned 1
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.4.0/lib/mixlib/shellout.rb:257:in `invalid!'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.4.0/lib/mixlib/shellout.rb:244:in `error!'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/mixin/shell_out.rb:43:in `shell_out!'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/provider/execute.rb:60:in `block in action_run'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/mixin/why_run.rb:52:in `call'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/mixin/why_run.rb:52:in `add_action'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/provider.rb:155:in `converge_by'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/provider/execute.rb:59:in `action_run'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/provider.rb:120:in `run_action'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource.rb:637:in `run_action'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:49:in `run_action'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:81:in `block (2 levels) in converge'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:81:in `each'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:81:in `block in converge'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection.rb:98:in `block in execute_each_resource'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection.rb:96:in `execute_each_resource'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:80:in `converge'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:345:in `converge'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:431:in `do_run'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:213:in `block in run'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:207:in `fork'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:207:in `run'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application.rb:217:in `run_chef_client'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application/solo.rb:221:in `block in run_application'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application/solo.rb:213:in `loop'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application/solo.rb:213:in `run_application'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application.rb:67:in `run'
  /opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/bin/chef-solo:25:in `<top (required)>'
  /opt/dmcm-base/embedded/bin/chef-solo:23:in `load'
  /opt/dmcm-base/embedded/bin/chef-solo:23:in `<main>'
[2014-08-29T08:37:39-04:00] ERROR: Running exception handlers
[2014-08-29T08:37:39-04:00] ERROR: Exception handlers complete
[2014-08-29T08:37:39-04:00] FATAL: Stacktrace dumped to /opt/dmcm-base/tmp/chef-stacktrace.out
[2014-08-29T08:37:39-04:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: execute[mysql-install-db] (percona-server::default line 57) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 ----
STDOUT: Installing MySQL system tables...

Installation of system tables failed!  Examine the logs in
./data for more information.

You can try to start the mysqld daemon with:

    shell> ./bin/mysqld --skip-grant &

and use the command line tool ./bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> ./bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in ./data that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before submitting a bug report at
  https://bugs.launchpad.net/percona-server/+filebug
STDERR: Could not open required defaults file: /var/lib/dmcm/mysql/etc/my.cnf
Fatal error in defaults handling. Program aborted
mkdir: /opt/dmcm-base/embedded/lib/liblzma.so.5: no version information available (required by /lib64/libselinux.so.1)
mkdir: cannot create directory './data/mysql': Permission denied
chmod: cannot access './data/mysql': No such file or directory
Could not open required defaults file: /var/lib/dmcm/mysql/etc/my.cnf
Fatal error in defaults handling. Program aborted
---- End output of     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 ----
Ran     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 returned 1
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.4.0/lib/mixlib/shellout.rb:257:in `invalid!'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/mixlib-shellout-1.4.0/lib/mixlib/shellout.rb:244:in `error!'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/mixin/shell_out.rb:43:in `shell_out!'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/provider/execute.rb:60:in `block in action_run'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/mixin/why_run.rb:52:in `call'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/mixin/why_run.rb:52:in `add_action'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/provider.rb:155:in `converge_by'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/provider/execute.rb:59:in `action_run'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/provider.rb:120:in `run_action'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource.rb:637:in `run_action'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:49:in `run_action'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:81:in `block (2 levels) in converge'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:81:in `each'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:81:in `block in converge'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection.rb:98:in `block in execute_each_resource'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:116:in `call'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:116:in `call_iterator_block'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:85:in `step'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:104:in `iterate'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection/stepable_iterator.rb:55:in `each_with_index'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/resource_collection.rb:96:in `execute_each_resource'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/runner.rb:80:in `converge'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:345:in `converge'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:431:in `do_run'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:213:in `block in run'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:207:in `fork'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/client.rb:207:in `run'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application.rb:217:in `run_chef_client'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application/solo.rb:221:in `block in run_application'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application/solo.rb:213:in `loop'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application/solo.rb:213:in `run_application'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/lib/chef/application.rb:67:in `run'
/opt/dmcm-base/embedded/lib/ruby/gems/1.9.1/gems/chef-11.12.2/bin/chef-solo:25:in `<top (required)>'
/opt/dmcm-base/embedded/bin/chef-solo:23:in `load'
/opt/dmcm-base/embedded/bin/chef-solo:23:in `<main>'
[2014-08-29T08:37:40-04:00] ERROR: execute[mysql-install-db] (percona-server::default line 57) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 ----
STDOUT: Installing MySQL system tables...

Installation of system tables failed!  Examine the logs in
./data for more information.

You can try to start the mysqld daemon with:

    shell> ./bin/mysqld --skip-grant &

and use the command line tool ./bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> ./bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in ./data that may be helpful.

Please consult the MySQL manual section
'Problems running mysql_install_db', and the manual section that
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before submitting a bug report at
  https://bugs.launchpad.net/percona-server/+filebug
STDERR: Could not open required defaults file: /var/lib/dmcm/mysql/etc/my.cnf
Fatal error in defaults handling. Program aborted
mkdir: /opt/dmcm-base/embedded/lib/liblzma.so.5: no version information available (required by /lib64/libselinux.so.1)
mkdir: cannot create directory './data/mysql': Permission denied
chmod: cannot access './data/mysql': No such file or directory
Could not open required defaults file: /var/lib/dmcm/mysql/etc/my.cnf
Fatal error in defaults handling. Program aborted
---- End output of     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 ----
Ran     scripts/mysql_install_db --defaults-extra-file=/var/lib/dmcm/mysql/etc/my.cnf
 returned 1
[2014-08-29T08:37:40-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Thank you for installing dmcm-base
  Verifying  : dmcm-base-10.4.0-3.el7.x86_64                                                                                                                                                            1/1 

Installed:
  dmcm-base.x86_64 0:10.4.0-3.el7                                                                                                                                                                           

Complete!
[root@vagrant cache]# ls -al /var/lib/dmcm/
total 4
drwxr-xr-x.  4 root root   33 Aug 29 08:37 .
drwxr-xr-x. 26 root root 4096 Aug 29 08:37 ..
d---------.  6 root root   47 Aug 29 08:37 mysql
d---------.  4 root root   27 Aug 29 08:37 rabbitmq

Note that the perms on those directories are the problem with the installdb script running.

The block that creates the mysql directory in the solo cookbooks is:

user node['percona-server']['user'] do
  system true
  home node['percona-server']['home']
  supports :manage_home => true
  comment "DMCM MySQL Service"
  shell "/bin/false"
end

The rabbitmq one is almost exactly the same save for the username, comment and directory.

This is the resource that installs the db:

execute "mysql-install-db" do
  command <<-EOF
    scripts/mysql_install_db --defaults-extra-file=#{node['percona-server']['etc_dir']}/my.cnf
  EOF
  user node['percona-server']['user']
  environment ({
                 "LD_LIBRARY_PATH" => "#{node['dmcm-base']['omnibus_root']}/embedded/lib"
               })
  not_if "test -d #{node['percona-server']['data_dir']}/mysql"
  cwd node['percona-server']['embedded']
end

It's worth noting that the subdirectories under there are created correctly (using the directory resource):

[root@vagrant cache]# ls -al /var/lib/dmcm/mysql/
total 0
d---------. 6 root       root       47 Aug 29 08:37 .
drwxr-xr-x. 4 root       root       33 Aug 29 08:37 ..
drwxr-x---. 2 dmcm-mysql dmcm-mysql  6 Aug 29 08:37 data
drwxr-x---. 3 dmcm-mysql dmcm-mysql 32 Aug 29 08:37 etc
drwxr-x---. 2 dmcm-mysql dmcm-mysql  6 Aug 29 08:37 log
drwxr-x---. 2 dmcm-mysql dmcm-mysql  6 Aug 29 08:37 tmp

Disabling selinux before doing the install.

[root@vagrant ~]# cat /etc/redhat-release 
CentOS Linux release 7.0.1406 (Core) 
[root@vagrant ~]# setenforce Permissive
[root@vagrant ~]# yum localinstall /vagrant/cache/dmcm-base-10.4.0-3.el7.x86_64.rpm -y
Loaded plugins: fastestmirror
Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast
Examining /vagrant/cache/dmcm-base-10.4.0-3.el7.x86_64.rpm: dmcm-base-10.4.0-3.el7.x86_64
Marking /vagrant/cache/dmcm-base-10.4.0-3.el7.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package dmcm-base.x86_64 0:10.4.0-3.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================================================================================================================================================
 Package                                     Arch                                     Version                                        Repository                                                        Size
============================================================================================================================================================================================================
Installing:
 dmcm-base                                   x86_64                                   10.4.0-3.el7                                   /dmcm-base-10.4.0-3.el7.x86_64                                   668 M

Transaction Summary
============================================================================================================================================================================================================
Install  1 Package

Total size: 668 M
Installed size: 668 M
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : dmcm-base-10.4.0-3.el7.x86_64                                                                                                                                                            1/1 
[2014-08-29T08:50:53-04:00] INFO: Forking chef instance to converge...
[2014-08-29T08:50:53-04:00] DEBUG: Fork successful. Waiting for new chef pid: 3950
[2014-08-29T08:50:53-04:00] DEBUG: Forked instance now converging
[2014-08-29T08:50:53-04:00] WARN: 
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
SSL validation of HTTPS requests is disabled. HTTPS connections are still
encrypted, but chef is not able to detect forged replies or man in the middle
attacks.

To fix this issue add an entry like this to your configuration file:


  # Verify all HTTPS connections (recommended)
  ssl_verify_mode :verify_peer

  # OR, Verify only connections to chef-server
  verify_api_cert true


To check your SSL configuration, or troubleshoot errors, you can use the
`knife ssl check` command like so:


  knife ssl check -c /opt/dmcm-base/etc/chef/solo.rb

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 

[2014-08-29T08:50:53-04:00] INFO: *** Chef 11.12.2 ***
[2014-08-29T08:50:53-04:00] INFO: Chef-client pid: 3950
[2014-08-29T08:50:53-04:00] DEBUG: Chef-client request_id: 1aa209a1-a705-4bcf-9729-6a3c31d7a752
[2014-08-29T08:50:54-04:00] DEBUG: Building node object for dmcm-node
[2014-08-29T08:50:54-04:00] DEBUG: Extracting run list from JSON attributes provided on command line
[2014-08-29T08:50:54-04:00] DEBUG: Applying attributes from json file
[2014-08-29T08:50:54-04:00] DEBUG: Platform is centos version 7.0.1406
[2014-08-29T08:50:54-04:00] WARN: Run List override has been provided.
[2014-08-29T08:50:54-04:00] WARN: Original Run List: []
[2014-08-29T08:50:54-04:00] WARN: Overridden Run List: [role[install]]
[2014-08-29T08:50:54-04:00] INFO: Run List is [role[install]]
[2014-08-29T08:50:54-04:00] INFO: Run List expands to [rabbitmq, percona-server, nginx, redis]
[2014-08-29T08:50:54-04:00] INFO: Starting Chef Run for dmcm-node
[2014-08-29T08:50:54-04:00] INFO: Running start handlers
[2014-08-29T08:50:54-04:00] INFO: Start handlers complete.
[2014-08-29T08:50:54-04:00] DEBUG: No chefignore file found at /opt/dmcm-base/etc/chef/chefignore no files will be ignored
[2014-08-29T08:50:54-04:00] DEBUG: Cookbooks to compile: [:"build-essential", :yum, :runit, :runsvdir, :rabbitmq, :"percona-server", :nginx, :redis]
[2014-08-29T08:50:54-04:00] DEBUG: Loading cookbook runit's library file: /opt/dmcm-base/etc/chef/cookbooks/runit/libraries/default.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading cookbook runit's library file: /opt/dmcm-base/etc/chef/cookbooks/runit/libraries/provider_runit_service.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading cookbook runit's library file: /opt/dmcm-base/etc/chef/cookbooks/runit/libraries/resource_runit_service.rb
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook build-essential's attribute file /opt/dmcm-base/etc/chef/cookbooks/build-essential/attributes/default.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute build-essential::default
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook yum's attribute file /opt/dmcm-base/etc/chef/cookbooks/yum/attributes/default.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute yum::default
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook yum's attribute file /opt/dmcm-base/etc/chef/cookbooks/yum/attributes/elrepo.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute yum::elrepo
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook yum's attribute file /opt/dmcm-base/etc/chef/cookbooks/yum/attributes/epel.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute yum::epel
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook yum's attribute file /opt/dmcm-base/etc/chef/cookbooks/yum/attributes/remi.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute yum::remi
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook runit's attribute file /opt/dmcm-base/etc/chef/cookbooks/runit/attributes/default.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute runit::default
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook rabbitmq's attribute file /opt/dmcm-base/etc/chef/cookbooks/rabbitmq/attributes/default.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute rabbitmq::default
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook percona-server's attribute file /opt/dmcm-base/etc/chef/cookbooks/percona-server/attributes/default.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute percona-server::default
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook nginx's attribute file /opt/dmcm-base/etc/chef/cookbooks/nginx/attributes/default.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute nginx::default
[2014-08-29T08:50:54-04:00] DEBUG: Node dmcm-node loading cookbook redis's attribute file /opt/dmcm-base/etc/chef/cookbooks/redis/attributes/default.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loading Attribute redis::default
[2014-08-29T08:50:54-04:00] DEBUG: Loading cookbook yum's providers from /opt/dmcm-base/etc/chef/cookbooks/yum/providers/key.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loaded contents of /opt/dmcm-base/etc/chef/cookbooks/yum/providers/key.rb into a provider named yum_key defined in Chef::Provider::YumKey
[2014-08-29T08:50:54-04:00] DEBUG: Loading cookbook yum's providers from /opt/dmcm-base/etc/chef/cookbooks/yum/providers/repository.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loaded contents of /opt/dmcm-base/etc/chef/cookbooks/yum/providers/repository.rb into a provider named yum_repository defined in Chef::Provider::YumRepository
[2014-08-29T08:50:54-04:00] DEBUG: Loading cookbook yum's resources from /opt/dmcm-base/etc/chef/cookbooks/yum/resources/key.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loaded contents of /opt/dmcm-base/etc/chef/cookbooks/yum/resources/key.rb into a resource named yum_key defined in Chef::Resource::YumKey
[2014-08-29T08:50:54-04:00] DEBUG: Loading cookbook yum's resources from /opt/dmcm-base/etc/chef/cookbooks/yum/resources/repository.rb
[2014-08-29T08:50:54-04:00] DEBUG: Loaded contents of /opt/dmcm-base/etc/chef/cookbooks/yum/resources/repository.rb into a resource named yum_repository defined in Chef::Resource::YumRepository
[2014-08-29T08:50:54-04:00] DEBUG: Loading Recipe rabbitmq via include_recipe
[2014-08-29T08:50:54-04:00] DEBUG: Found recipe default in cookbook rabbitmq
[2014-08-29T08:50:54-04:00] DEBUG: Loading Recipe percona-server via include_recipe
[2014-08-29T08:50:54-04:00] DEBUG: Found recipe default in cookbook percona-server
[2014-08-29T08:50:54-04:00] DEBUG: Loading Recipe nginx via include_recipe
[2014-08-29T08:50:54-04:00] DEBUG: Found recipe default in cookbook nginx
[2014-08-29T08:50:54-04:00] DEBUG: Loading Recipe redis via include_recipe
[2014-08-29T08:50:54-04:00] DEBUG: Found recipe default in cookbook redis
[2014-08-29T08:50:54-04:00] DEBUG: Loading from cookbook_path: /opt/dmcm-base/etc/chef/cookbooks
[2014-08-29T08:50:54-04:00] DEBUG: Converging node dmcm-node
[2014-08-29T08:50:54-04:00] INFO: Processing user[dmcm-rabbitmq] action create (rabbitmq::default line 1)
[2014-08-29T08:50:54-04:00] DEBUG: user[dmcm-rabbitmq] user does not exist
[2014-08-29T08:50:54-04:00] DEBUG: user[dmcm-rabbitmq] setting comment to DMCM RabbitMQ Service
[2014-08-29T08:50:54-04:00] DEBUG: user[dmcm-rabbitmq] setting shell to /bin/false
[2014-08-29T08:50:54-04:00] DEBUG: user[dmcm-rabbitmq] managing the users home directory
[2014-08-29T08:50:54-04:00] INFO: user[dmcm-rabbitmq] created
[2014-08-29T08:50:54-04:00] INFO: Processing group[dmcm-rabbitmq] action create (rabbitmq::default line 9)
[2014-08-29T08:50:54-04:00] DEBUG: Executing groupmod dmcm-rabbitmq
[2014-08-29T08:50:54-04:00] DEBUG: ---- Begin output of groupmod dmcm-rabbitmq ----
[2014-08-29T08:50:54-04:00] DEBUG: STDOUT: 
[2014-08-29T08:50:54-04:00] DEBUG: STDERR: 
[2014-08-29T08:50:54-04:00] DEBUG: ---- End output of groupmod dmcm-rabbitmq ----
[2014-08-29T08:50:54-04:00] DEBUG: Ran groupmod dmcm-rabbitmq returned 0
[2014-08-29T08:50:54-04:00] DEBUG: group[dmcm-rabbitmq] appending member dmcm-rabbitmq to group dmcm-rabbitmq
[2014-08-29T08:50:55-04:00] INFO: group[dmcm-rabbitmq] altered
[2014-08-29T08:50:55-04:00] INFO: Processing directory[/var/lib/dmcm/rabbitmq/log] action create (rabbitmq::default line 16)
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/log] created directory /var/lib/dmcm/rabbitmq/log
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/log] owner changed to 997
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/log] group changed to 996
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/log] mode changed to 750
[2014-08-29T08:50:55-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/rabbitmq/log
[2014-08-29T08:50:55-04:00] INFO: Processing directory[/var/lib/dmcm/rabbitmq/data] action create (rabbitmq::default line 22)
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/data] created directory /var/lib/dmcm/rabbitmq/data
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/data] owner changed to 997
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/data] group changed to 996
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/rabbitmq/data] mode changed to 750
[2014-08-29T08:50:55-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/rabbitmq/data
[2014-08-29T08:50:55-04:00] INFO: Processing link[/var/log/dmcm/rabbitmq] action create (rabbitmq::default line 28)
[2014-08-29T08:50:55-04:00] DEBUG: link[/var/log/dmcm/rabbitmq] created symbolic link from /var/lib/dmcm/rabbitmq/log -> /var/log/dmcm/rabbitmq
[2014-08-29T08:50:55-04:00] INFO: link[/var/log/dmcm/rabbitmq] created
[2014-08-29T08:50:55-04:00] DEBUG: found target_mode == nil, so no mode was specified on resource, not managing mode
[2014-08-29T08:50:55-04:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2014-08-29T08:50:55-04:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2014-08-29T08:50:55-04:00] INFO: Processing user[dmcm-mysql] action create (percona-server::default line 1)
[2014-08-29T08:50:55-04:00] DEBUG: user[dmcm-mysql] user does not exist
[2014-08-29T08:50:55-04:00] DEBUG: user[dmcm-mysql] setting comment to DMCM MySQL Service
[2014-08-29T08:50:55-04:00] DEBUG: user[dmcm-mysql] setting shell to /bin/false
[2014-08-29T08:50:55-04:00] DEBUG: user[dmcm-mysql] managing the users home directory
[2014-08-29T08:50:55-04:00] INFO: user[dmcm-mysql] created
[2014-08-29T08:50:55-04:00] INFO: Processing group[dmcm-mysql] action create (percona-server::default line 9)
[2014-08-29T08:50:55-04:00] DEBUG: Executing groupmod dmcm-mysql
[2014-08-29T08:50:55-04:00] DEBUG: ---- Begin output of groupmod dmcm-mysql ----
[2014-08-29T08:50:55-04:00] DEBUG: STDOUT: 
[2014-08-29T08:50:55-04:00] DEBUG: STDERR: 
[2014-08-29T08:50:55-04:00] DEBUG: ---- End output of groupmod dmcm-mysql ----
[2014-08-29T08:50:55-04:00] DEBUG: Ran groupmod dmcm-mysql returned 0
[2014-08-29T08:50:55-04:00] DEBUG: group[dmcm-mysql] appending member dmcm-mysql to group dmcm-mysql
[2014-08-29T08:50:55-04:00] INFO: group[dmcm-mysql] altered
[2014-08-29T08:50:55-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/log] action create (percona-server::default line 16)
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/log] created directory /var/lib/dmcm/mysql/log
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/log] owner changed to 996
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/log] group changed to 995
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/log] mode changed to 750
[2014-08-29T08:50:55-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/log
[2014-08-29T08:50:55-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/tmp] action create (percona-server::default line 22)
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/tmp] created directory /var/lib/dmcm/mysql/tmp
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/tmp] owner changed to 996
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/tmp] group changed to 995
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/tmp] mode changed to 750
[2014-08-29T08:50:55-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/tmp
[2014-08-29T08:50:55-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/data] action create (percona-server::default line 28)
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/data] created directory /var/lib/dmcm/mysql/data
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/data] owner changed to 996
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/data] group changed to 995
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/data] mode changed to 750
[2014-08-29T08:50:55-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/data
[2014-08-29T08:50:55-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/etc] action create (percona-server::default line 34)
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/etc] created directory /var/lib/dmcm/mysql/etc
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/etc] owner changed to 996
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/etc] group changed to 995
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/etc] mode changed to 750
[2014-08-29T08:50:55-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/etc
[2014-08-29T08:50:55-04:00] INFO: Processing directory[/var/lib/dmcm/mysql/etc/conf.d] action create (percona-server::default line 40)
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/etc/conf.d] created directory /var/lib/dmcm/mysql/etc/conf.d
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/etc/conf.d] owner changed to 996
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/etc/conf.d] group changed to 995
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] INFO: directory[/var/lib/dmcm/mysql/etc/conf.d] mode changed to 750
[2014-08-29T08:50:55-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/mysql/etc/conf.d
[2014-08-29T08:50:55-04:00] INFO: Processing link[/var/log/dmcm/mysql] action create (percona-server::default line 46)
[2014-08-29T08:50:55-04:00] DEBUG: link[/var/log/dmcm/mysql] created symbolic link from /var/lib/dmcm/mysql/log -> /var/log/dmcm/mysql
[2014-08-29T08:50:55-04:00] INFO: link[/var/log/dmcm/mysql] created
[2014-08-29T08:50:55-04:00] DEBUG: found target_mode == nil, so no mode was specified on resource, not managing mode
[2014-08-29T08:50:55-04:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2014-08-29T08:50:55-04:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2014-08-29T08:50:55-04:00] INFO: Processing template[/var/lib/dmcm/mysql/etc/my.cnf] action create (percona-server::default line 50)
[2014-08-29T08:50:55-04:00] DEBUG: touching /var/lib/dmcm/mysql/etc/my.cnf to create it
[2014-08-29T08:50:55-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] created file /var/lib/dmcm/mysql/etc/my.cnf
[2014-08-29T08:50:55-04:00] DEBUG: calculating checksum of /tmp/chef-rendered-template20140829-3950-k1h1sq to compare with 
[2014-08-29T08:50:55-04:00] DEBUG: running: diff -u /var/lib/dmcm/mysql/etc/my.cnf /tmp/chef-rendered-template20140829-3950-k1h1sq
[2014-08-29T08:50:55-04:00] DEBUG: reading modes from /var/lib/dmcm/mysql/etc/my.cnf file
[2014-08-29T08:50:55-04:00] DEBUG: applying mode = 644, uid = 0, gid = 0 to /tmp/chef-rendered-template20140829-3950-k1h1sq
[2014-08-29T08:50:55-04:00] DEBUG: moving temporary file /tmp/chef-rendered-template20140829-3950-k1h1sq into place at /var/lib/dmcm/mysql/etc/my.cnf
[2014-08-29T08:50:55-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] updated file contents /var/lib/dmcm/mysql/etc/my.cnf
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:50:55-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] owner changed to 996
[2014-08-29T08:50:55-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:50:55-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] group changed to 995
[2014-08-29T08:50:55-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:50:55-04:00] INFO: template[/var/lib/dmcm/mysql/etc/my.cnf] mode changed to 644
[2014-08-29T08:50:55-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R /var/lib/dmcm/mysql/etc/my.cnf
[2014-08-29T08:50:55-04:00] INFO: Processing execute[mysql-install-db] action run (percona-server::default line 57)
[2014-08-29T08:51:05-04:00] INFO: execute[mysql-install-db] ran successfully
[2014-08-29T08:51:05-04:00] INFO: Processing file[/root/.my.cnf] action create (percona-server::default line 69)
[2014-08-29T08:51:05-04:00] DEBUG: touching /root/.my.cnf to create it
[2014-08-29T08:51:05-04:00] INFO: file[/root/.my.cnf] created file /root/.my.cnf
[2014-08-29T08:51:05-04:00] DEBUG: calculating checksum of /tmp/..my.cnf20140829-3950-dj5ihj to compare with 
[2014-08-29T08:51:05-04:00] DEBUG: running: diff -u /root/.my.cnf /tmp/..my.cnf20140829-3950-dj5ihj
[2014-08-29T08:51:05-04:00] DEBUG: reading modes from /root/.my.cnf file
[2014-08-29T08:51:05-04:00] DEBUG: applying mode = 644, uid = 0, gid = 0 to /tmp/..my.cnf20140829-3950-dj5ihj
[2014-08-29T08:51:05-04:00] DEBUG: moving temporary file /tmp/..my.cnf20140829-3950-dj5ihj into place at /root/.my.cnf
[2014-08-29T08:51:05-04:00] INFO: file[/root/.my.cnf] updated file contents /root/.my.cnf
[2014-08-29T08:51:05-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:05-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:05-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:05-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:05-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:05-04:00] INFO: file[/root/.my.cnf] owner changed to 0
[2014-08-29T08:51:05-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:05-04:00] INFO: file[/root/.my.cnf] group changed to 0
[2014-08-29T08:51:05-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:05-04:00] INFO: file[/root/.my.cnf] mode changed to 600
[2014-08-29T08:51:05-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R /root/.my.cnf
[2014-08-29T08:51:05-04:00] INFO: Processing user[dmcm-nginx] action create (nginx::default line 1)
[2014-08-29T08:51:05-04:00] DEBUG: user[dmcm-nginx] user does not exist
[2014-08-29T08:51:05-04:00] DEBUG: user[dmcm-nginx] setting comment to DMCM nrouter service
[2014-08-29T08:51:05-04:00] DEBUG: user[dmcm-nginx] setting shell to /bin/false
[2014-08-29T08:51:05-04:00] DEBUG: user[dmcm-nginx] managing the users home directory
[2014-08-29T08:51:05-04:00] INFO: user[dmcm-nginx] created
[2014-08-29T08:51:05-04:00] INFO: Processing group[dmcm-nginx] action create (nginx::default line 9)
[2014-08-29T08:51:05-04:00] DEBUG: Executing groupmod dmcm-nginx
[2014-08-29T08:51:05-04:00] DEBUG: ---- Begin output of groupmod dmcm-nginx ----
[2014-08-29T08:51:05-04:00] DEBUG: STDOUT: 
[2014-08-29T08:51:05-04:00] DEBUG: STDERR: 
[2014-08-29T08:51:05-04:00] DEBUG: ---- End output of groupmod dmcm-nginx ----
[2014-08-29T08:51:05-04:00] DEBUG: Ran groupmod dmcm-nginx returned 0
[2014-08-29T08:51:05-04:00] DEBUG: group[dmcm-nginx] appending member dmcm-nginx to group dmcm-nginx
[2014-08-29T08:51:05-04:00] INFO: group[dmcm-nginx] altered
[2014-08-29T08:51:05-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/tmp] action create (nginx::default line 17)
[2014-08-29T08:51:05-04:00] INFO: directory[/var/lib/dmcm/nrouter/tmp] created directory /var/lib/dmcm/nrouter/tmp
[2014-08-29T08:51:05-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:05-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:05-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:05-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:05-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:05-04:00] INFO: directory[/var/lib/dmcm/nrouter/tmp] owner changed to 995
[2014-08-29T08:51:05-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:05-04:00] INFO: directory[/var/lib/dmcm/nrouter/tmp] group changed to 994
[2014-08-29T08:51:05-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:05-04:00] INFO: directory[/var/lib/dmcm/nrouter/tmp] mode changed to 750
[2014-08-29T08:51:05-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/tmp
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/run] action create (nginx::default line 17)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/run] created directory /var/lib/dmcm/nrouter/run
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/run] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/run] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/run] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/run
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/logs] action create (nginx::default line 17)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/logs] created directory /var/lib/dmcm/nrouter/logs
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/logs] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/logs] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/logs] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/logs
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/etc] action create (nginx::default line 17)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc] created directory /var/lib/dmcm/nrouter/etc
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/etc
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/lua] action create (nginx::default line 17)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/lua] created directory /var/lib/dmcm/nrouter/lua
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/lua] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/lua] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/lua] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/lua
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/data] action create (nginx::default line 17)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/data] created directory /var/lib/dmcm/nrouter/data
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/data] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/data] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/data] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/data
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/etc/ssl] action create (nginx::default line 26)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/ssl] created directory /var/lib/dmcm/nrouter/etc/ssl
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/ssl] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/ssl] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/ssl] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/etc/ssl
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/etc/conf.tcp.d] action create (nginx::default line 26)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/conf.tcp.d] created directory /var/lib/dmcm/nrouter/etc/conf.tcp.d
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/conf.tcp.d] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/conf.tcp.d] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/conf.tcp.d] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/etc/conf.tcp.d
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/etc/conf.d] action create (nginx::default line 26)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/conf.d] created directory /var/lib/dmcm/nrouter/etc/conf.d
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/conf.d] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/conf.d] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/conf.d] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/etc/conf.d
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/etc/sites-available] action create (nginx::default line 26)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-available] created directory /var/lib/dmcm/nrouter/etc/sites-available
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-available] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-available] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-available] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/etc/sites-available
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/etc/sites-enabled] action create (nginx::default line 26)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-enabled] created directory /var/lib/dmcm/nrouter/etc/sites-enabled
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-enabled] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-enabled] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-enabled] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/etc/sites-enabled
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/etc/sites-available-tcp] action create (nginx::default line 26)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-available-tcp] created directory /var/lib/dmcm/nrouter/etc/sites-available-tcp
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-available-tcp] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-available-tcp] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-available-tcp] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/etc/sites-available-tcp
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/nrouter/etc/sites-enabled-tcp] action create (nginx::default line 26)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-enabled-tcp] created directory /var/lib/dmcm/nrouter/etc/sites-enabled-tcp
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-enabled-tcp] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-enabled-tcp] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/nrouter/etc/sites-enabled-tcp] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/nrouter/etc/sites-enabled-tcp
[2014-08-29T08:51:06-04:00] INFO: Processing template[/var/lib/dmcm/nrouter/etc/nginx.conf] action create (nginx::default line 33)
[2014-08-29T08:51:06-04:00] DEBUG: touching /var/lib/dmcm/nrouter/etc/nginx.conf to create it
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/nrouter/etc/nginx.conf] created file /var/lib/dmcm/nrouter/etc/nginx.conf
[2014-08-29T08:51:06-04:00] DEBUG: calculating checksum of /tmp/chef-rendered-template20140829-3950-1iodaok to compare with 
[2014-08-29T08:51:06-04:00] DEBUG: running: diff -u /var/lib/dmcm/nrouter/etc/nginx.conf /tmp/chef-rendered-template20140829-3950-1iodaok
[2014-08-29T08:51:06-04:00] DEBUG: reading modes from /var/lib/dmcm/nrouter/etc/nginx.conf file
[2014-08-29T08:51:06-04:00] DEBUG: applying mode = 644, uid = 0, gid = 0 to /tmp/chef-rendered-template20140829-3950-1iodaok
[2014-08-29T08:51:06-04:00] DEBUG: moving temporary file /tmp/chef-rendered-template20140829-3950-1iodaok into place at /var/lib/dmcm/nrouter/etc/nginx.conf
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/nrouter/etc/nginx.conf] updated file contents /var/lib/dmcm/nrouter/etc/nginx.conf
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/nrouter/etc/nginx.conf] owner changed to 995
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/nrouter/etc/nginx.conf] group changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/nrouter/etc/nginx.conf] mode changed to 640
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R /var/lib/dmcm/nrouter/etc/nginx.conf
[2014-08-29T08:51:06-04:00] INFO: Processing link[/var/log/dmcm/nrouter] action create (nginx::default line 40)
[2014-08-29T08:51:06-04:00] DEBUG: link[/var/log/dmcm/nrouter] created symbolic link from /var/lib/dmcm/nrouter/log -> /var/log/dmcm/nrouter
[2014-08-29T08:51:06-04:00] INFO: link[/var/log/dmcm/nrouter] created
[2014-08-29T08:51:06-04:00] DEBUG: found target_mode == nil, so no mode was specified on resource, not managing mode
[2014-08-29T08:51:06-04:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2014-08-29T08:51:06-04:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2014-08-29T08:51:06-04:00] INFO: Processing user[dmcm-redis] action create (redis::default line 1)
[2014-08-29T08:51:06-04:00] DEBUG: user[dmcm-redis] user does not exist
[2014-08-29T08:51:06-04:00] DEBUG: user[dmcm-redis] setting comment to DMCM redis Service
[2014-08-29T08:51:06-04:00] DEBUG: user[dmcm-redis] setting shell to /bin/false
[2014-08-29T08:51:06-04:00] DEBUG: user[dmcm-redis] managing the users home directory
[2014-08-29T08:51:06-04:00] INFO: user[dmcm-redis] created
[2014-08-29T08:51:06-04:00] INFO: Processing group[dmcm-redis] action create (redis::default line 9)
[2014-08-29T08:51:06-04:00] DEBUG: Executing groupmod dmcm-redis
[2014-08-29T08:51:06-04:00] DEBUG: ---- Begin output of groupmod dmcm-redis ----
[2014-08-29T08:51:06-04:00] DEBUG: STDOUT: 
[2014-08-29T08:51:06-04:00] DEBUG: STDERR: 
[2014-08-29T08:51:06-04:00] DEBUG: ---- End output of groupmod dmcm-redis ----
[2014-08-29T08:51:06-04:00] DEBUG: Ran groupmod dmcm-redis returned 0
[2014-08-29T08:51:06-04:00] DEBUG: group[dmcm-redis] appending member dmcm-redis to group dmcm-redis
[2014-08-29T08:51:06-04:00] INFO: group[dmcm-redis] altered
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/redis/log] action create (redis::default line 16)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/log] created directory /var/lib/dmcm/redis/log
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/log] owner changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/log] group changed to 993
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/log] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/redis/log
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/redis/data] action create (redis::default line 22)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/data] created directory /var/lib/dmcm/redis/data
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/data] owner changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/data] group changed to 993
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/data] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/redis/data
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/redis/etc] action create (redis::default line 28)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/etc] created directory /var/lib/dmcm/redis/etc
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/etc] owner changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/etc] group changed to 993
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/etc] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/redis/etc
[2014-08-29T08:51:06-04:00] INFO: Processing directory[/var/lib/dmcm/redis/tmp] action create (redis::default line 34)
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/tmp] created directory /var/lib/dmcm/redis/tmp
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/tmp] owner changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/tmp] group changed to 993
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: directory[/var/lib/dmcm/redis/tmp] mode changed to 750
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R -r /var/lib/dmcm/redis/tmp
[2014-08-29T08:51:06-04:00] INFO: Processing template[/var/lib/dmcm/redis/etc/redis.conf] action create (redis::default line 40)
[2014-08-29T08:51:06-04:00] DEBUG: touching /var/lib/dmcm/redis/etc/redis.conf to create it
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/redis/etc/redis.conf] created file /var/lib/dmcm/redis/etc/redis.conf
[2014-08-29T08:51:06-04:00] DEBUG: calculating checksum of /tmp/chef-rendered-template20140829-3950-dvaa18 to compare with 
[2014-08-29T08:51:06-04:00] DEBUG: running: diff -u /var/lib/dmcm/redis/etc/redis.conf /tmp/chef-rendered-template20140829-3950-dvaa18
[2014-08-29T08:51:06-04:00] DEBUG: reading modes from /var/lib/dmcm/redis/etc/redis.conf file
[2014-08-29T08:51:06-04:00] DEBUG: applying mode = 644, uid = 0, gid = 0 to /tmp/chef-rendered-template20140829-3950-dvaa18
[2014-08-29T08:51:06-04:00] DEBUG: moving temporary file /tmp/chef-rendered-template20140829-3950-dvaa18 into place at /var/lib/dmcm/redis/etc/redis.conf
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/redis/etc/redis.conf] updated file contents /var/lib/dmcm/redis/etc/redis.conf
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] DEBUG: found current_uid == nil, so we are creating a new file, updating owner
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/redis/etc/redis.conf] owner changed to 994
[2014-08-29T08:51:06-04:00] DEBUG: found current_gid == nil, so we are creating a new file, updating group
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/redis/etc/redis.conf] group changed to 993
[2014-08-29T08:51:06-04:00] DEBUG: found current_mode == nil, so we are creating a new file, updating mode
[2014-08-29T08:51:06-04:00] INFO: template[/var/lib/dmcm/redis/etc/redis.conf] mode changed to 640
[2014-08-29T08:51:06-04:00] DEBUG: Restoring selinux security content with /sbin/restorecon -R /var/lib/dmcm/redis/etc/redis.conf
[2014-08-29T08:51:06-04:00] INFO: Processing link[/var/log/dmcm/redis] action create (redis::default line 47)
[2014-08-29T08:51:06-04:00] DEBUG: link[/var/log/dmcm/redis] created symbolic link from /var/lib/dmcm/redis/log -> /var/log/dmcm/redis
[2014-08-29T08:51:06-04:00] INFO: link[/var/log/dmcm/redis] created
[2014-08-29T08:51:06-04:00] DEBUG: found target_mode == nil, so no mode was specified on resource, not managing mode
[2014-08-29T08:51:06-04:00] DEBUG: found target_uid == nil, so no owner was specified on resource, not managing owner
[2014-08-29T08:51:06-04:00] DEBUG: found target_gid == nil, so no group was specified on resource, not managing group
[2014-08-29T08:51:06-04:00] INFO: Chef Run complete in 12.006621501 seconds
[2014-08-29T08:51:06-04:00] INFO: Running report handlers
[2014-08-29T08:51:06-04:00] INFO: Report handlers complete
[2014-08-29T08:51:06-04:00] DEBUG: Forked instance successfully reaped (pid: 3950)
[2014-08-29T08:51:06-04:00] DEBUG: Exiting
Thank you for installing dmcm-base
  Verifying  : dmcm-base-10.4.0-3.el7.x86_64                                                                                                                                                            1/1 

Installed:
  dmcm-base.x86_64 0:10.4.0-3.el7                                                                                                                                                                           

Complete!

Note the various user's home dirs are created correctly:

[root@vagrant ~]# ls -al /var/lib/dmcm/
total 8
drwxr-xr-x.  6 root          root            59 Aug 29 08:51 .
drwxr-xr-x. 26 root          root          4096 Aug 29 08:50 ..
drwx------.  6 dmcm-mysql    dmcm-mysql     100 Aug 29 08:50 mysql
drwx------.  8 dmcm-nginx    dmcm-nginx    4096 Aug 29 08:51 nrouter
drwx------.  4 dmcm-rabbitmq dmcm-rabbitmq   80 Aug 29 08:50 rabbitmq
drwx------.  6 dmcm-redis    dmcm-redis     100 Aug 29 08:51 redis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment