|
Just did an upgrade of agent from 3 to 4, now the catalog fails on samba-common package.
The following samba packages are installed;
rpm -qa | grep samba
|
samba3x-common-3.6.23-9.el5_11
|
samba3x-winbind-3.6.23-9.el5_11
|
In the manifest we have; -> package { 'samba-common': ensure => absent, }
-> package { 'samba3x-common': ensure => present, }
->
|
Which now results in the following error;
|
err: Puppet: Execution of '/bin/rpm -e samba3x-common-3.6.23-9.el5_11.x86_64' returned 1: error: Failed dependencies: samba3x-common = 0:3.6.23-9.el5_11 is needed by (installed) samba3x-winbind-3.6.23-9.el5_11.x86_64 err: /Stage[main]/Common::Install/Package[samba-common]/ensure: change from 3.6.23-9.el5_11 to absent failed: Execution of '/bin/rpm -e samba3x-common-3.6.23-9.el5_11.x86_64' returned 1: error: Failed dependencies: samba3x-common = 0:3.6.23-9.el5_11 is needed by (installed) samba3x-winbind-3.6.23-9.el5_11.x86_64
|
Puppet detects samba3x-common as samba-common which is not correct.
|
samba-common
|
puppet resource package samba-common package { 'samba-common': ensure => '3.6.23-9.el5_11', }
rpm -q samba-common package samba-common is not installed
puppet resource package samba3x-common package { 'samba3x-common': ensure => '3.6.23-9.el5_11', }
rpm -q samba3x-common samba3x-common-3.6.23-9.el5_11
|