例如,我安装了 php-fpm:
Name : php-fpm
Arch : x86_64
Version : 5.4.16
Release : 23.el7_0.3
Size : 4.5 M
Repo : installed
From repo : updates
Summary : PHP FastCGI Process Manager
URL : http://www.php.net/
License : PHP and Zend and BSD
Run Code Online (Sandbox Code Playgroud)
目标是使 PHP 保持在最新的 5.4 版本上。目前我在清单中有这个:ensure => '5.4.16-23.el7_0.3',.
如果出现新版本或发行版,则不会更新,而我不希望它意外更新到 5.5。
我尝试了以下方法:
ensure => '5.4.16',ensure => '5.4',ensure => '5.4.16-*',ensure => '5.4.*',所有这些都给了我类似的东西:
change from 5.4.16-23.el7_0.3 to 5.4 failed: Could not update: Failed to update to version …
puppet ×1