Skip to content

Commit

Permalink
Merge pull request #611 from ajf8/ncm_hostsfile_squash_config
Browse files Browse the repository at this point in the history
ncm-hostsfile: merge config-{common,rpm} into config.pan
  • Loading branch information
jrha committed Dec 2, 2015
2 parents 028ec3a + d1d6449 commit 9d659db
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 34 deletions.
17 changes: 0 additions & 17 deletions ncm-hostsfile/src/main/pan/components/hostsfile/config-common.pan

This file was deleted.

15 changes: 0 additions & 15 deletions ncm-hostsfile/src/main/pan/components/hostsfile/config-rpm.pan

This file was deleted.

13 changes: 11 additions & 2 deletions ncm-hostsfile/src/main/pan/components/hostsfile/config.pan
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,14 @@

unique template components/${project.artifactId}/config;

include { 'components/${project.artifactId}/config-common' };
include { 'components/${project.artifactId}/config-rpm' };
include 'components/${project.artifactId}/schema';

# Package to install
"/software/packages" = pkg_repl("ncm-${project.artifactId}", "${no-snapshot-version}-${rpm.release}", "noarch");

# Set prefix to root of component configuration.
prefix '/software/components/${project.artifactId}';

'version' = '${no-snapshot-version}';
'active' ?= false;
'dispatch' ?= false;

0 comments on commit 9d659db

Please sign in to comment.