Skip to content

Instantly share code, notes, and snippets.

@ilyash
ilyash / install-cloudify-master.sh
Created Aug 19, 2014
Install Cloudify from master
View install-cloudify-master.sh
# In new virtualenv:
PACKAGES="cloudify-dsl-parser cloudify-rest-client cloudify-cli cloudify-openstack-provider"
for pkg in $PACKAGES;do
pip install --upgrade https://github.com/Cloudify-Cosmo/$pkg/archive/master.zip
done
View CFY-989.yaml
# WARNING:
# /etc/sudoers must not have "Default requiretty" for Puppet plugin to work
imports:
- http://www.getcloudify.org/spec/cloudify/3.0/types.yaml
plugins:
puppet_plugin:
derived_from: cloudify.plugins.agent_plugin
@ilyash
ilyash / cloudify-chef-plugin-related-solo-nodes.yaml
Created May 12, 2014
Cloudify Chef Plugin - related solo nodes
View cloudify-chef-plugin-related-solo-nodes.yaml
@ilyash
ilyash / cloudify-chef-plugin-client-node-example.yaml
Created May 12, 2014
Cloudify Chef Plugin - client node example
View cloudify-chef-plugin-client-node-example.yaml
- name: chef_node_one
type: cloudify.types.chef.db_server
properties:
chef_config:
version: 11.10.4-1
chef_server_url: https://chef.example.com:443
validation_client_name: chef-validator
validation_key: "-----BEGIN RSA PRIVATE KEY-----\n.......\n-----END RSA PRIVATE KEY-----\n"
node_name_prefix: chef-node-
node_name_suffix: .chef.example.com
@ilyash
ilyash / cloudify-vimrc
Created Mar 11, 2014
Suggested .vimrc lines for Cloudify
View cloudify-vimrc
" GigaSpaces Cloudify settings, excerpt from my .vimrc + additional comments
" * CTRL+F9 to run flake QuickFix, CTRL+Enter/Shift+CTRL+Enter to navigate
" * Tabulation settings. You might need to adjust the folder name "gigaspaces"
map <C-F9> :make<CR>
noremap <C-CR> :cn<CR>:cc<CR>
noremap <S-C-CR> :cN<CR>:cc<CR>
hi CursorLine guibg=#F4F4F4