Skip to content
Snippets Groups Projects

Test->production

Merged Magnus Toneby requested to merge test into production
1 file
+ 13
1
Compare changes
  • Side-by-side
  • Inline
+ 22
7
# folioscripts
# ub_folio
## Documentation ideas
## encrypt configuration data
For more ideas about what to document here see the [pdk template
readme](https://github.com/puppetlabs/pdk-templates/blob/main/moduleroot_init/README.md.erb).
You need https://github.com/voxpupuli/hiera-eyaml
If you have ruby installed you can do 'gem install hiera-eyaml'
For how to do it:
https://puppet.com/docs/puppet/latest/puppet_strings.html
https://puppet.com/docs/puppet/latest/puppet_strings_style.html
In the 'encrypt' director is a small script to help you.
./encrypt/eyaml-encrypt.sh --stdin (ctrl-d once or twice to end the inputing)
./encrypt/eyaml-encrypt.sh --password (for encryption of singleline data)
paste the block output into a 'FQDN.yaml' in data/nodes/
##
utgå från .env i /opt/liu/foliofront/foliofront-node-root på någon maskin med foliofront
ändra datat och kryptera filen, och lägg in i data/nodes/*.yaml
add, commit and push
kolla att puppetmodulen gick igenom CI-kedjan
vänta ett tag
kör puppet på folioservices01.test.it.liu.se
se att ändringen skett i .env
Loading