https://www.puppet.com/community logo
Join Slack
Powered by
# voxpupuli
  • b

    bastelfreak

    07/07/2023, 9:24 AM
    I usually use
    bundle install --path .vendor
    within a module to scope the installation to the current module
  • b

    bastelfreak

    07/07/2023, 9:24 AM
    and
    bundle exec rake validate
    will run all the validations,
    bundle exec rake test
    runs validation + rspec-puppet
  • y

    Yury Bushmelev

    07/07/2023, 9:25 AM
    yeah, after
    bundle install
    itโ€™s clear ๐Ÿ™‚
  • y

    Yury Bushmelev

    07/07/2023, 9:25 AM
    just to be sure, are EPP validated within our CI/CD as well?
  • b

    bastelfreak

    07/07/2023, 9:26 AM
    yes
  • y

    Yury Bushmelev

    07/07/2023, 9:26 AM
    Iโ€™m going to spend some time working on ERB to EPP conversion in the nginx module today
  • b

    bastelfreak

    07/07/2023, 9:28 AM
    ah awesome
  • y

    Yury Bushmelev

    07/07/2023, 9:30 AM
    which ruby version to use as a reference these days? ๐Ÿ™‚
  • y

    Yury Bushmelev

    07/07/2023, 9:30 AM
    2.7 or some 3.x?
  • b

    bastelfreak

    07/07/2023, 9:32 AM
    2.7 and newer should work fine. I use 3.0 at the moment
  • y

    Yury Bushmelev

    07/07/2023, 9:32 AM
    "version": "5.0.1-rc0",
    ๐Ÿค”
  • y

    Yury Bushmelev

    07/07/2023, 9:32 AM
    shall we do a release first then go with erb2epp maybe?
  • y

    Yury Bushmelev

    07/07/2023, 9:33 AM
    though.. I can do some PRs anyway, we can merge after the release (if any is expected)
  • b

    bastelfreak

    07/07/2023, 9:34 AM
    we had a release recently, you can do the migration without a prior release
    ๐Ÿ‘๐Ÿป 1
  • y

    Yury Bushmelev

    07/07/2023, 9:35 AM
    well.. let me switch to ruby 3.0 and do something then ๐Ÿ™‚
  • y

    Yury Bushmelev

    07/07/2023, 9:37 AM
    asdf
    is amazing but CLI syntax is quite alien.. every time Iโ€™m wondering why it so..
  • b

    bastelfreak

    07/07/2023, 9:39 AM
    ๐Ÿ˜„
  • y

    Yury Bushmelev

    07/07/2023, 9:58 AM
    Copy code
    Downloading puppet-7.25.0-universal-darwin revealed dependencies not in the API or the lockfile (CFPropertyList (~> 2.2)).
    Either installing with `--full-index` or running `bundle update puppet` should fix the problem.
  • y

    Yury Bushmelev

    07/07/2023, 9:58 AM
    hm..
  • b

    bastelfreak

    07/07/2023, 9:59 AM
    what kind of lockfile?
  • b

    bastelfreak

    07/07/2023, 9:59 AM
    we don't track the Gemfile.lock in git, to avoid those errors
  • y

    Yury Bushmelev

    07/07/2023, 9:59 AM
    ah, right.. I should drop the Gemfile.lock
  • b

    bastelfreak

    07/07/2023, 9:59 AM
    yep
  • y

    Yury Bushmelev

    07/07/2023, 9:59 AM
    I did
    bundle install
    before and forgot about that.. too much coffee
  • y

    Yury Bushmelev

    07/07/2023, 10:00 AM
    doing stupid things faster
  • y

    Yury Bushmelev

    07/07/2023, 10:00 AM
    yes, now itโ€™s good
  • y

    Yury Bushmelev

    07/07/2023, 10:04 AM
    well.. now I see how big is the scope ๐Ÿ˜„
  • y

    Yury Bushmelev

    07/07/2023, 10:07 AM
    Copy code
    <%= scope.function_template(['nginx/server/location_header.erb']) -%>
    This is a way to include another template, right?
  • b

    bastelfreak

    07/07/2023, 10:23 AM
    yes
  • y

    Yury Bushmelev

    07/07/2023, 11:12 AM
    is it possible to override
    on_supported_os
    from the environment by any chance? e.g. if Iโ€™d like to test just ubuntu when calling the
    rake spec
    or
    rspec
    directly
1...544545546...648Latest