puppet-archive icon indicating copy to clipboard operation
puppet-archive copied to clipboard

cannot use both of them

Open riponbanik opened this issue 8 years ago • 6 comments

camptocamp/archive conflicts with puppet/archive, we are using modules where one uses camptocamp and other uses puppet one. Since both are incompatible in terms of parameters - is it possible to merge them?

riponbanik avatar Dec 02 '16 01:12 riponbanik

There was recent updates to make puppet-archive compatible with camptocamp. Is there something in particular that's missing?

nanliu avatar Dec 02 '16 02:12 nanliu

camptocamp/archive uses url whereas puppet/archive uses source. also Archive is class in the later and defined type in former.

riponbanik avatar Dec 02 '16 03:12 riponbanik

The archive class is used to setup some defaults: class archive != resource archive

archive is a resource and supports url parameter in this module: https://github.com/voxpupuli/puppet-archive/blob/master/lib/puppet/type/archive.rb#L133-L144

nanliu avatar Dec 02 '16 03:12 nanliu

Thanks got it. I have found another - Invalid parameter extension on Archive. camptocamp/archive it is .gz as default. so will fail on existing manifest which uses .zip as extension.

riponbanik avatar Dec 02 '16 05:12 riponbanik

archive path must be absolute as well. cannot just use file name as the resource title

riponbanik avatar Dec 02 '16 05:12 riponbanik

Before I break all our managed tomcat installs, does anyone know if camptocamp-tomcat and puppet-archive play nice together now?

gaima8 avatar Jan 17 '18 13:01 gaima8