This message was deleted.
# forge-modules
s
This message was deleted.
h
This is after
bundle install
and
bundle exec rake spec
right?
e
My sequence was
bundle install
bundle exec pdk validate
, then
bundle exec pdk test unit
, and this last one failed.
bundle exec rake spec
passed without problems. Was I just using the wrong command?
h
Oh interesting. I need to get offline, but I can perhaps follow up on this later this week. If you find anything, feel free to paste PR links
e
Great! I'll start by a branch to make
pdk validate
happy - it spits 291 errors+warnings now. Then get started on the updates. Thanks a lot, @hunner!
r
@emerson_prado should you be prefixing your bundle commands (and gem list above) with
pdk exec
?
I believe litmus is bundled in the pdk dpkg/rpm
make that
pdk bundle exec
e
@hunner First PR solves all
pdk validate
errors and warnings, so we follow clean
🎉 1
h
Wow thanks for doing all that work!
👍 1
e
@rusty Yes, I didn't show the full commands. What I'm indeed using is:
bundle exec pdk validate
bundle exec rake spec
@hunner I have some new comments with questions. When possible, could you pls check?
@hunner I guess I could solve the questions. Pls review, whenever possible.
h
Sorry, I'm moving house and got kind of busy 😛. Pings do help remind me tho!
😁 1
e
@hunner As I'm not pushing you hard enough, one more PR. This one replaces the pair of execs in wordpress:instance:app which download and extract Wordpress with a single call to archive resource. https://github.com/hunner/puppet-wordpress/pull/95
h
Looks good! Ready for #94 and #95 to merge and release?
e
There is a small conflict between both, in metadata.json
We can merge one of them, I rebase and solve the conflict here, then push again. What do you think?
Ideally, #94 before #95
h
Sounds good. 94 merged
e
Rebased, fixed and force pushed #95
@hunner Saw you merged already! Will you create a new tag?
h
Yep, writing changelog now. With the addition of the puppet/archive module, I think that makes this a 2.0.0 if adding dependencies is backwards-incompatible
🎉 1
d
h
Hmm. Previously the
wp_proxy_*
attributes were used as part of the exec when downloading wordpress. I wonder if there is a way to make the archive module work with that
Yep,
proxy_server
e
Is "Previously" before 1.0.0?
h
Well, just in the changes merged after 1.0.0 so not officially changed since 1.0.0, but changed from what people could be using
e
Ah, thru
$exec_environment
, right?
h
Yeah, that bit
e
I see.
archive::proxy_server
works a little differently. Will take some more brainwork.
h
I'm just passing https proxy, and hoping no one is depending on http proxies
Is there a reason you're using such an old archive module? They're up to 6.x now
Put up https://github.com/hunner/puppet-wordpress/pull/96 . I don't have litmus working yet, but need to go do other things for a bit
🎉 1
e
@hunner I tested with the archive version I already use at work, and ended up keeping it in the final version
BTW, I intend to update stuff as the next step. The module still supports Puppet 4. Should we drop it now?
In fact, to support the current versions of the dependencies, we have to drop at least Puppet 5. I will check their borders.
h
Oh that's a good idea, thanks!
e
Dependencies versions that drop support for Puppet 4/5/6, respectively: puppetlabs/concat: v6.0.0/v7.0.0/v8.0.0 puppetlabs/mysql: v9.0.0/v11.0.0/v14.0.0 puppetlabs/stdlib: v6.0.0/v7.0.0/v9.0.0 puppet/archive: v4.0.0/v5.0.0/None