Remove enabled and manage_service for c-scheduler

Signed-off-by: Bogdan Dobrelya <bdobrelia@mirantis.com>
This commit is contained in:
Bogdan Dobrelya 2015-07-22 15:30:45 +02:00
parent 08978ea341
commit de9b064586
4 changed files with 4 additions and 12 deletions

View File

@ -1,3 +1,3 @@
# Cinder API resource for puppet handler
# Cinder Scheduler resource for puppet handler
Setup and configure the cinder scheduler service

View File

@ -2,8 +2,6 @@ $resource = hiera($::resource_name)
$scheduler_driver = $resource['input']['scheduler_driver']['value']
$package_ensure = $resource['input']['package_ensure']['value']
$enabled = $resource['input']['enabled']['value']
$manage_service = $resource['input']['manage_service']['value']
include cinder::params
@ -15,6 +13,6 @@ package { 'cinder':
class {'cinder::scheduler':
scheduler_driver => $scheduler_driver,
package_ensure => $package_ensure,
enabled => $enabled,
manage_service => $manage_service,
enabled => true,
manage_service => true,
}

View File

@ -9,12 +9,6 @@ input:
package_ensure:
schema: str
value: 'present'
enabled:
schema: bool
value: true
manage_service:
schema: bool
value: true
git:
schema: {repository: str!, branch: str!}

View File

@ -9,4 +9,4 @@ def test(resource):
# 'http://%s:%s' % (resource.args['ip'].value, resource.args['port'].value)
# TODO(bogdando) figure out how to test this
# http://docs.openstack.org/developer/nova/devref/scheduler.html
)
# )