私はservice resource以下のように使用しています。しかし service "chef-client" do
service_name "chef-client"
action [ :stop, :disable ]
end
を、代わりのサービスI want to remove or delete the service.
私は次のように30分ごとに実行するようにcronの料理を使用しています: cron_d 'logrotate_check' do
minute "*/30"
command "logrotate -s /var/log/logstatus /etc/logrotate.d/consul_logs"
user 'root'
end
それが正しい場合は私に知らせてく
私は現在、RubocopとFoodcriticを使用して自分自身を正しい書式に制限しようとしている間に、ラッパーの料理本を作成しています。しかし、私は常に次のエラーを取得: Use strings in preference to symbols to access node attributes
と Access node attributes in a consistent manner