Compare commits

..

No commits in common. "a150d23f1a0141ecf2297b92fcb04bdb883223d3" and "8cf9f0eafa14c3508a16459960b069820dc2589d" have entirely different histories.

2 changed files with 1 additions and 5 deletions

View file

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

View file

@ -69,7 +69,7 @@ curl_cmd(){
fi fi
local admin_app_password="<%= @admin_app_password %>" local admin_app_password="<%= @admin_app_password %>"
domain="$(hostname -d)" domain="$(hostname -d)"
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 -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}" curl_cmd "${method}" "${argument}"