# # Cookbook Name:: kosmos_blossom # Recipe:: default # credentials = Chef::EncryptedDataBagItem.load('credentials', 'blossom') node.default['blossom']['storage']['backend'] = 's3' node.default['blossom']['storage']['s3']['access_key'] = credentials['s3_access_key'] node.default['blossom']['storage']['s3']['secret_key'] = credentials['s3_secret_key'] node.default['blossom']['dashboard']['enabled'] = true node.default['blossom']['dashboard']['username'] = credentials['admin_username'] || 'admin' node.default['blossom']['dashboard']['password'] = credentials['admin_password'] node.default['blossom']['landing']['title'] = 'Kosmos Blossom Server' node.default['blossom']['repo_url'] = 'https://github.com/67P/blossom-server.git' node.default['blossom']['revision'] = 'master' include_recipe 'blossom::default' firewall_rule 'blossom' do port node['blossom']['port'] source '10.1.1.0/24' protocol :tcp command :allow end