remove override and rougail.conf from template.py
This commit is contained in:
@ -27,6 +27,29 @@
|
||||
<value>True</value>
|
||||
</variable>
|
||||
</family>
|
||||
<family doc="rougail.conf" name="rougail_conf">
|
||||
<variable doc="group" multi="False" name="group" type="string">
|
||||
<value>root</value>
|
||||
</variable>
|
||||
<variable doc="mode" multi="False" name="mode" type="string">
|
||||
<value>0644</value>
|
||||
</variable>
|
||||
<variable doc="name" multi="False" name="name" type="string">
|
||||
<value>/rougail.conf</value>
|
||||
</variable>
|
||||
<variable doc="owner" multi="False" name="owner" type="string">
|
||||
<value>root</value>
|
||||
</variable>
|
||||
<variable doc="source" multi="False" name="source" type="string">
|
||||
<value>rougail.conf</value>
|
||||
</variable>
|
||||
<variable doc="templating" multi="False" name="templating" type="boolean">
|
||||
<value>True</value>
|
||||
</variable>
|
||||
<variable doc="activate" multi="False" name="activate" type="boolean">
|
||||
<value>True</value>
|
||||
</variable>
|
||||
</family>
|
||||
</family>
|
||||
</family>
|
||||
</family>
|
||||
|
@ -1,2 +1,2 @@
|
||||
C /etc/mailname 0644 root root - rougail.conf/etc/mailname
|
||||
C /etc/mailname 0644 root root - /usr/local/share/factory/etc/mailname
|
||||
z /etc/mailname - - - - -
|
||||
|
10
tests/templates/70container_files/tmpl/rougail.conf
Normal file
10
tests/templates/70container_files/tmpl/rougail.conf
Normal file
@ -0,0 +1,10 @@
|
||||
%for %%service in %%services
|
||||
%if %%hasattr(%%service, 'files')
|
||||
%for %%file in %%service.files
|
||||
%if %%file.name != %%rougail_filename and %%hasattr(%%file, 'activate') and %%file.activate == True
|
||||
C %%file.name %%file.mode %%file.owner %%file.group - /usr/local/share/factory%%file.name
|
||||
z %%file.name - - - - -
|
||||
%end if
|
||||
%end for
|
||||
%end if
|
||||
%end for
|
Reference in New Issue
Block a user