Modify, retrieve, or delete values from OpenStack configuration files.
Jeffrey C. Ollie <jeff@ocjtech.us>
new
linux
salt.modules.openstack_config.
delete
(filename, section, parameter)¶Delete a value from an OpenStack configuration file.
The full path to the configuration file
The section from which to delete the parameter
The parameter to delete
CLI Example:
salt-call openstack_config.delete /etc/keystone/keystone.conf sql connection
salt.modules.openstack_config.
get
(filename, section, parameter)¶Get a value from an OpenStack configuration file.
The full path to the configuration file
The section from which to search for the parameter
The parameter to return
CLI Example:
salt-call openstack_config.get /etc/keystone/keystone.conf sql connection
salt.modules.openstack_config.
set_
(filename, section, parameter, value)¶Set a value in an OpenStack configuration file.
The full path to the configuration file
The section in which the parameter will be set
The parameter to change
The value to set
CLI Example:
salt-call openstack_config.set /etc/keystone/keystone.conf sql connection foo
Generated on August 05, 2021 at 04:04:00 UTC.
You are viewing docs for the previous stable release, 3000.9. Switch to docs for the latest stable release, 3003.1, or to a recent doc build from the master branch.
© 2021 SaltStack. All Rights Reserved, SaltStack Inc. | Privacy Policy