summaryrefslogtreecommitdiff
path: root/spec/classes/openvpn_service_spec.rb
blob: f427e7f125dc2fa84307cc9b86b1893f8d5c82fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
require 'spec_helper'
 
describe 'openvpn::service', :type => :class do

  let (:facts) { { :concat_basedir => '/var/lib/puppet/concat' } }

  it { should create_class('openvpn::service') }
  it { should contain_service('openvpn').with(
    'ensure'  => 'running',
    'enable'  => true
  ) }

end