fuel-library/deployment/puppet/nailgun/manifests/client.pp
Matthew Mosesohn af2216a546 Added nailgun client role
Fuel client can now be deployed as a
separate class and configure
credentials based on astute yaml.

blueprint access-control-master-node

Change-Id: I9b883abb413b6f4ce350248d494a7e42442d7f90
2014-07-03 14:54:45 +04:00

24 lines
471 B
Puppet

class nailgun::client (
$server = '127.0.0.1',
$port = '8000',
$keystone_user = 'admin',
$keystone_pass = 'admin',
$keystone_port = '5000',
)
{
include nailgun::packages
file { '/etc/fuel/client':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}
file { '/etc/fuel/client/config.yaml':
content => template('nailgun/fuelclient.yaml.erb'),
owner => 'root',
group => 'root',
mode => '0600',
}
}