mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-08-26 00:00:09 +02:00
23 lines
336 B
Ruby
23 lines
336 B
Ruby
#
|
|
# Cookbook:: metasploitable
|
|
# Recipe:: cups
|
|
#
|
|
# Copyright:: 2017, Rapid7, All Rights Reserved.
|
|
|
|
execute 'apt-get update' do
|
|
command 'apt-get update'
|
|
end
|
|
|
|
package 'cups' do
|
|
action :install
|
|
end
|
|
|
|
cookbook_file '/etc/cups/cupsd.conf' do
|
|
source 'cups/cupsd.conf'
|
|
mode '0644'
|
|
end
|
|
|
|
service 'cups' do
|
|
action [:enable, :restart]
|
|
end
|