summaryrefslogtreecommitdiff
path: root/services/debian.cf
diff options
context:
space:
mode:
Diffstat (limited to 'services/debian.cf')
-rw-r--r--services/debian.cf21
1 files changed, 6 insertions, 15 deletions
diff --git a/services/debian.cf b/services/debian.cf
index f05e6a0..8b250d3 100644
--- a/services/debian.cf
+++ b/services/debian.cf
@@ -1,8 +1,8 @@
-bundle agent debian
+bundle common distrib
{
vars:
debian::
- "wanted" slist => {
+ "packages" slist => {
"at",
"bridge-utils",
"curl",
@@ -19,8 +19,8 @@ bundle agent debian
"vim",
};
debian&!containers::
- "wanted" slist => {
- @(wanted),
+ "packages" slist => {
+ @(packages),
"ethtool",
"iptstate",
"ipvsadm",
@@ -33,8 +33,8 @@ bundle agent debian
"needrestart",
};
debian&console_julien::
- "wanted" slist => {
- @(wanted),
+ "packages" slist => {
+ @(packages),
"apt-file",
"asciidoc",
"build-essential",
@@ -48,13 +48,4 @@ bundle agent debian
"weechat",
"whois",
};
- packages:
- debian::
- "$(wanted)"
- policy => "present",
- package_module => apt_get,
- classes => if_repaired("debian_$(wanted)_add_repaired");
- reports:
- any::
- "$(this.bundle): $(wanted) installed" ifvarclass => "debian_$(wanted)_add_repaired";
}