- From: Ivan Suftin <
>
- To: <
>
- Subject: [chef] Re: CentOS specific version of kernel-devel install question
- Date: Mon, 16 Mar 2015 14:35:02 -0500
Thanks, Brandon. That works ;)
__________________________ (╯°□°)╯︵ ┻━┻ Ivan Suftin - Applications Developer -
" class="">
Office: (608) 821-3825 - Cell : (608) 345-8963 Center for Integrated Data Analytics - http://cida.usgs.gov/ United States Geological Survey 8505 Research Way, Middleton, WI 53562
On Mar 16, 2015, at 11:24 AM, Brandon Raabe <
" class="">
> wrote:
You can use the following to remove the arch from the string:
ver = '2.6.32-504.el6.x86_64'
=> "2.6.32-504.el6.x86_64"
ver.sub(".#{node['arch']}", '')
=> "2.6.32-504.el6"
|
Archive powered by MHonArc 2.6.16.