summaryrefslogtreecommitdiff
path: root/spec/defines/listen_spec.rb
diff options
context:
space:
mode:
authorHunter Haugen <h.haugen@gmail.com>2012-10-12 15:08:10 -0700
committerHunter Haugen <h.haugen@gmail.com>2012-10-12 15:08:10 -0700
commit57557202f5ccd16ccd276ce3997a3f8d370e8c60 (patch)
tree2a0bd3156b72e3c9f2aea3298d9def122b277ef1 /spec/defines/listen_spec.rb
parenta7498ce016087872488e60a2b80680a2096fbf68 (diff)
No need to manually set ordering
Diffstat (limited to 'spec/defines/listen_spec.rb')
-rw-r--r--spec/defines/listen_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/defines/listen_spec.rb b/spec/defines/listen_spec.rb
index 16a0cfa..fa54409 100644
--- a/spec/defines/listen_spec.rb
+++ b/spec/defines/listen_spec.rb
@@ -12,7 +12,7 @@ describe 'haproxy::listen' do
end
it { should contain_concat__fragment('croy_listen_block').with(
- 'order' => '20',
+ 'order' => '20-croy',
'target' => '/etc/haproxy/haproxy.cfg',
'content' => "\nlisten croy 1.1.1.1:18140\n balance roundrobin\n option tcplog\n option ssl-hello-chk\n"
) }
@@ -30,7 +30,7 @@ describe 'haproxy::listen' do
end
it { should contain_concat__fragment('apache_listen_block').with(
- 'order' => '20',
+ 'order' => '20-apache',
'target' => '/etc/haproxy/haproxy.cfg',
'content' => "\nlisten apache 23.23.23.23:80,23.23.23.23:443\n balance roundrobin\n option tcplog\n option ssl-hello-chk\n"
) }
@@ -45,7 +45,7 @@ describe 'haproxy::listen' do
end
it { should contain_concat__fragment('apache_listen_block').with(
- 'order' => '20',
+ 'order' => '20-apache',
'target' => '/etc/haproxy/haproxy.cfg',
'content' => "\nlisten apache 23.23.23.23:80,23.23.23.23:443\n balance roundrobin\n option tcplog\n option ssl-hello-chk\n"
) }