Commit fc9cf18e authored by Victor Penso's avatar Victor Penso
Browse files

show fs capacity when publishing

parent 1067ed78
......@@ -29,6 +29,7 @@ if [ "$#" -eq "2" ]; then
ssh -qt $repo_name 'sudo cvmfs_server publish'
# SSH terminal allocation is needed to allow the command
# a user switch (su)
ssh -qt $repo_name "df -h /cvmfs/$repo_name"
;;
resign)
ssh -qt $repo_name 'sudo cvmfs_server resign'
......
......@@ -21,6 +21,10 @@ include_recipe 'apache2'
include_recipe 'apache2::mod_rewrite'
include_recipe 'apache2::mod_expires'
apache_site "000-default" do
enable false
end
# Initialize the repositories unless they exist
node.cvmfs.server.repos.each do |repo|
execute "cvmfs_server mkfs -o root #{repo}" do
......
Markdown is supported
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