Hello,
I am very new to puppet and just started with it. I am using opensource puppet and created the following manifest on puppet master.
node 'node1.example.com' {
package { 'vim':
ensure => installed,
}
}
After i run puppet agent on my node, i get the following error.
Error: Execution of '/usr/bin/yum -d 0 -e 0 -y list vim' returned 1: Error: No matching Packages to list
Error: /Stage[main]/Main/Node[node1.example.com]/Package[vim]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y list vim' returned 1: Error: No matching Packages to list
The strange thing is this happened with only vim, i tried installing nano by just replacing the name vim to nano in above and it worked just fine. So can anyone help me on troubleshooting and fixing the issue here. I have tried my bit could not get it resolve.
puppet --version
3.8.7
Both Puppet master and agent are running on centos 6.7.
↧