Opened 5 years ago

Last modified 3 years ago

#3535 new task

install conf files as examples

Reported by: jreed Owned by:
Priority: low Milestone: Outstanding Tasks
Component: build system Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: Core Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no

Description (last modified by tomek)

Currently the kea.conf and keactrl.conf configuration files are only installed if the files don't already exist. This is good so we don't overwrite custom versions. But we should still install them as examples.
Let's always install them. Two ideas are to install into the sysconfdir with a filename ending with .example or .default or something like that. I don't like to clutter up the sysconfdir but since ours is in a "kea" subdirectory that should be fine. Or we can just install them to a separate examples directory under the datarootdir or docdir We already have examples under share/doc/kea/examples/ so we could have a keactrl directory under there.

Subtickets

Change History (10)

comment:1 Changed 5 years ago by tomek

  • Milestone changed from Kea-proposed to Kea0.9.1

comment:2 Changed 5 years ago by tomek

  • Component changed from configuration to build system

comment:3 Changed 5 years ago by hschempf

  • Milestone changed from Kea0.9.1 to Kea0.9.2

comment:4 Changed 4 years ago by tomek

  • Milestone changed from Kea0.9.2 to Kea0.9.2-final

comment:5 Changed 4 years ago by marcin

  • Priority changed from low to very low

Moving to "very-low" per post-beta 0.9.2 tickets scrub.

comment:6 Changed 4 years ago by fdupont

BTW the common convention for examples is the suffix .sample.
I think the best way to add a suffix is to use a install-data-local rule.

comment:7 Changed 4 years ago by marcin

  • Milestone changed from Kea0.9.2 to Kea1.0
  • Priority changed from very low to low

Move to 1.0, low priority as per tickets scrub on 07/31/2015.

comment:8 Changed 4 years ago by stephen

  • Milestone changed from Kea1.0 to DHCP Outstanding Tasks

Per the Kea planning meeting in October, remove from 1.0.

comment:9 Changed 4 years ago by tomek

  • Milestone changed from DHCP Outstanding Tasks to Outstanding Tasks

Milestone renamed

comment:10 Changed 3 years ago by tomek

  • Description modified (diff)

Note that we're currently installing 20 sample configs in $(PREFIX)/share/doc/kea/examples/.

Note: See TracTickets for help on using tickets.