Skip to content

Commit 9092105

Browse files
committed
fix: migrate to Policyfile
1 parent d5219a4 commit 9092105

6 files changed

Lines changed: 12 additions & 14 deletions

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,4 @@ jobs:
2121
- name: Install Chef
2222
uses: actionshub/chef-install@main
2323
- name: Install cookbooks
24-
run: berks install
24+
run: chef install Policyfile.rb

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ doc/
3636
rdoc
3737

3838
# chef infra stuff
39-
Berksfile.lock
4039
.kitchen
4140
kitchen.local.yml
4241
vendor/

Berksfile

Lines changed: 0 additions & 11 deletions
This file was deleted.

Policyfile.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# frozen_string_literal: true
2+
3+
name 'wix'
4+
default_source :supermarket
5+
6+
run_list 'wix::default'
7+
8+
cookbook 'wix', path: '.'
9+
cookbook 'wix-install', path: './test/fixtures/cookbooks/wix-install'

spec/spec_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
require 'chefspec'
2-
require 'chefspec/berkshelf'
2+
require 'chefspec/policyfile'
33

44
RSpec.configure do |config|
55
config.color = true # Use color in STDOUT
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
name 'wix-install'
2+
version '0.1.0'
23
depends 'wix'

0 commit comments

Comments
 (0)