Project

General

Profile

« Previous | Next » 

Revision d830c7e0

Added by Trey Dockendorf over 9 years ago

Add parameter server_rack_arguments

  • Default is an empty array
  • Elements are added to ARGV in Puppet server's rack config.ru

View differences:

spec/lib/module_spec_helper.rb
content = subject.resource('concat_fragment', title).send(:parameters)[:content]
content.split(/\n/).reject { |line| line =~ /(^#|^$|^\s+#)/ }.should == expected_lines
end
def verify_exact_contents(subject, title, expected_lines)
content = subject.resource('file', title).send(:parameters)[:content]
content.split(/\n/).reject { |l| l =~ /(^#|^$|^\s+#)/ }.should == expected_lines
end

Also available in: Unified diff