We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c9dd25 commit 0bb797fCopy full SHA for 0bb797f
lib/puppet/provider/zpool/zpool.rb
@@ -53,7 +53,7 @@ def process_zpool_data(pool_array)
53
end
54
55
if sym
56
- pool[sym] = (pool[sym]) ? pool[sym].unshift(tmp.reverse.join(' ')) : [tmp.reverse.join(' ')]
+ pool[sym] = pool[sym] ? pool[sym].unshift(tmp.reverse.join(' ')) : [tmp.reverse.join(' ')]
57
tmp.clear
58
59
@@ -99,7 +99,7 @@ def build_named(name)
99
100
# query for parity and set the right string
101
def raidzarity
102
- (@resource[:raid_parity]) ? @resource[:raid_parity] : 'raidz1'
+ @resource[:raid_parity] ? @resource[:raid_parity] : 'raidz1'
103
104
105
# handle mirror or raid
0 commit comments