Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CHEF
cookbooks
cernvm-fs
Commits
c0a34ccc
Commit
c0a34ccc
authored
Mar 26, 2015
by
b.neuburger
Browse files
added sudo statements to cvmfs-remote; without them it doesn't work
parent
771edb26
Changes
2
Hide whitespace changes
Inline
Side-by-side
files/default/cvmfs-remote
View file @
c0a34ccc
...
...
@@ -23,11 +23,11 @@ if [ "$#" -eq "2" ]; then
# Resign repository to make sure transaction works!
ssh
-qt
$repo_name
'cvmfs_server resign'
ssh
-qt
$repo_name
'
sudo
cvmfs_server resign'
# Prepare repository for update
ssh
-qt
$repo_name
'cvmfs_server transaction $repo_name'
ssh
-qt
$repo_name
'
sudo
cvmfs_server transaction $repo_name'
# sync local data to the corresponding CVMFS server
# -v, --verbose increase verbosity
...
...
@@ -41,7 +41,7 @@ if [ "$#" -eq "2" ]; then
# Run publish on the CVMFS server as root, this needs to be
# allowed by sudo on the target machine!
ssh
-qt
$repo_name
'cvmfs_server publish'
ssh
-qt
$repo_name
'
sudo
cvmfs_server publish'
# Show repository revisions
ssh
-qt
$repo_name
"cvmfs_server lstags
$repo_name
| cut -d'|' -f3,4"
...
...
metadata.rb
View file @
c0a34ccc
...
...
@@ -4,7 +4,7 @@ maintainer_email "hpc@gsi.de"
license
"Apache 2.0"
description
"Deploya and configure CernVM-FS clients and servers."
long_description
IO
.
read
(
File
.
join
(
File
.
dirname
(
__FILE__
),
'README.md'
))
version
"0.0.
8
"
version
"0.0.
9
"
depends
"sys"
depends
"apache2"
,
"~> 1.8"
supports
"debian"
,
">= 7.0"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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