Skip to content

Instantly share code, notes, and snippets.

@spheromak
Created August 27, 2010 01:42
Show Gist options
  • Save spheromak/552612 to your computer and use it in GitHub Desktop.
Save spheromak/552612 to your computer and use it in GitHub Desktop.
class Chef::Recipe
include Military::User
end
class Chef::Resource::User
include Military::User
end
wheel_members = group_members "wheel"
wheel_members.each do |u|
setup_user(u)
setup_env(u)
end
group "wheel" do
gid 10000
members wheel_members
end
[Fri, 27 Aug 2010 01:40:48 +0000] INFO: Starting Chef Run (Version 0.9.8)
[Fri, 27 Aug 2010 01:40:49 +0000] INFO: Processing env cmd: ssh for: jnelson
[Fri, 27 Aug 2010 01:40:49 +0000] INFO: Processing env cmd: bash for: jnelson
[Fri, 27 Aug 2010 01:40:49 +0000] INFO: Processing env cmd: top for: jnelson
[Fri, 27 Aug 2010 01:40:49 +0000] INFO: Processing env cmd: screen for: jnelson
[Fri, 27 Aug 2010 01:40:49 +0000] INFO: Processing env cmd: vim for: jnelson
[Fri, 27 Aug 2010 01:40:49 +0000] INFO: Processing env cmd: git for: jnelson
[Fri, 27 Aug 2010 01:40:49 +0000] WARN: No configuration setup for git
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Storing updated cookbooks/users/templates/default/bashrc.erb in the cache.
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Writing updated content for template[/home/jnelosn/.bashrc] to /home/jnelosn/.bashrc
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Backing up template[/home/jnelosn/.bashrc] to /var/chef/backup/home/jnelosn/.bashrc.chef-20100827014051
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Creating a symbolic link from /home/jnelosn/.bash_profile -> /home/jnelosn/.bashrc for link[/home/jnelosn/.bashrc ]
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Creating directory[/home/jnelosn/bin] at /home/jnelosn/bin
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Setting owner to 10000 for directory[/home/jnelosn/bin]
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Setting group to 10000 for directory[/home/jnelosn/bin]
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Setting mode to 700 for directory[/home/jnelosn/bin]
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Storing updated cookbooks/users/templates/default/knife_env.erb in the cache.
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Writing updated content for template[/home/jnelosn/bin/knife_env] to /home/jnelosn/bin/knife_env
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Altered group[wheel]
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Removing cookbooks/users/libraries/test.rb from the cache; it is no longer on the server.
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Chef Run complete in 2.607677 seconds
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Running report handlers
[Fri, 27 Aug 2010 01:40:51 +0000] INFO: Report handlers complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment