Commit Graph

6 Commits

Author SHA1 Message Date
Nate Riffe
09e9960e51 Change some resources names 2018-03-30 09:21:52 -05:00
Cedric DEFORTIS
a0b6e70c19 Fix lint warnings 2018-02-19 09:43:59 +01:00
Cédric Defortis
1ea5d96d6b Fix mv destination file path for /etc/bind
- Force Package[bind] to be installed before moving /etc/bind into the
  $chroot_dir

- Fix recursive permissions for /var/bind9/chroot/** directories (so
  that user bind can cross those directories if they belong to root)
2018-02-19 09:19:22 +01:00
Cédric Defortis
16f2f22c4b Use creates instead of unless in bind exec mkdir 2018-02-19 09:19:22 +01:00
Cedric DEFORTIS
5a098b6c2d Changed exec resources that create /dev/*
It now uses the `creates` attribute instead of `unless`
2018-02-19 09:19:22 +01:00
Cédric Defortis
44bb1b0e0e First draft of chroot implementation for Debian
- RHEL chroot code has been moved into a bind::chroot::package class

- Debian family (and probably other families) can use the
  `bind::chroot::manual` class to enable chroot for bind using the method
  described here: https://wiki.debian.org/Bind9#Bind_Chroot
2018-02-19 09:19:22 +01:00