Skip to content

Commit 6afff25

Browse files
committed
Marked application/config/config.php as a configuration file in packages
Related to inhibiting management of share config.php file when a class is defined. cfengine/masterfiles#2987 Ticket: ENT-12658 Changelog: none
1 parent bf191e1 commit 6afff25

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@ 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/*.php
388390
%prefix/share/GUI
389391

390392
# Base policy
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/var/cfengine/httpd/htdocs/application/config/config.php

0 commit comments

Comments
 (0)