Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
cernvm-fs
Commits
531bdc22
Commit
531bdc22
authored
Apr 16, 2013
by
Victor Penso
Committed by
Victor Penso
Apr 16, 2013
Browse files
minor fixes
parent
08b13461
Changes
3
Hide whitespace changes
Inline
Side-by-side
files/default/cvmfs-install
View file @
531bdc22
...
...
@@ -114,7 +114,7 @@ build_directory=/usr/local/src
mkdir
-p
$build_directory
2>/dev/null
# source code archive
source_file
=
$build_directory
/cvmfs_
$version
.tar.gz
source_file
=
$build_directory
/cvmfs_
$version
.
orig.
tar.gz
# get the source code
if
[
!
-f
$source_file
]
;
then
_debug
"Download CVMFS
$version
to
$build_directory
"
...
...
recipes/default.rb
View file @
531bdc22
...
...
@@ -18,7 +18,7 @@
#
# Install from source if a specific version is defined
include_recipe
'cvmfs::install'
unless
node
.
cvmfs
.
version
.
empty?
include_recipe
'cvmfs::install'
if
node
.
cvmfs
.
server
.
repos
.
empty?
include_recipe
'cvmfs::client'
...
...
recipes/install.rb
View file @
531bdc22
...
...
@@ -17,14 +17,17 @@
# limitations under the License.
#
unless
::
File
.
exists?
'/etc/cvmfs/default.conf'
cookbook_file
'/usr/local/src/cvmfs-install'
do
source
'cvmfs-install'
mode
'0755'
unless
node
.
cvmfs
.
version
.
empty?
unless
::
File
.
exists?
'/etc/cvmfs/default.conf'
cookbook_file
'/usr/local/src/cvmfs-install'
do
source
'cvmfs-install'
mode
'0755'
end
# This is a self-contained shell script installing
# CVMFS from a source code tar ball downloaded
# from the developers web-site.
execute
"/usr/local/src/cvmfs-install
#{
node
.
cvmfs
.
version
}
"
end
# This is a self-contained shell script installing
# CVMFS from a source code tar ball downloaded
# from the developers web-site.
execute
"/usr/local/src/cvmfs-install
#{
node
.
cvmfs
.
version
}
"
end
end
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment