From b1478a1b781bb005663d23785bc67563dfbb93a3 Mon Sep 17 00:00:00 2001 From: whitestar Date: Sat, 22 Sep 2018 16:51:19 +0900 Subject: [PATCH] add raspberry-pi role. --- roles/raspberry-pi.rb | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 roles/raspberry-pi.rb diff --git a/roles/raspberry-pi.rb b/roles/raspberry-pi.rb new file mode 100644 index 0000000..3f4f519 --- /dev/null +++ b/roles/raspberry-pi.rb @@ -0,0 +1,37 @@ +# +# Copyright 2018, whitestar +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +name 'raspberry-pi' +description 'Raspberry Pi' + +run_list( + 'recipe[chef_utils::bulk-install]', +) + +#env_run_lists + +default_attributes( +) + +override_attributes( + 'chef_utils' => { + 'bulk-install' => { + 'packages' => [ + 'fake-hwclock', + ], + }, + }, +) -- 2.11.0