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

    vchepkov

    03/15/2023, 2:51 PM
    puppet query was moved in a gem you can install
  • v

    vchepkov

    03/15/2023, 2:52 PM
    https://www.puppet.com/docs/puppetdb/7/pdb_client_tools.html#step-2-install-and-configure-the-puppetdb-cli
  • k

    Ken

    03/15/2023, 3:10 PM
    many thanks! newb question - where would I place that example config containing my certs, in my puppetdb.conf?
  • v

    vchepkov

    03/15/2023, 3:12 PM
    not sure, I use it with bolt and it has very specific config and doesn't need additional tool
  • v

    vchepkov

    03/15/2023, 3:14 PM
    Copy code
    To configure the PuppetDB CLI to talk to your PuppetDB with flags, add a configuration file at $HOME/.puppetlabs/client-tools/puppetdb.conf (or %USERPROFILE%.puppetlabs\client-tools\puppetdb.conf for Windows).
  • v

    vchepkov

    03/15/2023, 3:14 PM
    from that web page
    šŸ‘€ 1
  • d

    David Sandilands

    03/15/2023, 3:55 PM
    @Ken it may be adaptable its just the general client tools have specific Puppet Enterprise services
  • d

    David Sandilands

    03/15/2023, 3:55 PM
    @Ken it may be adaptable its just the general client tools have specific Puppet Enterprise services
  • s

    Slackbot

    03/15/2023, 4:16 PM
    This message was deleted.
    r
    • 2
    • 1
  • e

    Elliott

    03/15/2023, 4:29 PM
    Is it possible to host the puppetserver status api on an http port instead of via the https ca/cert/key etc stuff?
  • c

    CVQuesty

    03/15/2023, 4:31 PM
    APIs are behind SSL. I’d wager not.
  • s

    Skylar Thompson

    03/15/2023, 4:33 PM
    Given the level of access that the agent has to a system, I would be pretty leery about not having SSL
  • e

    Elliott

    03/15/2023, 4:54 PM
    /status/v1/simple
    would be nice to be able to hit without mapping the cert/key/cacert
  • y

    Yury Bushmelev

    03/15/2023, 5:04 PM
    You can expose it with nginx e.g.
  • y

    Yury Bushmelev

    03/15/2023, 5:05 PM
    I.e. use nginx to pretend a client with certs and to proxy the answer back via http
  • y

    Yury Bushmelev

    03/15/2023, 5:06 PM
    But just for the location above.. I’d suggest to keep other endpoints behind SSL
  • e

    Elliott

    03/15/2023, 5:23 PM
    Ah that would work.. nice
  • r

    rmeden

    03/15/2023, 9:36 PM
    is it possible to access metaparameter values from within a class definition?
  • n

    natemccurdy

    03/15/2023, 9:38 PM
    @rmeden Which metaparameters, and for what purpose? Can you explain your goal? Do you mean metaparameters used when declaring a class? Like this:
    Copy code
    class { 'foo':
      param1  => false,
      require => Package[foo],
    }
    If so, then the answer's "no".
  • n

    natemccurdy

    03/15/2023, 9:39 PM
    @rmeden Which metaparameters, and for what purpose? Can you explain your goal? Do you mean metaparameters use when declaring a class? Like this:
    Copy code
    class { 'foo':
      param1 => false,
      require => Package[foo],
    }
    If so, then the answer's "no".
  • n

    natemccurdy

    03/15/2023, 9:40 PM
    @rmeden Which metaparameters, and for what purpose? Can you explain your goal? Do you mean metaparameters use when declaring a class? Like this:
    Copy code
    class { 'foo':
      param1  => false,
      require => Package[foo],
    }
    If so, then the answer's "no".
  • n

    natemccurdy

    03/15/2023, 9:40 PM
    @rmeden Which metaparameters, and for what purpose? Can you explain your goal? Do you mean metaparameters used when declaring a class? Like this:
    Copy code
    class { 'foo':
      param1  => false,
      require => Package[foo],
    }
    If so, then the answer's "no".
  • r

    rmeden

    03/15/2023, 9:45 PM
    @natemccurdy yes, and darn. šŸ™‚ (was looking to do stuff based on the schedule metaparam). Thanks.
  • r

    rmeden

    03/15/2023, 9:46 PM
    @natemccurdy yes, and darn. šŸ™‚ (was looking to do stuff based on the schedule metaparam). Thanks.
  • s

    Slackbot

    03/15/2023, 9:52 PM
    This message was deleted.
    n
    r
    v
    • 4
    • 7
  • j

    jhoblitt

    03/15/2023, 9:59 PM
    has anyone gotten an augea ini lens to work with nfs.conf?
    Copy code
    augtool> set /augeas/load/Puppet/incl /etc/nfs.conf
    error: Too many matches for path expression
  • j

    jhoblitt

    03/15/2023, 10:00 PM
    a) nobody should the ini format as there are so many ill defined variants of it b) augeas always makes me feel dumb
  • j

    jhoblitt

    03/15/2023, 10:02 PM
    eh
  • j

    jhoblitt

    03/15/2023, 10:02 PM
    have to run augtool with -A
  • j

    jhoblitt

    03/15/2023, 10:02 PM
    Copy code
    augtool> set /augeas/load/Puppet/lens Puppet.lns
    augtool> set /augeas/load/Puppet/incl /etc/nfs.conf
    augtool> load
    augtool> print /files//etc/nfs.conf
    /files/etc/nfs.conf
1...327328329...428Latest