https://www.puppet.com/community logo
Join SlackCommunities
Powered by
# puppet-enterprise
  • c

    cdenneen

    07/19/2022, 6:05 PM
    I feel like I'm constantly updating my .sync.yml to update Gemfile to force lock gems to versions due to updates that happen
  • b

    bastelfreak

    07/19/2022, 6:06 PM
    this should work when the rubygems version is new enough
  • c

    cdenneen

    07/19/2022, 6:13 PM
    doesn't pdk use embedded ruby/gem?
  • c

    cdenneen

    07/19/2022, 6:14 PM
    Copy code
    Gemfile:
      optional:
        ':development':
          - gem: activesupport
            version: '< 7'
            condition: "Gem::Requirement.create('< 2.7.0').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))"
          - gem: 'puppet_litmus'
            condition: "Gem::Requirement.create(['>= 2.5.0', '< 2.8.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))"
          - gem: minitest
            version: '< 5.16.0'
          - gem: http
            version: '< 5.1.0'
          - gem: net-ssh
            version: '< 7.0.0'
          - gem: rubocop-ast
            version: '= 1.17.0'
            condition: "Gem::Requirement.create('~> 2.5.0').satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))"
          - gem: rubocop-ast
            version: '>= 1.18.0'
            condition: "Gem::Requirement.create(['>= 2.6.0', '< 2.8.0']).satisfied_by?(Gem::Version.new(RUBY_VERSION.dup))"
    I just don't think this should be necessary
  • c

    cdenneen

    07/19/2022, 6:16 PM
    I guess if I was only testing with latest version of puppet you might not notice or it be necessary but since I test with latest puppet 6 for LTS and puppet 7 I always end up with issue constantly with something on the puppet 6 side since it runs ruby 2.5
  • b

    bastelfreak

    07/19/2022, 6:22 PM
    mhm shouldnt be required, but I cannot verify it at the moment
  • i

    Isaiah Frantz

    07/19/2022, 6:54 PM
    any thought on what to do about this (other than upgrade 😉):
    Copy code
    Status callback for file-sync-storage-service timed out, shutting down background task
    pe 2019.8.5
  • i

    Isaiah Frantz

    07/19/2022, 6:54 PM
    the docs are thin on resolving code-manager issues
  • s

    Slackbot

    07/19/2022, 6:56 PM
    This message was deleted.
    b
    c
    +2
    • 5
    • 27
  • i

    Isaiah Frantz

    07/19/2022, 7:24 PM
    upgrading in a huge production env is not a no-brainer...
  • s

    Slackbot

    07/20/2022, 10:28 AM
    This message was deleted.
    b
    s
    c
    • 4
    • 32
  • s

    Slackbot

    07/20/2022, 4:00 PM
    This message was deleted.
    b
    s
    t
    • 4
    • 10
  • s

    Slackbot

    07/20/2022, 7:53 PM
    This message was deleted.
    b
    c
    • 3
    • 2
  • s

    Slackbot

    07/20/2022, 7:53 PM
    This message was deleted.
    c
    • 2
    • 1
  • c

    cdenneen

    07/20/2022, 7:53 PM
    Here is a snippet which show instead of looking at the environment i'm specifying it's looking in the masters versioned dir for
    main_*
    Untitled.txt
  • s

    Slackbot

    07/21/2022, 5:14 PM
    This message was deleted.
    n
    z
    • 3
    • 3
  • z

    ziggy

    07/21/2022, 5:14 PM
    Hey all. Does anyone know if there is a way to add PQL queries to the common queries dropdown in the Puppet console? I think it would be helpful to add custom ones here without having to save them in a list somewhere else.
  • h

    hbui

    07/21/2022, 5:49 PM
    I don't know. I generally just use
    puppet-access
    and
    puppet-query
    from the cli instead.
  • z

    ziggy

    07/21/2022, 6:16 PM
    Yeah same. There are some users though that dont use the CLI nor how to though
  • b

    bastelfreak

    07/21/2022, 6:25 PM
    there is a text file somewhere in /etc/puppetlabs where you csn configure the query list
  • h

    hbui

    07/21/2022, 7:44 PM
    which version of PE?
  • b

    bastelfreak

    07/21/2022, 7:54 PM
    probably all
  • v

    vchepkov

    07/21/2022, 8:02 PM
    /etc/puppetlabs/console-services/custom_pql_queries.json
  • v

    vchepkov

    07/21/2022, 8:02 PM
    it's not there by default, you need to create one
  • v

    vchepkov

    07/21/2022, 8:02 PM
    from example
  • v

    vchepkov

    07/21/2022, 8:03 PM
    I don't like threads 🙂
  • h

    hbui

    07/21/2022, 8:07 PM
    is there a sample file that you can use as a template (what's the format of the json)?
  • h

    hbui

    07/21/2022, 8:13 PM
    looks like the sample is in
    /opt/puppetlabs/server/apps/puppetserver/tmp/custom_pql_queries.json
  • v

    vchepkov

    07/21/2022, 8:14 PM
    Yep, Nick provided same answer two hours ago in a thread
  • h

    hbui

    07/21/2022, 8:17 PM
    Lol, I missed the thread, too busy following your unthread 🙂
1...151617...73Latest