noop as resource meta param

first part of #21
tested with example/noop1.yaml on CentOS 6
This commit is contained in:
Martin Alfke
2016-05-14 21:30:54 +02:00
committed by James Shubin
parent 1584f20220
commit 6bbce039aa
3 changed files with 31 additions and 1 deletions

24
examples/noop1.yaml Normal file
View File

@@ -0,0 +1,24 @@
---
graph: mygraph
comment: noop example
resources:
noop:
- name: noop1
meta:
noop: true
file:
- name: file1
path: "/tmp/mgmt-hello-noop"
content: |
hello world from @purpleidea
state: exists
meta:
noop: true
edges:
- name: e1
from:
kind: noop
name: noop1
to:
kind: file
name: file1