lib/runcible/models/puppet_distributor.rb in runcible-1.6.0 vs lib/runcible/models/puppet_distributor.rb in runcible-1.7.0
- old
+ new
@@ -17,9 +17,10 @@
'puppet_distributor'
end
def config
to_ret = self.as_json
+ to_ret.delete('absolute_path') if absolute_path.nil?
to_ret.delete('auto_publish')
to_ret.delete('id')
to_ret
end
end