八.Puppet搭建lnmp (有问题)

1.nginx 过程

过程见第四部分

2.mysql过程(在安装的过程中还要注意空间的大小)

 

 

vim /etc/puppet/modules/mysql/files/mysql.sh

 

 

 

vim /etc/puppet/modules/mysql/manifests/install.pp

 

 

vim /etc/puppet/modules/mysql/manifests/config.pp

 

vim /etc/puppet/modules/mysql/manifests/service.pp

 

vim /etc/puppet/modules/mysql/manifests/init.pp

 

3.php过程

 

 

vim /etc/puppet/modules/php/files/php.sh

 

vim /etc/puppet/modules/php/manifests/install.pp

 

vim /etc/puppet/modules/php/manifests/config.pp

 

vim /etc/puppet/modules/php/manifests/service.pp

 

vim /etc/puppet/modules/php/manifests/init.pp

 

vim /etc/puppet/manifests/nodes/server2.pp