Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Cookbook to Resource-Based (#350)
* Custom resources, library helpers, passing source tests * Add missing resources back to test cookbook Signed-off-by: Lance Albertson <[email protected]> * Various fixes and refactoring Signed-off-by: Lance Albertson <[email protected]> * Fixing errors, trying to make community work * Amazon Linux + Centos kinda working * Trying to fix debian * Update metadata.rb * Update metadata.rb * Update metadata.rb * Update community.rb * Update install.rb * Update community.rb * Update install.rb * Update metadata.rb * Update community.rb * Update community.rb * Update community.rb * Update community.rb * Update ci.yml * Update metadata.rb * Update community.rb * Update community.rb * Update community.rb * Update community.rb * Update community.rb * Update community.rb * Update community.rb * Update community.rb * Update community.rb * Update community.rb * Update community.rb * Fix amazonlinux version number * Uncomment idempotency lines Signed-off-by: ArtofBugs <[email protected]> * Revert "Fix amazonlinux version number" This reverts commit 8bc17c1. * Uncomment source install code Signed-off-by: ArtofBugs <[email protected]> * Update properties Signed-off-by: ArtofBugs <[email protected]> * Fix cookstyle Signed-off-by: ArtofBugs <[email protected]> * Rename config.rb to ini.rb Signed-off-by: ArtofBugs <[email protected]> * Update default recipe and remove unnecessary helpers Signed-off-by: ArtofBugs <[email protected]> * Comment out source install since @ramereth wants to remove it Signed-off-by: ArtofBugs <[email protected]> * Fix ini resource name and remove default action Signed-off-by: ArtofBugs <[email protected]> * Clean up unnecessary code Signed-off-by: ArtofBugs <[email protected]> * Fix helpers that depend on install_method Signed-off-by: ArtofBugs <[email protected]> * Remove `new_resource.` from beginning in properties Signed-off-by: ArtofBugs <[email protected]> * Remove options for source install Signed-off-by: ArtofBugs <[email protected]> * Fix php_conf_dir being pulled from property instead of helper Signed-off-by: ArtofBugs <[email protected]> * Revert order between apt update and php installation Signed-off-by: ArtofBugs <[email protected]> * Fix nested package resources Signed-off-by: ArtofBugs <[email protected]> * Fix php_ext_dir substitution in templates Signed-off-by: ArtofBugs <[email protected]> * Fix cookstyle Signed-off-by: ArtofBugs <[email protected]> * Remove source from run lists Signed-off-by: ArtofBugs <[email protected]> * Remove source-install suite from jobs Signed-off-by: ArtofBugs <[email protected]> * Fix default package installation being inside community conditional Signed-off-by: ArtofBugs <[email protected]> * Fix cookstyle Signed-off-by: ArtofBugs <[email protected]> * Move community and source install content out of php_install resource Signed-off-by: ArtofBugs <[email protected]> * Edit properties for customization for community installs Signed-off-by: ArtofBugs <[email protected]> * Fix conditionals for cookstyle Signed-off-by: ArtofBugs <[email protected]> * Fix missing assignment operators Signed-off-by: ArtofBugs <[email protected]> * Pin php package version for amazon Signed-off-by: ArtofBugs <[email protected]> * Fix name clash Signed-off-by: ArtofBugs <[email protected]> * Fix missing fpm_service property Signed-off-by: ArtofBugs <[email protected]> * Test and fix fpm_ini_control from #241 Signed-off-by: ArtofBugs <[email protected]> * Move fpm ini management to fpm_pool Signed-off-by: ArtofBugs <[email protected]> * Fix fpm_conf_dir location on RHEL; minor new properties for fpm_pool resource Signed-off-by: ArtofBugs <[email protected]> * Skip Ubuntu 18.04 when installing from community repo Signed-off-by: ArtofBugs <[email protected]> * Fix amazonlinux remi installation Signed-off-by: ArtofBugs <[email protected]> * Exclude ubuntu-18.04 from community run Signed-off-by: ArtofBugs <[email protected]> * Skip Amazon Linux for community install Signed-off-by: ArtofBugs <[email protected]> * Remove already-symlinked pear binary location Signed-off-by: ArtofBugs <[email protected]> * Rename config_spec.rb to ini_spec.rb Signed-off-by: ArtofBugs <[email protected]> * Add :remove action to php_ini Signed-off-by: ArtofBugs <[email protected]> * Move depends from main metadata.rb to test metadata.rb Signed-off-by: ArtofBugs <[email protected]> * Remove default recipe Signed-off-by: ArtofBugs <[email protected]> * Update documentation Signed-off-by: ArtofBugs <[email protected]> * Disable md-link check on README temporarily; rename master branch to main branch in all links Signed-off-by: ArtofBugs <[email protected]> * Remove all source install Signed-off-by: ArtofBugs <[email protected]> * Pin Amazon package versions Signed-off-by: ArtofBugs <[email protected]> * Remove duplicated comment Signed-off-by: ArtofBugs <[email protected]> * Change root_group to just "root" Signed-off-by: ArtofBugs <[email protected]> * Remove unnecessary helpers code for ext_dir Signed-off-by: ArtofBugs <[email protected]> * Change documentation links to be relative Signed-off-by: ArtofBugs <[email protected]> * Remove Dangerfile Signed-off-by: ArtofBugs <[email protected]> * Use php_version helper instead of case statements in helpers; change php_version to use major-minor only Signed-off-by: ArtofBugs <[email protected]> * Update spec tests Signed-off-by: ArtofBugs <[email protected]> * Pin amazon php version to 8.2 Signed-off-by: ArtofBugs <[email protected]> Signed-off-by: ArtofBugs <[email protected]> * Include helpers in recipes and resources by default Signed-off-by: ArtofBugs <[email protected]> * Add UPGRADING.md Signed-off-by: ArtofBugs <[email protected]> * Add clarifications Signed-off-by: ArtofBugs <[email protected]> * Add attributes conversion table Signed-off-by: ArtofBugs <[email protected]> * Update CHANGELOG Signed-off-by: ArtofBugs <[email protected]> * Remove dead ticket links Signed-off-by: ArtofBugs <[email protected]> * Remove unnecessary helpers Signed-off-by: ArtofBugs <[email protected]> * Add note about version helper format change to major-minor only Signed-off-by: ArtofBugs <[email protected]> * Fix php-xml version from package manager being ahead on ubuntu/debian Signed-off-by: ArtofBugs <[email protected]> * Fix extension location not being found and added to ini Signed-off-by: ArtofBugs <[email protected]> * Get most recent stable version by querying the PEAR REST API since the search command ignores preferred state Signed-off-by: ArtofBugs <[email protected]> * Fix adding channel name to url Signed-off-by: ArtofBugs <[email protected]> * Fix missing trailing pipe in md table Signed-off-by: ArtofBugs <[email protected]> * Search for pear preferred state instead of hardcoding stable Signed-off-by: ArtofBugs <[email protected]> * Update to match kitchen.global.yml supported platforms Signed-off-by: ArtofBugs <[email protected]> * Update versions helper Signed-off-by: ArtofBugs <[email protected]> * Update Changelog Signed-off-by: ArtofBugs <[email protected]> --------- Signed-off-by: Lance Albertson <[email protected]> Signed-off-by: ArtofBugs <[email protected]> Signed-off-by: ArtofBugs <[email protected]> Signed-off-by: ArtofBugs <[email protected]> Co-authored-by: Abi <[email protected]> Co-authored-by: Lance Albertson <[email protected]> Co-authored-by: ArtofBugs <[email protected]>
- Loading branch information