]> gitweb.fluxo.info Git - puppet-stdlib.git/commit
(MODULES-2316) Change file_type boolean parameter to symbols
authorDominic Cleal <dcleal@redhat.com>
Tue, 4 Aug 2015 08:59:53 +0000 (09:59 +0100)
committerDominic Cleal <dcleal@redhat.com>
Tue, 4 Aug 2015 08:59:53 +0000 (09:59 +0100)
commita7adcda803abe82e6a16e2410c10d58abedbd82d
treee4bdbfb53098c64a2fcc10089c2b5e6dd0f8675c
parente815da59620c4fe7ae3e612b99ef20e8924f8f23
(MODULES-2316) Change file_type boolean parameter to symbols

Puppet's boolean parameter type is only available in Puppet 3.3 and
higher, so change file_type's new "replace" parameter to a regular
parameter with true and false as possible values.  This matches the
existing "multiple" parameter.
lib/puppet/provider/file_line/ruby.rb
lib/puppet/type/file_line.rb
spec/unit/puppet/provider/file_line/ruby_spec.rb
spec/unit/puppet/type/file_line_spec.rb