Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
scipion
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Radim Peša
scipion
Commits
abcb423f
Commit
abcb423f
authored
8 years ago
by
Radim Peša
Browse files
Options
Downloads
Patches
Plain Diff
Cleaning
parent
0166b2c8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cfy-example-blueprint.yaml
+0
-133
0 additions, 133 deletions
cfy-example-blueprint.yaml
with
0 additions
and
133 deletions
cfy-example-blueprint.yaml
deleted
100644 → 0
+
0
−
133
View file @
0166b2c8
tosca_definitions_version
:
cloudify_dsl_1_2
description
:
>
This is example Blueprint to show how to interact with FedCloud OCCI and Puppet.
imports
:
-
http://getcloudify.org/spec/cloudify/3.3.1/types.yaml
-
http://getcloudify.org/spec/fabric-plugin/1.3.1/plugin.yaml
-
http://getcloudify.org/spec/diamond-plugin/1.3.1/plugin.yaml
-
https://raw.githubusercontent.com/vholer/cloudify-occi-plugin-experimental/master/plugin.yaml
-
types/puppet.yaml
-
types/dbms.yaml
-
types/server.yaml
-
types/webserver.yaml
inputs
:
# OCCI
occi_endpoint
:
default
:
'
'
type
:
string
occi_auth
:
default
:
'
'
type
:
string
occi_username
:
default
:
'
'
type
:
string
occi_password
:
default
:
'
'
type
:
string
occi_user_cred
:
default
:
'
'
type
:
string
occi_ca_path
:
default
:
'
'
type
:
string
occi_voms
:
default
:
False
type
:
boolean
# contextualization
cc_username
:
default
:
cfy
type
:
string
cc_public_key
:
type
:
string
cc_private_key_filename
:
type
:
string
cc_data
:
default
:
{}
# VM parameters
os_tpl
:
type
:
string
resource_tpl
:
type
:
string
# Application params
db_name
:
type
:
string
db_user
:
type
:
string
db_password
:
type
:
string
dsl_definitions
:
occi_configuration
:
&occi_configuration
endpoint
:
{
get_input
:
occi_endpoint
}
auth
:
{
get_input
:
occi_auth
}
username
:
{
get_input
:
occi_username
}
password
:
{
get_input
:
occi_password
}
user_cred
:
{
get_input
:
occi_user_cred
}
ca_path
:
{
get_input
:
occi_ca_path
}
voms
:
{
get_input
:
occi_voms
}
cloud_configuration
:
&cloud_configuration
username
:
{
get_input
:
cc_username
}
public_key
:
{
get_input
:
cc_public_key
}
data
:
{
get_input
:
cc_data
}
fabric_env
:
&fabric_env
user
:
{
get_input
:
cc_username
}
key_filename
:
{
get_input
:
cc_private_key_filename
}
agent_configuration
:
&agent_configuration
install_method
:
remote
user
:
{
get_input
:
cc_username
}
key
:
{
get_input
:
cc_private_key_filename
}
puppet_config
:
&puppet_config
repo
:
'
https://yum.puppetlabs.com/puppetlabs-release-pc1-el-7.noarch.rpm'
package
:
'
puppet-agent'
download
:
resources/puppet.tar.gz
node_templates
:
scipionNode
:
type
:
example.nodes.Server
properties
:
name
:
'
Cloudify
example
web
node'
resource_config
:
os_tpl
:
{
get_input
:
os_tpl
}
resource_tpl
:
{
get_input
:
resource_tpl
}
agent_config
:
*agent_configuration
cloud_config
:
*cloud_configuration
occi_config
:
*occi_configuration
fabric_env
:
<<
:
*fabric_env
host_string
:
{
get_attribute
:
[
scipionNode
,
ip
]
}
# req. by relationship ref.
scipion
:
type
:
example.nodes.WebServer
instances
:
deploy
:
1
properties
:
fabric_env
:
<<
:
*fabric_env
host_string
:
{
get_attribute
:
[
scipionNode
,
ip
]
}
puppet_config
:
<<
:
*puppet_config
manifests
:
start
:
manifests/scipion.pp
relationships
:
-
type
:
cloudify.relationships.contained_in
target
:
scipionNode
outputs
:
endpoint
:
description
:
Web application endpoint
value
:
url
:
{
concat
:
[
'
http://'
,
{
get_attribute
:
[
scipionNode
,
ip
]
}]
}
# vim: set syntax=yaml
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment