diff options
author | Stefan Schulte <stefan.schulte@taunusstein.net> | 2010-11-18 23:38:10 +0100 |
---|---|---|
committer | Matt Robinson <matt@puppetlabs.com> | 2010-12-14 11:52:24 -0800 |
commit | b94c1b444d76a7fa1bcd63dd6ba653abf0b49826 (patch) | |
tree | 3616805644b3fd5cd6ee3cc298ca0850ff8591b6 /lib/puppet/util/autoload.rb | |
parent | cca3436db8ba90eeaeefd8a58567becfcb330acc (diff) | |
download | puppet-b94c1b444d76a7fa1bcd63dd6ba653abf0b49826.tar.gz puppet-b94c1b444d76a7fa1bcd63dd6ba653abf0b49826.tar.xz puppet-b94c1b444d76a7fa1bcd63dd6ba653abf0b49826.zip |
(#5427) Using Propery::OrderedList for host_alias
This uses the propertyclass Puppet::Property::OrderedList to represent
the list of host_aliases. This lets us remove the in_sync, should_to_s
etc overrides.
In the provider class the list is represented by a string (=no array)
so there were a few changes necessary as well.
Because Puppet::Property::List uses the specified delimiter when
converting should values to strings, I changed the delimiter to a simple
space instead a tab. This keeps messages produced by puppet in a nice
format.
The tests had to be changed to work with the new behaviour of
host_aliases. There are a few additional tests as well.
Diffstat (limited to 'lib/puppet/util/autoload.rb')
0 files changed, 0 insertions, 0 deletions