# saltstack **Repository Path**: netkiller/saltstack ## Basic Information - **Project Name**: saltstack - **Description**: Salt Stack Configuration Management - **Primary Language**: Scheme - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2017-07-25 - **Last Updated**: 2020-12-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README saltstack ========= Install ------- git clone https://github.com/oscm/saltstack.git ln -s saltstack/salt /srv/salt ln -s saltstack/pillar /srv/pillar Demo ---- salt '*' state.sls httpd - - - Node ---- rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm yum install -y salt-minion chkconfig salt-minion on cp /etc/salt/minion{,.original} sed -i '12,12imaster: salt.example.org' /etc/salt/minion cat >> /etc/hosts <<'EOF' 192.168.2.1 salt.example.org EOF service salt-minion start grep HOSTNAME /etc/sysconfig/network Master ------ salt-key -a host.example.org salt 'localhost.localdomain' state.sls ntp salt 'localhost.localdomain' state.sls vim salt 'localhost.localdomain' state.sls rsync salt 'localhost.localdomain' state.sls nginx salt 'localhost.localdomain' state.sls php.cli salt 'localhost.localdomain' state.sls php.php-fpm