Use includes for clients, drop the Kickstack wrappers

No need to use silly wrappers around something that can just use the
upstream stuff directly, with a simple include.
This commit is contained in:
Florian Haas 2013-10-17 11:04:45 +02:00
parent 22254b5c0d
commit 2b3c3a7f58
6 changed files with 5 additions and 32 deletions

View File

@ -1,5 +0,0 @@
class kickstack::cinder::client inherits kickstack {
kickstack::client { 'cinder': }
}

View File

@ -1,8 +0,0 @@
define kickstack::client {
$servicename = $name
$classname = "::${servicename}::client"
class { $classname: }
}

View File

@ -1,5 +0,0 @@
class kickstack::glance::client inherits kickstack {
kickstack::client { 'glance': }
}

View File

@ -1,5 +0,0 @@
class kickstack::keystone::client inherits kickstack {
kickstack::client { 'keystone': }
}

View File

@ -1,6 +1,7 @@
class kickstack::node::client inherits kickstack {
include kickstack::keystone::client
include kickstack::glance::client
include kickstack::cinder::client
include kickstack::quantum::client
include ::keystone::client
include ::glance::client
include ::cinder::client
include ::neutron::client
include ::heat::client
}

View File

@ -1,5 +0,0 @@
class kickstack::nova::client inherits kickstack {
kickstack::client { 'nova': }
}