Skip to content

Commit

Permalink
Merge pull request #35 from grid5000/pmorillon/omsa
Browse files Browse the repository at this point in the history
Fixes bug#8975 about DELL OMSA service shutdown
  • Loading branch information
Pascal Morillon authored Feb 9, 2018
2 parents 16ccdae + 3459748 commit 5967450
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions virtualbox/steps/data/puppet/modules/env/manifests/std/dell.pp
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +29,18 @@
'src' => false
}
}

package {
['srvadmin-all', 'dtk-scripts']:
ensure => 'installed',
require => [Apt::Source['linux.dell.com'], Exec['apt_update']]
}

service { 'dataeng':
enable => 'true',
require => Package['srvadmin-all', 'dtk-scripts']
}

# Fix bug 7324
file { '/etc/omreg.cfg':
ensure => 'link',
Expand Down Expand Up @@ -97,22 +97,22 @@
enable => 'true',
require => Package['srvadmin-base']
}

# Fix bug 7324
file { '/etc/omreg.cfg':
ensure => 'link',
target => '/opt/dell/srvadmin/etc/omreg.cfg',
require => Package['srvadmin-base']
}

# Fix bug 8048
# Fix bug 8048 and 8975
file {
'/etc/systemd/system/dataeng.service.d':
ensure => 'directory',
require => Package['srvadmin-base'];
'/etc/systemd/system/dataeng.service.d/stop.conf':
ensure => 'file',
content => "[Service]\nExecStop=\n",
content => "[Service]\nExecStop=\nKillMode=control-group\nKillSignal=9",
require => Package['srvadmin-base'];
}
}
Expand Down

0 comments on commit 5967450

Please sign in to comment.