Comments (5)
A better approach here might be to think in terms of the topologies and layouts. Something like:
linchpin topology create|get|list
linchpin layout create|get|list
In terms of linchpin topology get
, it seems having a --remote option is not needed. Consider that anything with file:// would imply local (or just with a /path/to/topo), whereas http://, git://, ssh:// would imply remote protocols.
Also, it might be advantageous to have a component in the Pinfile which identifies the remote registry as indicated previously in PR #88. Something like:
topology_registry: git://github.com/CentOS-PaaS-SIG/linchpin_topologies.git
layout_registry: git://github.com/CentOS-PaaS-SIG/linchpin_layouts.git
across2clouds:
topology_name: openshift_aws_5node
inventory_layout_file: openshift_layout_with_5nodes
dockercontainer:
topology: herlo_docker_stuff
If this were in place, one could provide the command:
linchpin topology get openshift_aws_5node
which would look at the topology registry and pull down the given topology and put it in the proper place (probably the topologies
directory at PWD). Additionally, one could override the config file by passing --topology_registry=file://path/to/local/registry
.
Configuring like this could also allow for push actions, given a file://, git@, or ssh:// location.
from linchpin.
Please note, I did use topology
instead of topo
. The linchpin command could provide an alias called topo
in addition to the full name. I find this an important thing as typing a lot of characters is annoying, but semantics are also important.
from linchpin.
Please NOTE: topology_registry
and layout_registry
are optional parameters.
from linchpin.
see issue #210
from linchpin.
#333 fixes the issue
from linchpin.
Related Issues (20)
- AWS EC2 provisioning fails when `count` is not set
- Example link deprecated
- no_monitor option cannot be set in linchpin.conf
- Error message showing up during linchpin container build HOT 1
- Linchpin installation fails on centos8 due to openstacksdk error
- Linchpin 1.7.2 failing on openstack provisioning on python 2.7 release
- Linchpin 2.0 fails on latest version of tinydb 4.0
- Packaging process disabled HOT 7
- Beaker payload definition - Add support for reservesys XML element
- Failed to provision openstack port with os_port due to missing network param
- can't successfully buildh linchpin container followed by official documentation HOT 7
- failed: [localhost] (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false} HOT 4
- TypeError: get() got an unexpected keyword argument 'eid' HOT 5
- Can't successfully destroy provisioned VM based on contrainfra/linchpin HOT 4
- Support and document how to create blank libvirt VMs HOT 5
- 'linchpin_mock' is undefined HOT 5
- Failed to destroy beaker machine HOT 9
- [OpenStack] Additional Volumes should be cleaned when I hit linchpin destroy HOT 4
- Provisioning from beaker is failed on fedora 33 HOT 3
- Possible Improvement Scope: Leftover Installation in the Ansible test scripts HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from linchpin.