Skip to content

Commit

Permalink
Merge pull request #3 from rackops/neykovt-add-more-tools
Browse files Browse the repository at this point in the history
Add more tools to admin_packages
  • Loading branch information
thomascate committed Dec 3, 2013
2 parents 96a9b85 + 858e7f4 commit 2704432
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion metadata.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
license 'All rights reserved'
description 'Installs/Configures rackops-rolebook'
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version '0.1.6'
version '0.1.7'

depends "rackspace-user"
depends "motd"
Expand Down
13 changes: 6 additions & 7 deletions recipes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#

include_recipe "rackspace-user"

include_recipe "motd"

# Including sudoers.d is done in recipe[rackspace-user]
Expand All @@ -20,25 +19,25 @@
include_recipe "chef-client"
include_recipe "chef-client::delete_validation"
include_recipe "chef-client::config"


include_recipe "ntp"

admin_packages = [
"sysstat",
"dstat",
"screen",
"curl"
"curl",
"telnet",
"htop",
"traceroute",
"mtr",
"zip"
]

case node['platform_family']

when "debian"
admin_packages.push("vim")

when "rhel"
admin_packages.push("vim-minimal")

end

admin_packages.each do | admin_package |
Expand Down

0 comments on commit 2704432

Please sign in to comment.