This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright [2014] [Jason Nerothin] | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.belk.catalogcache.domain; | |
import com.gigaspaces.annotation.pojo.CompoundSpaceIndex; | |
import com.gigaspaces.annotation.pojo.CompoundSpaceIndexes; | |
import com.gigaspaces.annotation.pojo.SpaceClass; | |
/** | |
* Created by IntelliJ IDEA. | |
* User: jason | |
* Date: 5/20/14 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mongod_security_group: | |
type: cloudify.openstack.nodes.SecurityGroup | |
properties: | |
security_group: | |
name: mongod_security_group | |
description: A security group for Mongo | |
rules: | |
- remote_ip_prefix: 0.0.0.0/0 | |
port: { get_property: [ mongod, port ] } | |
- remote_ip_prefix: 0.0.0.0/0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
######## | |
# Copyright (c) 2014 GigaSpaces Technologies Ltd. All rights reserved | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# | |
# Unless required by applicable law or agreed to in writing, software |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tosca_definitions_version: cloudify_dsl_1_0 | |
imports: | |
- http://www.getcloudify.org/spec/cloudify/3.2/types.yaml | |
- http://www.getcloudify.org/spec/openstack-plugin/1.2/plugin.yaml | |
- http://www.getcloudify.org/spec/fabric-plugin/1.2/plugin.yaml | |
inputs: | |
keystone_username: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
sudo aptitude install -y python-dev | |
sudo aptitude install -y python-virtualenv | |
sudo aptitude install -y wget zip unzip | |
virtualenv myenv | |
source myenv/bin/activate | |
pip install cloudify | |
# cfy -h | |
cfy init -r |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
find ruckus-blueprints -type f | grep -v "myenv\|.git\|.tox\|zip\|.idea\|kumoenv\|test" | xargs tar cvzf orchestrator-$( date +%s ).tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cfy blueprints publish-archive -n orchestrator.yaml -b orchestrator-2 -l orchestrator-*.tar.gz | tee log-for-tgz-deploy-$( date +%s ).log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker restart \ | |
--name data -t \ | |
-v /opt/manager/resources/packages \ | |
-w /tmp/work_dir \ | |
-v ~/:/tmp/home \ | |
-v /root --privileged=False \ | |
-v /etc/init.d \ | |
-v /etc/default \ | |
-v /opt/manager/resources \ | |
-v /opt/manager/env \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo docker start \ | |
--name data -t \ | |
-v /opt/manager/resources/packages \ | |
-w /tmp/work_dir \ | |
-v ~/:/tmp/home \ | |
-v /root --privileged=False \ | |
-v /etc/init.d \ | |
-v /etc/default \ | |
-v /opt/manager/resources \ | |
-v /opt/manager/env \ |
OlderNewer