Foundation packages
diff --git a/gerrit/server/single.yml b/gerrit/server/single.yml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/gerrit/server/single.yml
diff --git a/nginx/server/proxy/cicd/jenkins.yml b/nginx/server/proxy/cicd/jenkins.yml
new file mode 100644
index 0000000..975cc4d
--- /dev/null
+++ b/nginx/server/proxy/cicd/jenkins.yml
@@ -0,0 +1,18 @@
+parameters:
+ nginx:
+ server:
+ enabled: true
+ site:
+ nginx_proxy_jenkins:
+ enabled: true
+ type: nginx_proxy
+ name: jenkins
+ proxy:
+ host: ${_param:foundation_intergration_address}
+ port: 8080
+ protocol: http
+ host:
+ name: ${_param:cluster_public_host}
+ port: 8095
+ protocol: https
+ ssl: ${_param:nginx_proxy_ssl}
diff --git a/nginx/server/proxy/foundation/sphinx.yml b/nginx/server/proxy/foundation/sphinx.yml
new file mode 100644
index 0000000..5f733ac
--- /dev/null
+++ b/nginx/server/proxy/foundation/sphinx.yml
@@ -0,0 +1,18 @@
+parameters:
+ nginx:
+ server:
+ enabled: true
+ site:
+ nginx_proxy_sphinx:
+ enabled: true
+ type: nginx_proxy
+ name: sphinx
+ proxy:
+ host: prx
+ port: 8090
+ protocol: http
+ host:
+ name: ${_param:cluster_public_host}
+ port: 8088
+ protocol: https
+ ssl: ${_param:nginx_proxy_ssl}
diff --git a/salt/master/formula/git/aptly.yml b/salt/master/formula/git/aptly.yml
deleted file mode 100644
index ee3133f..0000000
--- a/salt/master/formula/git/aptly.yml
+++ /dev/null
@@ -1,10 +0,0 @@
-parameters:
- salt:
- master:
- environment:
- dev:
- formula:
- aptly:
- source: git
- address: '${_param:salt_master_environment_repository}/salt-formula-aptly.git'
- revision: ${_param:salt_master_environment_revision}
diff --git a/salt/master/formula/git/foundation.yml b/salt/master/formula/git/foundation.yml
new file mode 100644
index 0000000..2f9f635
--- /dev/null
+++ b/salt/master/formula/git/foundation.yml
@@ -0,0 +1,31 @@
+parameters:
+ salt:
+ master:
+ environment:
+ dev:
+ formula:
+ aptly:
+ source: git
+ address: '${_param:salt_master_environment_repository}/salt-formula-aptly.git'
+ revision: ${_param:salt_master_environment_revision}
+ bind:
+ source: git
+ address: '${_param:salt_master_environment_repository}/salt-formula-bind.git'
+ revision: ${_param:salt_master_environment_revision}
+ gerrit:
+ module:
+ gerrit.py:
+ enabled: true
+ state:
+ gerrit.py:
+ enabled: true
+ source: git
+ address: '${_param:salt_master_environment_repository}/salt-formula-gerrit.git'
+ revision: ${_param:salt_master_environment_revision}
+ jenkins:
+ module:
+ jenkins_hash.py:
+ enabled: true
+ source: git
+ address: '${_param:salt_master_environment_repository}/salt-formula-jenkins.git'
+ revision: ${_param:salt_master_environment_revision}
diff --git a/salt/master/formula/pkg/aptly.yml b/salt/master/formula/pkg/aptly.yml
deleted file mode 100644
index 2bcaf52..0000000
--- a/salt/master/formula/pkg/aptly.yml
+++ /dev/null
@@ -1,9 +0,0 @@
-parameters:
- salt:
- master:
- environment:
- prd:
- formula:
- aptly:
- source: pkg
- name: salt-formula-aptly
diff --git a/salt/master/formula/pkg/foundation.yml b/salt/master/formula/pkg/foundation.yml
new file mode 100644
index 0000000..4b2b669
--- /dev/null
+++ b/salt/master/formula/pkg/foundation.yml
@@ -0,0 +1,18 @@
+parameters:
+ salt:
+ master:
+ environment:
+ prd:
+ formula:
+ aptly:
+ source: pkg
+ name: salt-formula-aptly
+ bind:
+ source: pkg
+ name: salt-formula-bind
+ gerrit:
+ source: pkg
+ name: salt-formula-gerrit
+ jenkins:
+ source: pkg
+ name: salt-formula-jenkins