puppet-bind/spec/classes/chroot/manual_spec.rb
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

17 lines
467 B
Ruby

# ex: syntax=ruby ts=2 sw=2 si et
require 'spec_helper'
describe 'bind::chroot::manual' do
on_supported_os.each do |os, facts|
context "on #{os}" do
# Only applies to Debian Family for now:
next unless facts[:os]['family'] == 'Debian'
let (:facts) {facts}
context "with defaults parameters" do
it { is_expected.to compile.with_all_deps }
it { is_expected.to contain_class('bind::defaults') }
end
end
end
end