Commit 86fa7950 authored by Victor Penso's avatar Victor Penso
Browse files

Fix OS version identification problem in default recipie

parent 4fb47264
...@@ -16,11 +16,19 @@ ...@@ -16,11 +16,19 @@
# limitations under the License. # limitations under the License.
# Install from source if a specific version is defined # Install from source if a specific version is defined
if ! node.cvmfs.version.empty? if not node.cvmfs.version.empty?
include_recipe 'cernvm-fs::install' include_recipe 'cernvm-fs::install'
# Otherwise it is assumed a package can be installed
elsif ! node.debian.codename.eql?("jessie") # Otherwise it is assumed a package can be installed
package 'cvmfs' else
case node.platform_version
when /^7/
package 'cvmfs'
else
log "Platfrom version #{node.platform_version} not supported!" do
level :warn
end
end
end end
# Deploy files to the /etc/cvmfs/keys directory # Deploy files to the /etc/cvmfs/keys directory
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment