readme: Update repository with information about remote execution
This commit is contained in:
@@ -170,7 +170,8 @@ which need to exchange information that is only available at run time.
|
|||||||
|
|
||||||
####Blog post
|
####Blog post
|
||||||
|
|
||||||
An introductory blog post about this topic will follow soon.
|
You can read the introductory blog post about this topic here:
|
||||||
|
[https://ttboj.wordpress.com/2016/10/07/remote-execution-in-mgmt/](https://ttboj.wordpress.com/2016/10/07/remote-execution-in-mgmt/)
|
||||||
|
|
||||||
###Puppet support
|
###Puppet support
|
||||||
|
|
||||||
|
|||||||
@@ -90,6 +90,8 @@ We'd love to have your patches! Please send them by email, or as a pull request.
|
|||||||
* James Shubin; video: [Recording from DebConf16](http://meetings-archive.debian.net/pub/debian-meetings/2016/debconf16/Next_Generation_Config_Mgmt.webm) ([Slides](https://annex.debconf.org//debconf-share/debconf16/slides/15-next-generation-config-mgmt.pdf))
|
* James Shubin; video: [Recording from DebConf16](http://meetings-archive.debian.net/pub/debian-meetings/2016/debconf16/Next_Generation_Config_Mgmt.webm) ([Slides](https://annex.debconf.org//debconf-share/debconf16/slides/15-next-generation-config-mgmt.pdf))
|
||||||
* Felix Frank; blog: [Edging It All In (puppet and mgmt edges)](https://ffrank.github.io/features/2016/07/12/edging-it-all-in/)
|
* Felix Frank; blog: [Edging It All In (puppet and mgmt edges)](https://ffrank.github.io/features/2016/07/12/edging-it-all-in/)
|
||||||
* Felix Frank; blog: [Translating All The Things (puppet to mgmt translation warnings)](https://ffrank.github.io/features/2016/08/19/translating-all-the-things/)
|
* Felix Frank; blog: [Translating All The Things (puppet to mgmt translation warnings)](https://ffrank.github.io/features/2016/08/19/translating-all-the-things/)
|
||||||
|
* James Shubin; video: [Recording from systemd.conf 2016](https://www.youtube.com/watch?v=jB992Zb3nH0&html5=1)
|
||||||
|
* James Shubin; blog: [Remote execution in mgmt](https://ttboj.wordpress.com/2016/10/07/remote-execution-in-mgmt/)
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
||||||
|
|||||||
@@ -36,7 +36,8 @@
|
|||||||
// * The elected leader should decide who to nominate/unnominate to keep the right number of servers.
|
// * The elected leader should decide who to nominate/unnominate to keep the right number of servers.
|
||||||
//
|
//
|
||||||
// Smoke testing:
|
// Smoke testing:
|
||||||
// ./mgmt run --file examples/etcd1a.yaml --hostname h1
|
// mkdir /tmp/mgmt{A..E}
|
||||||
|
// ./mgmt run --file examples/etcd1a.yaml --hostname h1 --tmp-prefix
|
||||||
// ./mgmt run --file examples/etcd1b.yaml --hostname h2 --tmp-prefix --seeds http://127.0.0.1:2379 --client-urls http://127.0.0.1:2381 --server-urls http://127.0.0.1:2382
|
// ./mgmt run --file examples/etcd1b.yaml --hostname h2 --tmp-prefix --seeds http://127.0.0.1:2379 --client-urls http://127.0.0.1:2381 --server-urls http://127.0.0.1:2382
|
||||||
// ./mgmt run --file examples/etcd1c.yaml --hostname h3 --tmp-prefix --seeds http://127.0.0.1:2379 --client-urls http://127.0.0.1:2383 --server-urls http://127.0.0.1:2384
|
// ./mgmt run --file examples/etcd1c.yaml --hostname h3 --tmp-prefix --seeds http://127.0.0.1:2379 --client-urls http://127.0.0.1:2383 --server-urls http://127.0.0.1:2384
|
||||||
// ETCDCTL_API=3 etcdctl --endpoints 127.0.0.1:2379 put /_mgmt/idealClusterSize 3
|
// ETCDCTL_API=3 etcdctl --endpoints 127.0.0.1:2379 put /_mgmt/idealClusterSize 3
|
||||||
|
|||||||
20
examples/remote2a.yaml
Normal file
20
examples/remote2a.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
graph: mygraph
|
||||||
|
comment: remote noop example
|
||||||
|
resources:
|
||||||
|
file:
|
||||||
|
- name: file1a
|
||||||
|
path: "/tmp/file1a"
|
||||||
|
content: |
|
||||||
|
i am file1a
|
||||||
|
state: exists
|
||||||
|
- name: "@@file2a"
|
||||||
|
path: "/tmp/file2a"
|
||||||
|
content: |
|
||||||
|
i am file2a, exported from host a
|
||||||
|
state: exists
|
||||||
|
collect:
|
||||||
|
- kind: file
|
||||||
|
pattern: "/tmp/"
|
||||||
|
edges: []
|
||||||
|
remote: ssh://root:vagrant@192.168.121.201:22
|
||||||
20
examples/remote2b.yaml
Normal file
20
examples/remote2b.yaml
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
---
|
||||||
|
graph: mygraph
|
||||||
|
comment: remote noop example
|
||||||
|
resources:
|
||||||
|
file:
|
||||||
|
- name: file1b
|
||||||
|
path: "/tmp/file1b"
|
||||||
|
content: |
|
||||||
|
i am file1b
|
||||||
|
state: exists
|
||||||
|
- name: "@@file2b"
|
||||||
|
path: "/tmp/file2b"
|
||||||
|
content: |
|
||||||
|
i am file2b, exported from host b
|
||||||
|
state: exists
|
||||||
|
collect:
|
||||||
|
- kind: file
|
||||||
|
pattern: "/tmp/"
|
||||||
|
edges: []
|
||||||
|
remote: ssh://root:vagrant@192.168.121.202:22
|
||||||
Reference in New Issue
Block a user