diff --git a/puppet/modules/docker/manifests/init.pp b/puppet/modules/docker/manifests/init.pp index 13de621749..b6b8aecd1c 100644 --- a/puppet/modules/docker/manifests/init.pp +++ b/puppet/modules/docker/manifests/init.pp @@ -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,