.\" Man page generated from reStructuredText. . .TH "CDIST-TYPE__DOCKER_CONFIG" "7" "Feb 16, 2019" "4.10.6" "cdist" . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .SH NAME .sp cdist\-type__docker_config \- Manage Docker configs .SH DESCRIPTION .sp This type manages Docker configs. .SH OPTIONAL PARAMETERS .INDENT 0.0 .TP .B source Path to the source file. If it is \(aq\-\(aq (dash), read standard input. .TP .B state \(aqpresent\(aq or \(aqabsent\(aq, defaults to \(aqpresent\(aq where: .INDENT 7.0 .TP .B present if the config does not exist, it is created .TP .B absent the config is removed .UNINDENT .UNINDENT .SH CAVEATS .sp Since Docker configs cannot be updated once created, this type tries removing and recreating the config if it changes. If the config is used by a service at the time of removing, then this type will fail. .SH EXAMPLES .INDENT 0.0 .INDENT 3.5 .sp .nf .ft C # Creates "foo" config from "bar" source file __docker_config foo \-\-source bar .ft P .fi .UNINDENT .UNINDENT .SH AUTHORS .sp Ľubomír Kučera .SH COPYING .sp Copyright (C) 2018 Ľubomír Kučera. You can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. .\" Generated by docutils manpage writer. .