Skip to content
Snippets Groups Projects
Commit 40e24512 authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

Fake the path fact for the archive module

parent 8715c47d
No related branches found
No related tags found
No related merge requests found
......@@ -7,6 +7,7 @@ describe 'postfix::augeas' do
:operatingsystem => 'Debian',
:osfamily => 'Debian',
:rubyversion => '1.9.3',
:path => '/foo/bar',
} }
let :pre_condition do
"include ::augeas"
......
......@@ -7,6 +7,7 @@ describe 'postfix::satellite' do
:lsbdistcodename => 'wheezy',
:osfamily => 'Debian',
:rubyversion => '1.9.3',
:path => '/foo/bar',
} }
let :pre_condition do
" class { 'augeas': }
......
......@@ -8,6 +8,7 @@ describe 'postfix' do
:operatingsystem => 'Debian',
:osfamily => 'Debian',
:fqdn => 'fqdn.example.com',
:path => '/foo/bar',
} }
it { should contain_package('postfix') }
......@@ -40,6 +41,7 @@ describe 'postfix' do
:operatingsystem => 'RedHat',
:osfamily => 'RedHat',
:fqdn => 'fqdn.example.com',
:path => '/foo/bar',
} }
it { should contain_package('postfix') }
......@@ -78,6 +80,7 @@ describe 'postfix' do
:operatingsystem => 'Debian',
:osfamily => 'Debian',
:fqdn => 'fqdn.example.com',
:path => '/foo/bar',
} }
let (:params) { {
......@@ -148,6 +151,7 @@ describe 'postfix' do
:osfamily => 'Debian',
:rubyversion => '1.9.7',
:fqdn => 'fqdn.example.com',
:path => '/foo/bar',
} }
context 'when specifying inet_interfaces' do
let (:params) { {
......
......@@ -6,6 +6,7 @@ describe 'postfix::transport' do
:augeasversion => '1.2.0',
:osfamily => 'Debian',
:rubyversion => '1.9.3',
:path => '/foo/bar',
} }
let :pre_condition do
"class { 'augeas': }"
......
......@@ -6,6 +6,7 @@ describe 'postfix::virtual' do
:augeasversion => '1.2.0',
:osfamily => 'Debian',
:rubyversion => '1.9.3',
:path => '/foo/bar',
} }
let :pre_condition do
"class { 'augeas': }"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment