We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be74bc6 commit 037caceCopy full SHA for 037cace
manifests/backend/iscsi.pp
@@ -49,6 +49,12 @@
49
}
50
51
'lioadm': {
52
+ service { 'target':
53
+ ensure => running,
54
+ enable => true,
55
+ require => Package['targetcli'],
56
+ }
57
+
58
package { 'targetcli':
59
ensure => present,
60
name => $::cinder::params::lio_package_name,
spec/classes/cinder_volume_iscsi_spec.rb
@@ -60,6 +60,11 @@
end
61
62
it { should contain_package('targetcli').with_ensure('present')}
63
+ it { should contain_service('target').with(
64
+ :ensure => 'running',
65
+ :enable => 'true',
66
+ :require => 'Package[targetcli]'
67
+ ) }
68
69
70
0 commit comments