This file contains hidden or 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
| node_types: | |
| cloudify.example.Example: | |
| derived_from: cloudify.nodes.Root | |
| interfaces: | |
| cloudify.interfaces.lifecycle: | |
| start: | |
| implementation: example.cloudify_plugin.tasks.write_to_file |
This file contains hidden or 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
| plugins: | |
| example: | |
| executor: central_deployment_agent | |
| source: https://github.com/EarthmanT/cloudify-plugin-example/archive/master.zip |
This file contains hidden or 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
| node_templates: | |
| test_the_plugin: | |
| type: cloudify.example.Example | |
| interfaces: | |
| cloudify.interfaces.lifecycle: | |
| start: | |
| implementation: example.cloudify_plugin.tasks.write_to_file |
This file contains hidden or 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
| def write_to_file(**kwargs): | |
| with open('/tmp/cloudify-plugin', 'w') as f: | |
| f.write('This simple example gives you ' | |
| 'the power to do amazing things.') |
This file contains hidden or 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
| setup( | |
| name='cloudify-plugin-example', | |
| description='Writes a file', | |
| packages=['cloudify_plugin'], | |
| install_requires=[ | |
| "cloudify-plugins-common==3.1" | |
| ] | |
| ) |
This file contains hidden or 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
| nodejs_host: | |
| type: nodecellar.nodes.MonitoredServer | |
| instances: | |
| deploy: 2 # or 3 or 7 etc | |
| relationships: | |
| - target: nodecellar_security_group | |
| type: cloudify.openstack.server_connected_to_security_group |
This file contains hidden or 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
| http_in: | |
| type: haproxy.nodes.Proxy | |
| properties: | |
| default_backend: servers | |
| global_maxconn: 256 | |
| mode: http | |
| port: 80 | |
| timeout_connect: 5000 | |
| timeout_client: 50000 | |
| timeout_server: 50000 |
This file contains hidden or 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
| interfaces: | |
| cloudify.interfaces.monitoring: | |
| start: | |
| implementation: diamond.diamond_agent.tasks.add_collectors | |
| inputs: | |
| collectors_config: | |
| HAProxyCollector: | |
| config: | |
| enabled: True | |
| url: http://127.0.0.1:9000/haproxy_stats;csv |
This file contains hidden or 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
| class { '::mongodb::globals': | |
| manage_package_repo => true, | |
| }-> | |
| class { '::mongodb::server': | |
| }-> | |
| class { '::mongodb::client': | |
| }-> | |
| class { '::nodejs': | |
| nodejs_dev_package_ensure => 'present', |
This file contains hidden or 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
| node_templates: | |
| docker: | |
| type: cloudify.nodes.Root | |
| interfaces: | |
| cloudify.interfaces.lifecycle: | |
| create: | |
| implementation: scripts/docker/install.py | |
| start: | |
| implementation: scripts/docker/bootstrap.py |
OlderNewer