fix: install filemapper gem and deploy generate-types cronjob #71
@@ -35,6 +35,7 @@ spec:
|
|||||||
- -c
|
- -c
|
||||||
args:
|
args:
|
||||||
- |
|
- |
|
||||||
|
/opt/puppetlabs/puppet/bin/gem install filemapper toml
|
||||||
find /etc/puppetlabs/code/environments -mindepth 1 -maxdepth 1 -type d | while read -r envdir; do
|
find /etc/puppetlabs/code/environments -mindepth 1 -maxdepth 1 -type d | while read -r envdir; do
|
||||||
env="$(basename "$envdir")"
|
env="$(basename "$envdir")"
|
||||||
echo "Generating types for $env"
|
echo "Generating types for $env"
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ resources:
|
|||||||
- cnpg_cluster.yaml
|
- cnpg_cluster.yaml
|
||||||
- cnpg_pooler.yaml
|
- cnpg_pooler.yaml
|
||||||
- cronjob_g10k-code.yaml
|
- cronjob_g10k-code.yaml
|
||||||
|
- cronjob_generate-types.yaml
|
||||||
- persistentvolumeclaims.yaml
|
- persistentvolumeclaims.yaml
|
||||||
- vaultauth.yaml
|
- vaultauth.yaml
|
||||||
- vaultstaticsecret.yaml
|
- vaultstaticsecret.yaml
|
||||||
|
|||||||
@@ -3,4 +3,5 @@ set -e
|
|||||||
|
|
||||||
echo "Installing additional Ruby gems..."
|
echo "Installing additional Ruby gems..."
|
||||||
/opt/puppetlabs/puppet/bin/gem install toml
|
/opt/puppetlabs/puppet/bin/gem install toml
|
||||||
|
/opt/puppetlabs/puppet/bin/gem install filemapper
|
||||||
echo "Additional Ruby gems installed successfully"
|
echo "Additional Ruby gems installed successfully"
|
||||||
|
|||||||
Reference in New Issue
Block a user