19 lines
295 B
Ruby
19 lines
295 B
Ruby
unified_mode true
|
|
|
|
property :name, String, default: ''
|
|
|
|
action :install do
|
|
include_recipe 'yum-epel' if platform_family?('rhel', 'amazon')
|
|
|
|
package gpg2_packages
|
|
|
|
service 'haveged' do
|
|
supports [:status, :restart]
|
|
action :start
|
|
end
|
|
end
|
|
|
|
action_class do
|
|
include Gpg::Helpers
|
|
end
|