InterviewSolution
| 1. |
How Will You Deploy A File To A Minion With The Accession Of Other Minions? |
|
Answer» Although SaltStack doesn’t support the access control, there are tricks by which you can possibly do so. With the help of Salt 2015.5.0, thefile_tree external pillar, you can proceed. The Salt 2015.5.0 VERSION gives the allowance to file contents to load as Pillar data. One of the examples has been mentioned below by which you can definitely deploy a file to a SPECIFIC MINION without the INTERRUPTION of other minions. Check out the command right below: /etc/my__super/secret_file:: file.managed:: – mode:: 600 – group:: SECRET – user:: secret – contents__pillar::secret__files::my__super__secret__file. Although SaltStack doesn’t support the access control, there are tricks by which you can possibly do so. With the help of Salt 2015.5.0, thefile_tree external pillar, you can proceed. The Salt 2015.5.0 version gives the allowance to file contents to load as Pillar data. One of the examples has been mentioned below by which you can definitely deploy a file to a specific minion without the interruption of other minions. Check out the command right below: /etc/my__super/secret_file:: file.managed:: – mode:: 600 – group:: secret – user:: secret – contents__pillar::secret__files::my__super__secret__file. |
|