CentOS 6.5, Puppet Enterprise 3.1.1.
Given this declaration:
package { vim: ensure => present }
The following error is displayed:
Error: Could not find package vim
Error: /Stage[main]//Node[web.localtest.com]/Package[vim]/ensure: change
from absent to present failed: Could not find package vim
Nevertheless, vim has been installed.
How to fix it?
Note: There is no error when testig with htop.
Asked
Active
Viewed 325 times
2
terdon
- 52,568
- 14
- 124
- 170
Wojciech Winogrodzki
- 121
- 1
1 Answers
2
In Centos, I believe the package you're looking for is "vim-enhanced" ... not just "vim". It is very likely that the package was already installed before you ran the test.
TheCompWiz
- 10,602
- 1
- 23
- 21