diff --git a/src/rougail/template/systemd.py b/src/rougail/template/systemd.py index c45f67350..11b985b44 100644 --- a/src/rougail/template/systemd.py +++ b/src/rougail/template/systemd.py @@ -186,7 +186,7 @@ class RougailSystemdTemplate(RougailBaseTemplate): self.ip_per_service = None def post_instance(self): - destfile = '/tmpfiles.d/rougail.conf' + destfile = '/tmpfiles.d/0rougail.conf' destfilename = join(self.destinations_dir, destfile[1:]) makedirs(dirname(destfilename), exist_ok=True) self.log.info(_(f"creole processing: '{destfilename}'")) diff --git a/tests/dictionaries/01base_file/result/tmpfiles.d/rougail.conf b/tests/dictionaries/01base_file/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/01base_file/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/01base_file/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/01base_file_include/result/tmpfiles.d/rougail.conf b/tests/dictionaries/01base_file_include/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/01base_file_include/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/01base_file_include/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/01base_file_include_content/result/tmpfiles.d/rougail.conf b/tests/dictionaries/01base_file_include_content/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/01base_file_include_content/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/01base_file_include_content/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/01base_file_include_name/result/tmpfiles.d/rougail.conf b/tests/dictionaries/01base_file_include_name/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/01base_file_include_name/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/01base_file_include_name/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/01base_file_patch/result/tmpfiles.d/rougail.conf b/tests/dictionaries/01base_file_patch/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/01base_file_patch/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/01base_file_patch/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/01base_file_utfchar/result/tmpfiles.d/rougail.conf b/tests/dictionaries/01base_file_utfchar/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/01base_file_utfchar/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/01base_file_utfchar/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/11disabled_if_in_filelist/result/tmpfiles.d/rougail.conf b/tests/dictionaries/11disabled_if_in_filelist/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/11disabled_if_in_filelist/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/11disabled_if_in_filelist/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/11disabled_if_in_filelist_disabled/result/tmpfiles.d/rougail.conf b/tests/dictionaries/11disabled_if_in_filelist_disabled/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/11disabled_if_in_filelist_disabled/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/11disabled_if_in_filelist_disabled/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/20notemplating/result/tmpfiles.d/rougail.conf b/tests/dictionaries/20notemplating/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/20notemplating/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/20notemplating/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/20override/result/tmpfiles.d/rougail.conf b/tests/dictionaries/20override/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/20override/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/20override/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/20override_no_templating/result/tmpfiles.d/rougail.conf b/tests/dictionaries/20override_no_templating/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/20override_no_templating/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/20override_no_templating/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/20override_source/result/tmpfiles.d/rougail.conf b/tests/dictionaries/20override_source/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/20override_source/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/20override_source/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/40ifin_leadershipauto/result/tmpfiles.d/rougail.conf b/tests/dictionaries/40ifin_leadershipauto/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/40ifin_leadershipauto/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/40ifin_leadershipauto/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/40ifin_leadershipauto_follower/result/tmpfiles.d/rougail.conf b/tests/dictionaries/40ifin_leadershipauto_follower/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/40ifin_leadershipauto_follower/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/40ifin_leadershipauto_follower/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/45extra_without_family/result/tmpfiles.d/rougail.conf b/tests/dictionaries/45extra_without_family/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/45extra_without_family/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/45extra_without_family/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/60extra_leadership/result/tmpfiles.d/rougail.conf b/tests/dictionaries/60extra_leadership/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/60extra_leadership/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/60extra_leadership/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/60extra_leadership_name/result/tmpfiles.d/rougail.conf b/tests/dictionaries/60extra_leadership_name/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/60extra_leadership_name/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/60extra_leadership_name/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/60extra_leadership_valid_enum/result/tmpfiles.d/rougail.conf b/tests/dictionaries/60extra_leadership_valid_enum/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/60extra_leadership_valid_enum/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/60extra_leadership_valid_enum/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70container_files/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70container_files/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70container_files/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70container_files/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70container_files_symlink_multi/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70container_files_symlink_multi/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70container_files_symlink_multi/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70container_files_symlink_multi/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70container_files_symlink_multi_variable/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70container_files_symlink_multi_variable/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70container_files_symlink_multi_variable/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70container_files_symlink_multi_variable/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70container_files_symlink_variable/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70container_files_symlink_variable/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70container_files_symlink_variable/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70container_files_symlink_variable/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70service_disabled/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70service_disabled/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70service_disabled/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70service_disabled/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70service_engine/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70service_engine/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70service_engine/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70service_engine/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70service_engine_dash/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70service_engine_dash/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70service_engine_dash/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70service_engine_dash/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70service_mount/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70service_mount/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70service_mount/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70service_mount/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70service_servicelist_file/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70service_servicelist_file/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70service_servicelist_file/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70service_servicelist_file/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70service_servicelist_ip/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70service_servicelist_ip/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70service_servicelist_ip/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70service_servicelist_ip/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70service_target/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70service_target/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70service_target/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70service_target/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70service_target_engine/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70service_target_engine/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70service_target_engine/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70service_target_engine/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip_cidr/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip_cidr/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip_cidr/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip_cidr/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip_disabled/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip_disabled/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip_disabled/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip_disabled/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip_iplist/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip_iplist/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip_iplist/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip_iplist/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip_iplist2/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip_iplist2/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip_iplist2/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip_iplist2/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip_leadership/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip_leadership/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip_leadership/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip_leadership/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip_multi/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip_multi/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip_multi/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip_multi/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip_network/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip_network/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip_network/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip_network/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip_not_mandatory/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip_not_mandatory/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip_not_mandatory/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip_not_mandatory/result/tmpfiles.d/0rougail.conf diff --git a/tests/dictionaries/70services_ip_twice/result/tmpfiles.d/rougail.conf b/tests/dictionaries/70services_ip_twice/result/tmpfiles.d/0rougail.conf similarity index 100% rename from tests/dictionaries/70services_ip_twice/result/tmpfiles.d/rougail.conf rename to tests/dictionaries/70services_ip_twice/result/tmpfiles.d/0rougail.conf