From a963d5c0a2db718e031a20b4493cd70a977fc8eb Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Tue, 16 Apr 2013 15:54:27 +0200 Subject: [PATCH] fix: upgraded ``metadata.yaml`` for resources usage. --- precise/mirror/metadata.yaml | 3 ++- precise/vpn/metadata.yaml | 2 ++ precise/www/metadata.yaml | 4 ++++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/precise/mirror/metadata.yaml b/precise/mirror/metadata.yaml index b4e81005..fa1dac0a 100644 --- a/precise/mirror/metadata.yaml +++ b/precise/mirror/metadata.yaml @@ -4,4 +4,5 @@ maintainer: "Valentin Lab " inherit: base-0k description: | Backup by rsync mirroring -data-dir: /var/mirror +data-resources: + - /var/mirror diff --git a/precise/vpn/metadata.yaml b/precise/vpn/metadata.yaml index 579ffa6c..91c213a4 100644 --- a/precise/vpn/metadata.yaml +++ b/precise/vpn/metadata.yaml @@ -4,3 +4,5 @@ maintainer: "Valentin Lab " inherit: base-0k description: | Installs a VPN master server. +config-resources: + - /etc/openvpn diff --git a/precise/www/metadata.yaml b/precise/www/metadata.yaml index 412af855..c50e20bb 100644 --- a/precise/www/metadata.yaml +++ b/precise/www/metadata.yaml @@ -4,3 +4,7 @@ maintainer: "Valentin Lab " inherit: base-0k description: | Installs a HTTP Apache server. +config-resources: + - /etc/apache2 +data-resources: + - /var/www