postfix_satellite_spec.rb 392 Bytes
Newer Older
1
2
3
require 'spec_helper'

describe 'postfix::satellite' do
4
  let (:node) { 'foo.example.com' }
5
  let (:facts) { {
6
7
    :osfamily                        => 'Debian',
    :needs_postfix_class_with_params => true,
8
  } }
Mickaël Canévet's avatar
Mickaël Canévet committed
9
  it { should contain_class('postfix::mta') }
10
11
12
13
14
  it { should contain_postfix__virtual('@foo.example.com').with(
    :ensure      => 'present',
    :destination => 'root'
  ) }
end