On Monday, September 16, 2013 10:40:43 AM UTC-5, Yan Xiaofei wrote:
>
>  Hello John
>
> Thanks very much! I am a new user of puppet.
>
> If I have lot of machines that install different version of kernel. I want 
> them install the same version.
> Do I need specify delete all other version of kernel?
>


That's to some extent a question of your specific OS distribution.  
Supposing that your distro supports multiple kernel packages simultaneously 
installed (e.g. RedHat-family distros), you probably don't need to delete 
other versions to *install* the target version.  But that's not the whole 
picture.  Supposing that you care not only about what kernel version is 
installed, but also about what version your systems actually use, you need 
also to worry about which kernel your systems boot by default, and you must 
reboot into the target kernel (after ensuring it installed) if the system 
is not already running it.  And it is not safe to attempt to remove the 
running kernel -- at best, the package manager refuses to do it, but the 
alternatives get worse from there.

Puppet can be made to manage all of that, but it will be complicated, as a 
reflection of the fact that the problem is complicated.

 

>
> Another question : I didn't find where to set the arch of package from 
> resource type.
>
>

This is a longstanding weakness of Puppet.  Package architecture is a 
concept specific to a subset of package management systems, and Puppet does 
not explicitly account for it.  One possible approach to the issue is to 
ensure that the package repositories configured on each client contain only 
packages for the appropriate architecture.  If you are managing multilib 
systems, then you might look for a package manager option, such as is 
available in yum, to manage x86 and x86_64 packages together when both are 
available.


John

-- 
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.

Reply via email to