Skip to content

Commit

Permalink
fix: ruby safe yaml issue
Browse files Browse the repository at this point in the history
  • Loading branch information
muddman committed Mar 9, 2020
1 parent 5e779d6 commit d16a606
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 d16a606

Please sign in to comment.