Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Puppet Camptocamp Postfix
Commits
40e24512
Commit
40e24512
authored
Nov 12, 2014
by
Raphaël Pinson
Browse files
Fake the path fact for the archive module
parent
8715c47d
Changes
5
Hide whitespace changes
Inline
Side-by-side
spec/classes/postfix_augeas_spec.rb
View file @
40e24512
...
...
@@ -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"
...
...
spec/classes/postfix_satellite_spec.rb
View file @
40e24512
...
...
@@ -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': }
...
...
spec/classes/postfix_spec.rb
View file @
40e24512
...
...
@@ -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
)
{
{
...
...
spec/defines/postfix_transport_spec.rb
View file @
40e24512
...
...
@@ -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': }"
...
...
spec/defines/postfix_virtual_spec.rb
View file @
40e24512
...
...
@@ -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': }"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment