]> granicus.if.org Git - icinga2/commitdiff
config: Update validators.
authorGunnar Beutner <gunnar.beutner@netways.de>
Wed, 25 Sep 2013 06:52:44 +0000 (08:52 +0200)
committerGunnar Beutner <gunnar.beutner@netways.de>
Wed, 25 Sep 2013 06:52:44 +0000 (08:52 +0200)
components/cluster/cluster-type.conf
components/compat/compat-type.conf
lib/config/base-type.conf

index 7ef83b90b9a0264e1485642500ce93e8180dc26d..f97572a0d948e7a76904b04392c0b72296f2f2cf 100644 (file)
@@ -28,7 +28,7 @@ type ClusterComponent {
        %attribute string "bind_port",
 
        %attribute array "peers" {
-               %attribute string "*"
+               %attribute name(Endpoint) "*"
        }
 }
 
@@ -41,6 +41,6 @@ type Endpoint {
        },
 
        %attribute array "accept_config" {
-               %attribute string "*"
+               %attribute name(Endpoint) "*"
        }
 }
index 3ee0ff77a06fa2f18c5d185ac3505445835cc341..7a9ba1605343b824dbcf2018c870d40a949e9444 100644 (file)
@@ -29,7 +29,7 @@ type ExternalCommandListener {
 type CompatLog {
        %validator "ValidateRotationMethod",
 
-       %attribute string "path_prefix",
+       %attribute string "log_dir",
        %attribute string "rotation_method"
 }
 
index 28f09054103366b1933688e7c17dc63726adc833..fb6001bc948d61f7492fba1bf2b56e84dc112607 100644 (file)
@@ -31,7 +31,7 @@ type DynamicObject {
        },
 
        %attribute array "authorities" {
-               %attribute string "*"
+               %attribute name(Endpoint) "*"
        },
 
        %attribute array "domains" {