Merge "Just remove cloud-init"

This commit is contained in:
Monty Taylor 2015-03-19 17:14:55 +00:00 committed by Gerrit Code Review
commit bc093f209f

View File

@ -57,34 +57,4 @@ class openstack_project::single_use_slave (
ensure => 'absent',
}
case $::operatingsystem {
'Fedora': {
$ssh_user = 'fedora'
$ssh_dir = '/home/fedora/.ssh'
}
'Ubuntu': {
$ssh_user = 'ubuntu'
$ssh_dir = '/home/ubuntu/.ssh'
}
'CentOS': {
$ssh_user = 'root'
$ssh_dir = '/root/.ssh'
}
}
if ! defined(File[$ssh_dir]) {
file { $ssh_dir:
ensure => directory,
mode => '0700',
}
}
ssh_authorized_key { 'nodepool-static-2015-03-19':
ensure => present,
user => $ssh_user,
type => 'ssh-rsa',
key => 'AAAAB3NzaC1yc2EAAAADAQABAAABAQC6WutNHfM+YdnjeNFeaIpvxqt+9aDn95Ykpmc+fASSjlDZJtOrueH3ch/v08wkE4WQKg03i+t8VonqEwMGmApYA3VzFsURUQbxzlSz5kHlBQSqgz5JTwUmnt1RH5sePL5pkuJ6JgqJ8PxJod6fiD7YDjaKJW/wBzXGnGg2EkgqrkBQXYL4hyaPuSwsQF0Gdwg3QFqXl+R/GrM6FscUkkJzbjqGKI2GhLT8mf2BIMEAiMFhF5Wl4FFrbvhTfPfW+9VdcsiMxCXaxp00n1x1+Y7OqR5AZ/id0Lkz9ZoFVGS901OB/L4xXrvUtI2y+kIYeF6hxfmAl/zhY0eWzwo9lDPz',
require => File[$ssh_dir],
}
}