mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Fix missing group "Vagrant" error
This commit is contained in:
parent
bea7894166
commit
94b9ca988d
1 changed files with 22 additions and 0 deletions
|
@ -62,8 +62,30 @@ class docker {
|
||||||
comment => "Vagrant User",
|
comment => "Vagrant User",
|
||||||
shell => "/bin/bash",
|
shell => "/bin/bash",
|
||||||
home => "/home/vagrant",
|
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":
|
file { "/usr/local/bin":
|
||||||
ensure => directory,
|
ensure => directory,
|
||||||
owner => root,
|
owner => root,
|
||||||
|
|
Loading…
Reference in a new issue