Skip to content

Instantly share code, notes, and snippets.

@benmehlman
benmehlman / custom_views.py
Created July 12, 2021 21:19 — forked from slav0nic/custom_views.py
Django oscar authoprize.net backend
from django.db import transaction
from django.core.urlresolvers import reverse
from django.http import HttpResponseRedirect
from django.utils.translation import ugettext_lazy as _
from django.views.generic import DeleteView
from oscar.core.loading import get_model
from apps.oscar_authorize.facade import Facade
----------
ID: bareos-fd
Function: service.running
Result: False
Comment: The following requisites were not found:
watch:
file: /etc/bareos/bareos-fd.conf
Started:
Duration:
Changes:
apache2:
pkg.installed:
- sources:
# this has a dependency on nginx so nginx is installed here instead of apache2
- apache2: salt://bareos-server/apache2_99_all.deb
bareos-repo:
pkgrepo.managed:
- name: "deb http://download.bareos.org/bareos/release/latest/Debian_8.0/ /"
- file: /etc/apt/sources.list.d/bareos.list