Commit 951f172 1 parent 10eb39f commit 951f172 Copy full SHA for 951f172
File tree 4 files changed +5
-0
lines changed
4 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 34
34
$plugins = [],
35
35
$purge_config = false ,
36
36
$use_embedded_ruby = false ,
37
+ $rubyopt = ' ' ,
37
38
$safe_mode = false ,
38
39
){
39
40
73
74
notify_services => $notify_services ,
74
75
purge_config => $purge_config ,
75
76
use_embedded_ruby => $use_embedded_ruby ,
77
+ rubyopt => $rubyopt ,
76
78
}
77
79
78
80
class { 'sensu::rabbitmq' :
Original file line number Diff line number Diff line change 11
11
$install_repo = ' true' ,
12
12
$purge_config = ' false' ,
13
13
$use_embedded_ruby = ' true' ,
14
+ $rubyopt = ' ' ,
14
15
) {
15
16
16
17
if $install_repo == ' true' or $install_repo == true {
Original file line number Diff line number Diff line change 7
7
it { should create_class ( 'sensu::package' ) }
8
8
it { should include_class ( 'sensu::repo' ) }
9
9
it { should contain_package ( 'sensu' ) . with_ensure ( 'latest' ) }
10
+ it { should contain_file ( 'sensu' ) . with_path ( '/etc/default/sensu' ) }
10
11
it { should contain_file ( '/etc/sensu/handlers' ) . with_ensure ( 'directory' ) . with_require ( 'Package[sensu]' ) }
11
12
it { should contain_file ( '/etc/sensu/plugins' ) . with_ensure ( 'directory' ) . with_require ( 'Package[sensu]' ) }
12
13
it { should contain_file ( '/etc/sensu/config.json' ) . with_ensure ( 'absent' ) }
Original file line number Diff line number Diff line change 1
1
EMBEDDED_RUBY=<%= @use_embedded_ruby %>
2
+ RUBYOPT="<%= @rubyopt %> "
2
3
You can’t perform that action at this time.
0 commit comments