Chef Cookbook for a Plesk Server Install - DevOps
I need a Chef Cookbook ([login to view URL]) for a Plesk server install.
I have a document with all commands I have to run in order to install and configure this server (I'll send it latter).
I just need all these commands implemented as a Chef Cookbook.
I'll provide access to a Linux server, that should be completely configured using only the Cookbook.
I'll reset this VM to a previous snapshot if needed, so we will be able to fine tune the Cookbook until the job is done.
The Cookbook should not be published or made available to anyone except me.
Cookbook tasks summary:
Install Plesk
- Download, install, config
Tuning linux
- Run several small commands
RPM pack
- Download/install php-sqlite2
Upgrade
- yum update
- mysql_upgrade
Install other packages
- via YUM
PHP
- Install packs
- pecl install imagik
- INI files config
- PHP session dir
AV
- Install packs
- Edit conf files
- qmail-scanner-reconfigure
- Edit SA [login to view URL] file
Bind setup
- Edit [login to view URL]
SpamDyke setup
- Download, configure, make
- Edit conf
[login to view URL]
- sed to adjust parameters
[login to view URL]
- Add parameters
[login to view URL]
- sed to adjust parameters
- Add some parameters
[login to view URL]
- Edit conf files
isoqlog, rsync, rdiff-backup, qmHandle, htop, SquirrelMail
- Download, config, install
scripts
- Create scripts dir
- Download scripts
Cron
- crontab
MySQL Users
- create some users
Daylight savings
- configure for Brazil
Zabbix
- Install agent
- Edit conf
Plesk configuration
- Several command line to configure