diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-04-07 07:50:17 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-04-07 07:50:17 +0000 |
commit | d826518a77378963ac3ca0b4d3f51ba967c2f313 (patch) | |
tree | 40ede47505f5dca89c379eadbe596ef807f98b33 /manifests/profile/base | |
parent | 652acd99ab36b52c473a11fad4bd72bf0d5ccf49 (diff) | |
parent | a22c6c72231a91e97276bdc8fdf77ddd14659e88 (diff) |
Merge "Don't try and create the my.cnf.d dir everytime"
Diffstat (limited to 'manifests/profile/base')
-rw-r--r-- | manifests/profile/base/database/mysql/client.pp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/manifests/profile/base/database/mysql/client.pp b/manifests/profile/base/database/mysql/client.pp index 22384a9..014ef35 100644 --- a/manifests/profile/base/database/mysql/client.pp +++ b/manifests/profile/base/database/mysql/client.pp @@ -82,6 +82,7 @@ class tripleo::profile::base::database::mysql::client ( # Create /etc/my.cnf.d/tripleo.cnf exec { 'directory-create-etc-my.cnf.d': command => 'mkdir -p /etc/my.cnf.d', + unless => 'test -d /etc/my.cnf.d', path => ['/usr/bin', '/usr/sbin', '/bin', '/sbin'], } -> augeas { 'tripleo-mysql-client-conf': |