Fix missing group "Vagrant" error
Upstream-commit: 94b9ca988de6970406789759b5f75fee19fd5dbb Component: engine
This commit is contained in:
@@ -62,8 +62,30 @@ class docker {
|
||||
comment => "Vagrant User",
|
||||
shell => "/bin/bash",
|
||||
home => "/home/vagrant",
|
||||
groups => [
|
||||
"sudo",
|
||||
"vagrant",
|
||||
"ubuntu",
|
||||
],
|
||||
require => [
|
||||
Group["sudo"],
|
||||
Group["vagrant"],
|
||||
Group["ubuntu"],
|
||||
],
|
||||
}
|
||||
|
||||
group { "ubuntu":
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
group { "vagrant":
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
group { "sudo":
|
||||
ensure => present,
|
||||
}
|
||||
|
||||
file { "/usr/local/bin":
|
||||
ensure => directory,
|
||||
owner => root,
|
||||
|
||||
Reference in New Issue
Block a user