Skip to content

Commit

Permalink
fix: ruby safe yaml issue (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
muddman committed Mar 10, 2020
1 parent 573e8f8 commit dd472c4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/integration/default/libraries/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ def server?
require "inspec/log"
require 'json'

SafeYAML::OPTIONS[:default_mode] = :safe

# https://www.inspec.io/docs/reference/inputs/
def set_input_pillar_default
input('pillar', value: get_pillar_default, type: 'hash', description: 'SaltStack Pillar Data')
Expand Down

0 comments on commit dd472c4

Please sign in to comment.