![]() ![]() Default is True.įile.line exists for historic reasons, and is not Will not attempt to validate the servers certificate. If False, remote https file sources ( and source_hash Value will only be used when source_hash refers to a file on the Salt fileserver environment from which to retrieve the source_hash. Specific file name to look for when source_hash refers to a remoteįile, used to disambiguate ambiguous matches. If this value refers to a remote URL or absolute path toĪ local file, it will be cached and file.extract_hash will be used to obtain a hash from Hash file/expression, as used in file and Source_hash is a hash expression, then this argument will be This filename will be used to match a filename in that file. ![]() If source_hash refers to a file containing hashes, then Optional file name being managed, for matching with Obtain the hash and hash type from the parameters specified below. Insert the block before the first found occurrence in the file. If markers are not found, this parameter can be set to a regex which will prepend_if_not_found: FalseĬontent will be prepended to the file. If markers are not found and set to True then, the markers andĬontent will be appended to the file. ![]() The content to be used between the two lines identified by marker_startĪnd marker_stop. Includes the beginning of the text you wish to replace. Marker will be replaced, so it's important to ensure that your marker Versions 2017.7.3.1, everything up to the text matching the The line content identifying the end of the content block. Whitespace or extra content before or after the marker is included in Note that the whole line containing this marker will be considered, so The line content identifying a line as the start of the content block. pathįilesystem path to the file to be edited marker_start Version and the edited version) in order to detect changes and onlyĮdit the targeted file if necessary. This function will store two copies of the file in-memory (the original ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |