Signed-off-by: Stephen Gran <steve@lobefin.net>
content => "].\n"
}
- file { '/etc/rabbitmq/rabbitmq.conf.d/':
- ensure => directory,
- require => Package['rabbitmq-server']
- }
-
- file { '/etc/rabbitmq/rabbitmq.conf.d/ulimit.conf':
+ file { '/etc/default/rabbitmq-server':
content => template('rabbitmq/rabbitmq.ulimit.erb'),
- require => [ Package['rabbitmq-server'], File['/etc/rabbitmq/rabbitmq.conf.d/'] ],
notify => Service['rabbitmq-server']
}
-ulimit -n <%= scope.lookupvar('rabbit_num_ofiles') %>
+ulimit -n <%= @rabbit_num_ofiles %>