зеркало из https://github.com/microsoft/docker.git
Fix Rackspace cloud user, remove dupe /home/vagrant definition
This commit is contained in:
Родитель
2b7284db4f
Коммит
5bec4b8f04
|
@ -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,
|
||||
|
|
Загрузка…
Ссылка в новой задаче