Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 449132

Summary: >=app-admin/salt-0.11.0 does not install config template files
Product: Gentoo Linux Reporter: Timothy Messier <tim.messier>
Component: Current packagesAssignee: Patrick McLean <chutzpah>
Status: RESOLVED FIXED    
Severity: normal Keywords: EBUILD
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: app-admin/salt-0.11.0-r1.ebuild

Description Timothy Messier 2012-12-29 04:49:55 UTC
The ebuild for >=app-admin/salt-0.11.0 does not contain the lines that install the template config files.

Reproducible: Always




Old ebuilds did the following during the install phase:

# install the config template files
dodir /etc/${PN}
for conf in conf/*.template; do
    sed '1 d' ${conf} > "${D}"/etc/${PN}/"$(basename "${conf%.template}")" \
       || die "sed failed"
done
Comment 1 Timothy Messier 2012-12-29 05:03:44 UTC
Created attachment 333654 [details]
app-admin/salt-0.11.0-r1.ebuild

Proposed ebuild that installs the template files. It appears that upstream has renamed the templates (removed the .template) so the previous method for installing the files would fail.
Comment 2 Patrick McLean gentoo-dev 2013-05-04 23:08:26 UTC
Fixed in salt-0.15.0-r1