Fix missing group "Vagrant" error

This commit is contained in:
Charles Hooper 2013-03-24 10:49:16 +00:00
parent bea7894166
commit 94b9ca988d
1 changed files with 22 additions and 0 deletions

View File

@ -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,