Compare commits

..

3 commits

Author SHA1 Message Date
Micke Nordin b40beeb420 Install xmlstarlet 2023-11-22 11:04:20 +01:00
Micke Nordin 300e877b3a Make curl silent 2023-11-22 11:01:52 +01:00
Fredrik Kjellman 436ea4f1a5 update template for readability. SD-285 2023-11-10 12:40:00 +01:00
3 changed files with 17 additions and 4 deletions

View file

@ -80,6 +80,10 @@ class sunetdrive::script (
ensure => installed,
provider => apt,
}
package { 'xmlstarlet':
ensure => installed,
provider => apt,
}
$drive_version = '0.3.1'
if $facts['os']['distro']['id'] == 'Debian' {
$pip_cmd = 'pip3 install --break-system-packages'

View file

@ -1,5 +1,14 @@
Welcome to your personal space for research data storage!
Researchers and PhD-students at MDU have access to a free storage space of 200 GB. Your storage space is in the “Your storage space” folder that appears a few minutes after opening SUNET Drive for the first time.
The “Your storage space” folder has an ABG structure which means that there are folders for Arbetsmaterial (work material), Bevarande (retention) and Gallringsbart (disposable). It is possible to create subfolders within these main folders themselves.
All research data, except for military material and security-classified information, can be stored on SUNET Drive. If your data needs to undergo an export control, please refer to the check list on the internal portal.
Researchers and PhD-students at MDU have access to a free storage space of 200 GB.
Your storage space is in the “Your storage space” folder that appears a few minutes after opening SUNET Drive for the first time.
The “Your storage space” folder has an ABG structure which means that there are folders for Arbetsmaterial (work material), Bevarande (retention) and Gallringsbart (disposable).
It is possible to create subfolders within these main folders themselves.
All research data, except for military material and security-classified information, can be stored on SUNET Drive.
If your data needs to undergo an export control, please refer to the check list on the internal portal.
A user guide and a FAQ regarding SUNET Drive is available on the internal portal. If you have any questions, please contact dau@mdu.se

View file

@ -69,7 +69,7 @@ curl_cmd(){
fi
local admin_app_password="<%= @admin_app_password %>"
domain="$(hostname -d)"
curl -X "${method}" -u "admin:${admin_app_password}" "${payload[@]}" -H 'OCS-APIRequest: true' "https://${domain}/ocs/v2.php/apps/announcementcenter/api/v1/announcements${id}"
curl -s -X "${method}" -u "admin:${admin_app_password}" "${payload[@]}" -H 'OCS-APIRequest: true' "https://${domain}/ocs/v2.php/apps/announcementcenter/api/v1/announcements${id}"
}
curl_cmd "${method}" "${argument}"