Skip to content

Commit

Permalink
make services depend on pkg_*
Browse files Browse the repository at this point in the history
  • Loading branch information
trehn committed Jan 9, 2015
1 parent f08c9cc commit bedc1e9
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
7 changes: 6 additions & 1 deletion src/bundlewrap/items/svc_systemd.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ class SvcSystemd(Item):
'running': True,
}
ITEM_TYPE_NAME = "svc_systemd"
NEEDS_STATIC = ["pkg_apt:", "pkg_pacman:"]
NEEDS_STATIC = [
"pkg_apt:",
"pkg_pacman:",
"pkg_yum:",
"pkg_zypper:",
]

def __repr__(self):
return "<SvcSystemd name:{} running:{}>".format(
Expand Down
7 changes: 6 additions & 1 deletion src/bundlewrap/items/svc_systemv.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,12 @@ class SvcSystemV(Item):
'running': True,
}
ITEM_TYPE_NAME = "svc_systemv"
NEEDS_STATIC = ["pkg_apt:", "pkg_pacman:"]
NEEDS_STATIC = [
"pkg_apt:",
"pkg_pacman:",
"pkg_yum:",
"pkg_zypper:",
]

def __repr__(self):
return "<SvcSystemV name:{} running:{}>".format(
Expand Down
7 changes: 6 additions & 1 deletion src/bundlewrap/items/svc_upstart.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,12 @@ class SvcUpstart(Item):
'running': True,
}
ITEM_TYPE_NAME = "svc_upstart"
NEEDS_STATIC = ["pkg_apt:", "pkg_pacman:"]
NEEDS_STATIC = [
"pkg_apt:",
"pkg_pacman:",
"pkg_yum:",
"pkg_zypper:",
]

def __repr__(self):
return "<SvcUpstart name:{} running:{}>".format(
Expand Down

0 comments on commit bedc1e9

Please sign in to comment.