resources: Add new hostname resource

This resource allows to set and watch the hostname on a system.

Signed-off-by: Vinzenz Feenstra <vfeenstr@redhat.com>
This commit is contained in:
Vinzenz Feenstra
2016-11-08 16:37:33 +01:00
parent fb04f62115
commit d039006eb4
4 changed files with 367 additions and 8 deletions

7
examples/hostname.yml Normal file
View File

@@ -0,0 +1,7 @@
---
graph: mygraph
resources:
hostname:
- name: Hostname Watcher @ TestHost
hostname: test.hostname.example.com
edges: []