Fix Rackspace cloud user, remove dupe /home/vagrant definition

This commit is contained in:
Charles Hooper 2013-03-27 01:41:06 +00:00
Родитель 2b7284db4f
Коммит 5bec4b8f04
1 изменённых файлов: 12 добавлений и 6 удалений

Просмотреть файл

@ -52,6 +52,18 @@ class ec2 {
}
class rax {
user { "vagrant":
name => "ubuntu",
ensure => present,
comment => "Vagrant User",
shell => "/bin/bash",
home => "/home/ubuntu",
}
file { "/home/vagrant":
ensure => link,
target => "/home/ubuntu",
require => User["vagrant"],
}
}
class docker {
@ -112,12 +124,6 @@ class docker {
require => Exec["copy-docker-bin"],
}
file { "/home/vagrant":
ensure => directory,
mode => 644,
require => User["vagrant"],
}
file { "/home/vagrant/.profile":
mode => 644,
owner => $vagrant_user,