[PKG-Openstack-devel] Bug#827368: openstack-pkg-tools: /usr/share/openstack-pkg-tools/pkgos_func:pkgos_inifile get - does not work
Turbo Fredriksson
turbo at bayour.com
Wed Jun 15 12:11:34 UTC 2016
Package: openstack-pkg-tools
Version: 50
Severity: minor
Sourcing /usr/share/openstack-pkg-tools/pkgos_func in the shell and then
trying to use the "get" part of it does not work:
----- s n i p -----
bladeA01b:~# . /usr/share/openstack-pkg-tools/pkgos_func
bladeA01b:~# export PKGOS_VERBOSE=yes
bladeA01b:~# pkgos_inifile get /etc/cinder/cinder.conf DEFAULT enabled_backends
pkgos_inifile: Getting value in /etc/cinder/cinder.conf:[DEFAULT]/enabled_backends
bladeA01b:~# grep ^enabled_backends /etc/cinder/cinder.conf
enabled_backends = lvm
----- s n i p -----
The "set" part works like a charm though!
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages openstack-pkg-tools depends on:
ii autopkgtest 4.0
ii libxml-xpath-perl 1.36-1
ii madison-lite 0.21
ii pristine-tar 1.34
openstack-pkg-tools recommends no packages.
openstack-pkg-tools suggests no packages.
-- no debconf information
More information about the Openstack-devel
mailing list