diff options
| author | Mustapha Lansana <Mustapha.Lansana@windriver.com> | 2014-05-27 22:02:56 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-09-26 09:09:21 -0400 |
| commit | eeda01a7be07c78dac7b6ae5013524d857ceba3b (patch) | |
| tree | 742c4abd9d6877d2fa1ca7f16eb917ffe5434ea7 /meta-openstack/recipes-support/deploychef/files/config.rb | |
| parent | 98e1afbc185a7f87427860f4273a7285e5b6407e (diff) | |
| download | meta-cloud-services-eeda01a7be07c78dac7b6ae5013524d857ceba3b.tar.gz | |
deploychef: configure chef-solo for deploychef package
The deploychef package uses chef-solo to reconfigure an openstack
installation by converting services' configuration files to template
files. The attributes file defines the constants chef-solo uses to generate
configuration files/scripts. The recipe file describes how those
files/scripts should be created. The config and .json files
are input to chef-solo and describe location of files.
Later in this series, the attributes file will be replaced by a
dynamically generated attributes file. In addition, the recipe file
will change to accommodate changes to deploychef in order to support
openstackchef.
Signed-off-by: Mustapha Lansana <Mustapha.Lansana@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-support/deploychef/files/config.rb')
| -rw-r--r-- | meta-openstack/recipes-support/deploychef/files/config.rb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-openstack/recipes-support/deploychef/files/config.rb b/meta-openstack/recipes-support/deploychef/files/config.rb new file mode 100644 index 0000000..bce20f8 --- /dev/null +++ b/meta-openstack/recipes-support/deploychef/files/config.rb | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | # config.rb | ||
| 2 | ## Copyright (c) 2014 Wind River Systems, Inc. | ||
| 3 | ## | ||
| 4 | ## Permission is hereby granted, free of charge, to any person obtaining a copy | ||
| 5 | ## of this software and associated documentation files (the "Software"), to deal | ||
| 6 | ## in the Software without restriction, including without limitation the rights | ||
| 7 | ## to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
| 8 | ## copies of the Software, and to permit persons to whom the Software is | ||
| 9 | ## furnished to do so, subject to the following conditions: | ||
| 10 | ## | ||
| 11 | ## The above copyright notice and this permission notice shall be included in | ||
| 12 | ## all copies or substantial portions of the Software. | ||
| 13 | # | ||
| 14 | ## THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
| 15 | ## IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
| 16 | ## FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
| 17 | ## AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
| 18 | ## LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
| 19 | ## OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
| 20 | ## THE SOFTWARE. | ||
| 21 | ## | ||
| 22 | # | ||
| 23 | # This configuration file points chef-solo to the location | ||
| 24 | # our our cookbooks and recipes within those cookbooks | ||
| 25 | log_level :info | ||
| 26 | ssl_verify_mode :verify_peer | ||
| 27 | base_dir Dir.pwd + "/" | ||
| 28 | file_cache_path base_dir + "cache/" | ||
| 29 | cookbook_path base_dir + "cookbooks/" | ||
