Comments (3)
I'm now ready to split components into sub-directories.
It seems that we have:
- the libvirt server
- the libvirt client
- the qemu for the server (since libvirt server could manage other things)
- the tools could be used independently of server/client (qemu-img, libguestfs)
Here is the directory hierarchy I'm planing to define:
libvirt/
├── client
│ ├── clean.sls
│ ├── config
│ │ ├── clean.sls
│ │ ├── file.sls
│ │ └── init.sls
│ ├── files
│ │ └── default
│ ├── init.sls
│ ├── package
│ │ ├── clean.sls
│ │ ├── init.sls
│ │ └── install.sls
│ └── tls
│ ├── cert.sls
│ ├── clean.sls
│ └── init.sls
├── python
│ ├── clean.sls
│ ├── init.sls
│ └── library.sls
├── qemu
│ ├── clean.sls
│ ├── config
│ │ ├── clean.sls
│ │ ├── file.sls
│ │ └── init.sls
│ ├── files
│ │ └── default
│ ├── init.sls
│ └── package
│ ├── clean.sls
│ ├── init.sls
│ └── install.sls
├── server
│ ├── clean.sls
│ ├── config
│ │ ├── clean.sls
│ │ ├── file.sls
│ │ └── init.sls
│ ├── files
│ │ └── default
│ ├── init.sls
│ ├── package
│ │ ├── clean.sls
│ │ ├── init.sls
│ │ └── install.sls
│ ├── service
│ │ ├── clean.sls
│ │ ├── init.sls
│ │ └── running.sls
│ └── tls
│ ├── cert.sls
│ ├── clean.sls
│ └── init.sls
└── tools
├── clean.sls
├── config
│ ├── clean.sls
│ ├── file.sls
│ └── init.sls
├── files
│ └── default
├── init.sls
└── package
├── clean.sls
├── init.sls
└── install.sls
This way:
state.apply libvirt
will install and configure everythingstate.apply libvirt.server
will only manage the server partstate.apply libvirt.client
will only manage the client partstate.apply libvirt.tools.clean
will only unconfigure/remove the tools
This the sub-component scheme as describe in https://github.com/saltstack-formulas/template-formula/blob/develop/docs/TOFS_pattern.rst#using-sub-directories-for-components
Does someone have any comment? (@myii, @Aboe, @vtolstov)
from libvirt-formula.
I'm now ready to split components into sub-directories.
It seems that we have:
[…]
- the tools could be used independently of server/client (qemu-img,
libguestfs)
Actually, this is the extra_pkgs
. I will provide an extra
directory instead of a tools
.
from libvirt-formula.
@baby-gnu Sounds like an excellent plan to me, always nice to see all of our template-formula
structures being applied.
from libvirt-formula.
Related Issues (14)
- missing depency: gnutls-bin HOT 1
- formula should also manage libvirtd.conf HOT 5
- libvirt Service Name Incorrect on Ubuntu 16.10 HOT 6
- State 'libvirt.keys' was not found in SLS 'libvirt.keys' for Salt 2016.11.0 HOT 3
- State 'virt.keys' was not found in SLS 'libvirt.keys' for Salt 2017.7.3.0 HOT 3
- libvirt expected a string for 'tls_port' & 'tcp_port' in libvirtd.conf HOT 2
- Update this formula to the new standards HOT 1
- InSpec tests fail on new `fedora-31` pre-salted image HOT 7
- [BUG] When salt is installed via pip for python3 separate from system python3, State 'virt.keys' was not found in SLS 'libvirt.server.tls.certs' HOT 8
- Breaks when the osmajorrelease grain is missing. HOT 3
- [python] python packages for opensuse tumbleweed renamed HOT 10
- [BUG] Formula not compatible with Debian 11
- [BUG] Formula not compatible with latest Arch 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 libvirt-formula.