fix a lot of typo and mistakes
Change-Id: I9668967b8ac4a817fb6dc00de0daeda47d0281ef
This commit is contained in:
parent
04839b9a61
commit
9e79defcd4
@ -1,10 +1,10 @@
|
||||
notify {'MODULAR: fuel-plugin-manila/install': }
|
||||
|
||||
$manila = hiera_hash('fuel-plugin-manila', {})
|
||||
$image = manila['fuel-plugin-manila_image']
|
||||
$image = $manila['fuel-plugin-manila_image']
|
||||
|
||||
$master_ip = hiera('master_ip')
|
||||
$src_image = "wget http://${master_ip}:8080/plugins/fuel-plugin-manila-1.0/repositories/ubuntu/${image}"
|
||||
$src_image = "http://${master_ip}:8080/plugins/fuel-plugin-manila-1.0/repositories/ubuntu/${image}"
|
||||
$inits = {
|
||||
'manila-api' => {
|
||||
desc => 'manila-api init',
|
||||
@ -46,7 +46,8 @@ class {'::manila_auxiliary::fs': }
|
||||
create_resources('::manila_auxiliary::initd', $inits)
|
||||
|
||||
class {'::manila_auxiliary::image':
|
||||
image => $image
|
||||
src_image => $src_image,
|
||||
image => $image,
|
||||
}
|
||||
|
||||
Package['python-pip']->Package['pycrypto']->Package['python-manila']->Package['python-manilaclient']->Package['python-manila-ui']
|
||||
|
@ -1,6 +1,6 @@
|
||||
notify {'MODULAR: fuel-plugin-manila/populate_hiera': }
|
||||
|
||||
$manila = hiera_hash('manila', {})
|
||||
$manila = hiera_hash('manila', false)
|
||||
$fpg_manila = hiera_hash('fuel-plugin-manila', {})
|
||||
|
||||
$file = '/etc/hiera/plugins/fuel-plugin-manila.yaml'
|
||||
|
@ -7,7 +7,7 @@ class manila_auxiliary::image (
|
||||
source => 'puppet:///modules/manila_auxiliary/upload_cirros.rb',
|
||||
}->
|
||||
exec {'wget_service_image':
|
||||
command => "wget ${src_image} -O /tmp/${image}"
|
||||
command => "wget ${src_image} -O /tmp/${image}",
|
||||
path => '/usr/bin',
|
||||
}->
|
||||
exec {'upload-service-image':
|
||||
@ -15,7 +15,7 @@ class manila_auxiliary::image (
|
||||
path => '/usr/bin',
|
||||
}->
|
||||
exec {'del_service_image':
|
||||
command => "rm /tmp/${image}",
|
||||
command => "/bin/rm /tmp/${image}",
|
||||
path => '/usr/bin',
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user