Skip to content

Commit 35be912

Browse files
Merge pull request #1594 from craigcomstock/ENT-12658/master
Marked application/config/config.php as a configuration file in packages
2 parents b01578e + 46ba411 commit 35be912

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

packaging/cfengine-nova-hub/cfengine-nova-hub.spec.in

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,9 @@ exit 0
385385

386386
# No-one should need access to anything under share/GUI
387387
%defattr(400,root,root,400)
388+
# We can change these configuration files as part of masterfiles policy so need to mark as configs
389+
%config(noreplace) %prefix/share/GUI/application/config/config.php
390+
%config(noreplace) %prefix/share/GUI/api/modules/inventory/config/config.php
388391
%prefix/share/GUI
389392

390393
# Base policy
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/var/cfengine/share/GUI/application/config/config.php
2+
/var/cfengine/share/GUI/api/modules/inventory/config/config.php

0 commit comments

Comments
 (0)