Skip to content

Commit

Permalink
Merge pull request #108 from jearls/redhat-does-not-need-dnssec-tools
Browse files Browse the repository at this point in the history
Remove dnssec-tools from RedHat package list.
  • Loading branch information
solarkennedy committed May 6, 2015
2 parents 94e1841 + e8c3850 commit 186032c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
9 changes: 1 addition & 8 deletions manifests/server/params.pp
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,7 @@
$owner = 'named'
$package = 'bind'
$service = 'named'
case $::operatingsystemmajrelease {
'7': {
$necessary_packages = [ 'bind', ]
}
default: {
$necessary_packages = [ 'bind', 'dnssec-tools' ]
}
}
$necessary_packages = [ 'bind', ]
}
default: {
fail("dns::server is incompatible with this osfamily: ${::osfamily}")
Expand Down
6 changes: 6 additions & 0 deletions spec/classes/dns__server__install_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,11 @@
end
end

context "on a RedHat OS" do
let(:facts) {{ :osfamily => 'RedHat' }}
it { should contain_class('dns::server::params') }
it { should contain_package('bind') }
end

end

0 comments on commit 186032c

Please sign in to comment.