Hello Brian, Yum should solve dependencies (unless you tell it not to). So puppet is skipping dependencies on package updates?
On Tue, Jul 23, 2013 at 12:02 PM, Brian Mathis <[email protected] > wrote: > You are relying on the functionality of 'yum' to pull in the dependencies, > which is a shortcut, and this is the kind of problem such shortcuts bring. > > You should be making new puppet modules for each of the dependencies, and > have the zend package 'require' all of those modules. You can update the > versions in the dependency modules by using "ensure => latest". > > The "yum update" exec will work, but it would be missing the point of > Puppet and no different than managing systems with a shell script. > > > ❧ Brian Mathis > > > > On Tue, Jul 23, 2013 at 9:21 AM, cko <[email protected]> wrote: > >> hi, >> im trying to update the zend server package the following way: >> >> >> package { "zend-server-php-5.4-6.1.0: >> ensure => present, >> require => [Yumrepo["ZendRepo"],Yumrepo["Zend_noarch"]], >> notify => File["/etc/ld.so.conf.d/zend_server.conf"] >> } >> >> when i install a node from scratch, the latest version (*including *the >> latest depencencies) gets installed. >> >> when i apply this to an existing node (with an older version of zend >> server) *ONLY *the package ""zend-server-php-" gets updated. updates for >> the packages "mod-php-5.4-apache2-zend-server-*" and " php*-5.4.16" (the >> dependencies) are ignored. >> >> whats the best way to solve this? >> >> i was thinking about an "yum update php*" exec? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To post to this group, send email to [email protected]. >> Visit this group at http://groups.google.com/group/puppet-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> >> >> > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-users. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Marcelo "¿No será acaso que esta vida moderna está teniendo más de moderna que de vida?" (Mafalda) -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-users. For more options, visit https://groups.google.com/groups/opt_out.
