Skip to content

lfzyx/hello-SaltStack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 

Repository files navigation

hello-SaltStack

My SaltStack states configure

include:

  • nginx
  • python
  • redis
  • nfs-server
  • nfs-client
  • tomcat
  • ...

Before apply nfs-server or nfs-client , you should perform the following steps

  1. Add the following to the pillar file
> mine_functions:
>   network.ip_addrs:
>     - eth0
  1. Signal the minion to refresh the pillar data: salt '*' saltutil.refresh_pillar
  2. Verify the pillar data: salt '*' pillar.get mine_functions
  3. Execute the configured functions and send the data back up to the master: salt '*' mine.update
  4. Verify data from the mine: salt-run mine.get '*' network.ip_addrs

Releases

No releases published

Packages

No packages published