Comments (2)
I'm not sure what you are asking beyond some more examples... I'm happy to update the doc where needed, but without knowing what you don't yet understand, it's sort of hard :)
Below are a few examples from an old config, that gives you an idea of how to use Chef searches to open inbound and outbound rules:
:afw => {
:rules => {
'Graphite Server Web Interface' => {
:protocol => 'tcp',
:direction => 'in',
:user => 'www-data',
:source => '0.0.0.0/0',
:dport => '80'
},
'Graphite Line Entry Points' => {
:protocol => 'tcp',
:direction => 'in',
:user => 'www-data',
:source => ['roles:chef-client',
'172.17.0.0/24'],
:dport => '2003'
},
'Graphite Pickle Inbound Replication' => {
:protocol => 'tcp',
:direction => 'in',
:user => 'www-data',
:source => 'roles:graphite-server OR recipes:graphite*',
:dport => '2014'
},
'Graphite Pickle Outbound Replication' => {
:protocol => 'tcp',
:direction => 'out',
:user => 'www-data',
:destination => 'roles:graphite-server',
:dport => '2014'
},
'Graphite Metrics access from LAN' => {
:direction => 'in',
:protocol => 'tcp',
:user => 'www-data',
:source => '10.0.0.0/8',
:dport => '2003',
}
}
from afw.
I think an example project that helps demonstrate the chef-search may be what I don't understand --
I'm using chef-solo with packer.io, so may be a disconnect when compared to using chef-server. So in packer.io land, I want a chef recipe that adds a tomcat server, then if there are any available nginix servers to open up port 8080 for tomcat to those nginix servers (which I think is what AFW solves).
A chef-server that has the whole infrastructure for you to do a chef-search may be the missing piece.
from afw.
Related Issues (4)
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 afw.