diff options
author | mh <mh@immerda.ch> | 2013-01-02 13:54:57 +0100 |
---|---|---|
committer | mh <mh@immerda.ch> | 2013-01-02 13:54:57 +0100 |
commit | 225adb9f30bff4064e3a166498f147bfd9a9f6eb (patch) | |
tree | 6836f4ddde3ea63be929048896ef6afd5568defc /manifests/polipo | |
parent | 3fb09572cbbef20a72feb3e3a50711ba7eba1cea (diff) | |
download | puppet-tor-225adb9f30bff4064e3a166498f147bfd9a9f6eb.tar.gz puppet-tor-225adb9f30bff4064e3a166498f147bfd9a9f6eb.tar.bz2 |
refactor daemon and main class for better design
By extracting the resources to their own class we can avoid a bug
in puppet that makes it hard to deal with inherited parametrized
classes.
Diffstat (limited to 'manifests/polipo')
-rw-r--r-- | manifests/polipo/base.pp | 1 | ||||
-rw-r--r-- | manifests/polipo/debian.pp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/manifests/polipo/base.pp b/manifests/polipo/base.pp index f988e55..df2d6ea 100644 --- a/manifests/polipo/base.pp +++ b/manifests/polipo/base.pp @@ -1,3 +1,4 @@ +# manage polipo resources class tor::polipo::base { package{'polipo': ensure => present, diff --git a/manifests/polipo/debian.pp b/manifests/polipo/debian.pp index db29fe6..e39f603 100644 --- a/manifests/polipo/debian.pp +++ b/manifests/polipo/debian.pp @@ -1,3 +1,4 @@ +# manage polipo on debian class tor::polipo::debian inherits tor::polipo::base { # TODO: restore file to original state after the following bug is solved: # http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=580434 |