From 08a09c732fce6db199dde5bd19da288841d95dd7 Mon Sep 17 00:00:00 2001 From: Paul Lecuq Date: Sun, 16 Aug 2020 15:01:30 +0200 Subject: [PATCH] updated locales --- states/locale/init.sls | 10 ++++++++++ states/misc/init.sls | 10 ---------- 2 files changed, 10 insertions(+), 10 deletions(-) create mode 100644 states/locale/init.sls diff --git a/states/locale/init.sls b/states/locale/init.sls new file mode 100644 index 0000000..783dc41 --- /dev/null +++ b/states/locale/init.sls @@ -0,0 +1,10 @@ +--- +#locale_present: +# locale.present: +# - name: {{ salt["pillar.get"]("locale")|default("en_US.UTF-8") }} +# +#locale_default: +# locale.system: +# - name: {{ salt["pillar.get"]("locale")|default("en_US.UTF-8") }} +# - require: +# - locale: locale_present diff --git a/states/misc/init.sls b/states/misc/init.sls index 7b87592..3a6deb6 100644 --- a/states/misc/init.sls +++ b/states/misc/init.sls @@ -1,14 +1,4 @@ --- -us_locale: - locale.present: - - name: en_US.UTF-8 - -default_locale: - locale.system: - - name: en_US.UTF-8 - - require: - - locale: us_locale - misc-public-dir: file.directory: - name: /home/public