mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-08-24 00:02:44 +02:00
23 lines
334 B
Ruby
23 lines
334 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, :start]
|
||
|
end
|