OSDN Git Service

add raspberry-pi role.
authorwhitestar <whitestar@users.osdn.me>
Sat, 22 Sep 2018 07:51:19 +0000 (16:51 +0900)
committerwhitestar <whitestar@users.osdn.me>
Sat, 22 Sep 2018 07:51:19 +0000 (16:51 +0900)
roles/raspberry-pi.rb [new file with mode: 0644]

diff --git a/roles/raspberry-pi.rb b/roles/raspberry-pi.rb
new file mode 100644 (file)
index 0000000..3f4f519
--- /dev/null
@@ -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',
+      ],
+    },
+  },
+)