Salt formula preinstall on salt master
Preinstall salt-fomula-logrotate on salt-master from git and pkg
sources. Becouse this class included in reclass-linux-formula
Change-Id: Idb02bf2313a130bb610167f958cded33c7bf041b
Related-Prod: PROD-19346
diff --git a/salt/master/formula/git/logrotate.yml b/salt/master/formula/git/logrotate.yml
new file mode 100644
index 0000000..6fcf681
--- /dev/null
+++ b/salt/master/formula/git/logrotate.yml
@@ -0,0 +1,10 @@
+parameters:
+ salt:
+ master:
+ environment:
+ dev:
+ formula:
+ logrotate:
+ source: git
+ address: '${_param:salt_master_environment_repository}/salt-formula-logrotate.git'
+ revision: ${_param:salt_master_environment_revision}
diff --git a/salt/master/formula/git/saltstack.yml b/salt/master/formula/git/saltstack.yml
index fde03ef..d7dde48 100644
--- a/salt/master/formula/git/saltstack.yml
+++ b/salt/master/formula/git/saltstack.yml
@@ -1,3 +1,5 @@
+classes:
+- system.salt.master.formula.git.logrotate
parameters:
salt:
master:
diff --git a/salt/master/formula/pkg/logrotate.yml b/salt/master/formula/pkg/logrotate.yml
new file mode 100644
index 0000000..0cfa0e6
--- /dev/null
+++ b/salt/master/formula/pkg/logrotate.yml
@@ -0,0 +1,9 @@
+parameters:
+ salt:
+ master:
+ environment:
+ prd:
+ formula:
+ logrotate:
+ source: pkg
+ name: salt-formula-logrotate
diff --git a/salt/master/formula/pkg/saltstack.yml b/salt/master/formula/pkg/saltstack.yml
index a62a272..963580c 100644
--- a/salt/master/formula/pkg/saltstack.yml
+++ b/salt/master/formula/pkg/saltstack.yml
@@ -1,3 +1,5 @@
+classes:
+- system.salt.master.formula.pkg.logrotate
parameters:
salt:
master: