From 0517801b018ccec17da7616a585944ae1796dd0d Mon Sep 17 00:00:00 2001 From: Theo Chatzimichos Date: Oct 07 2016 10:04:10 +0000 Subject: initial structure of salt and pillar dirs. Do not install recommended ... by adding onlyRequires True in zypp.conf --- diff --git a/pillar/common.sls b/pillar/common.sls new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/pillar/common.sls @@ -0,0 +1 @@ + diff --git a/pillar/top.sls b/pillar/top.sls new file mode 100644 index 0000000..768335f --- /dev/null +++ b/pillar/top.sls @@ -0,0 +1,3 @@ +production: + '*': + - common diff --git a/salt/profile/zypper.sls b/salt/profile/zypper.sls new file mode 100644 index 0000000..2ec3a17 --- /dev/null +++ b/salt/profile/zypper.sls @@ -0,0 +1,2 @@ +include: + - profile.zypper.config diff --git a/salt/profile/zypper/config.sls b/salt/profile/zypper/config.sls new file mode 100644 index 0000000..e671d9e --- /dev/null +++ b/salt/profile/zypper/config.sls @@ -0,0 +1,5 @@ +/etc/zypp/zypp.conf: + ini.options_present: + - sections: + main: + solver.onlyRequires: true diff --git a/salt/role/base.sls b/salt/role/base.sls new file mode 100644 index 0000000..6b11af2 --- /dev/null +++ b/salt/role/base.sls @@ -0,0 +1,2 @@ +include: + - profile.zypper diff --git a/salt/top.sls b/salt/top.sls new file mode 100644 index 0000000..b7676cb --- /dev/null +++ b/salt/top.sls @@ -0,0 +1,3 @@ +production: + '*': + - role.base