Skip to content

Commit

Permalink
(maint) Make unit tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
hunner committed Jun 22, 2017
1 parent b5d8713 commit 88c8642
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
10 changes: 4 additions & 6 deletions manifests/config.pp
Original file line number Diff line number Diff line change
Expand Up @@ -139,15 +139,14 @@
group => '0',
mode => '0755',
selinux_ignore_defaults => true,
} ->
file { '/etc/systemd/system/rabbitmq-server.service.d/limits.conf':
}
-> file { '/etc/systemd/system/rabbitmq-server.service.d/limits.conf':
content => template('rabbitmq/rabbitmq-server.service.d/limits.conf'),
owner => '0',
group => '0',
mode => '0644',
notify => Exec['rabbitmq-systemd-reload'],
}
exec { 'rabbitmq-systemd-reload':
~> exec { 'rabbitmq-systemd-reload':
command => '/bin/systemctl daemon-reload',
notify => Class['Rabbitmq::Service'],
refreshonly => true,
Expand Down Expand Up @@ -176,9 +175,8 @@
owner => '0',
group => '0',
mode => '0644',
notify => Exec['rabbitmq-systemd-reload'],
}
exec { 'rabbitmq-systemd-reload':
~> exec { 'rabbitmq-systemd-reload':
command => '/usr/bin/systemctl daemon-reload',
notify => Class['Rabbitmq::Service'],
refreshonly => true,
Expand Down
13 changes: 8 additions & 5 deletions spec/spec_helper_local.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,14 @@
def with_debian_facts
let :facts do
super().merge({
:lsbdistcodename => 'squeeze',
:lsbdistid => 'Debian',
:osfamily => 'Debian',
:os => { :name => 'Debian',
:release => { :full => '6.0'} },
:operatingsystemmajrelease => '6',
:lsbdistcodename => 'squeeze',
:lsbdistid => 'Debian',
:osfamily => 'Debian',
:os => {
:name => 'Debian',
:release => { :full => '6.0'},
},
})
end
end
Expand Down

0 comments on commit 88c8642

Please sign in to comment.