4259 links
  • Arnaud's links
  • Home
  • RSS Feed
  • Tag cloud
  • Login
search: tag:puppetdb — newest first
  • puppetexplorer/README.md at master · dalen/puppetexplorer · GitHub

    Frontend puppetdb

    May 7, 2017 - permalink - https://github.com/dalen/puppetexplorer/blob/master/README.md
    puppet puppetdb
  • puppetdb query : get last report for all nodes

    curl -s -G http://localhost:8080/pdb/query/v4/reports --data-urlencode 'query=["=","latest_report?","true"]'| jq '.[] | {certname: .certname, receive_time: .receive_time}'

    October 19, 2015 - permalink - https://links.infomee.fr/shaare/N4WFzQ
    puppetdb
  • puppetdb query : get non reporting nodes

    retrieve last_report older than 30 minutes :

    curl -s -G http://localhost:8080/pdb/query/v4/reports --data-urlencode "query=[\"and\",[\"<\",\"receive_time\",\"$(date --utc +%Y-%m-%dT%H:%M -d '30 min ago')\"],[\"=\",\"latest_report?\",\"true\"]]"|jq '.[]| {certname: .certname, receive_time: .receive_time}'

    October 19, 2015 - permalink - https://links.infomee.fr/shaare/CW0tyw
    puppetdb
  • puppetdb ssl setup (jetty)

    Il faut récupérer le ca.pem du puppetmaster, et les certificats du puppetdb en question
    sudo scp $(puppet master --configprint ssldir)/ca/ca_crt.pem puppetdb.example.com:/etc/puppetdb/ssl/ca.pem
    $ sudo scp $(puppet master --configprint ssldir)/private_keys/puppetdb.example.com.pem puppetdb.example.com:/etc/puppetdb/ssl/private.pem
    $ sudo scp $(puppet master --configprint ssldir)/certs/puppetdb.example.com.pem puppetdb.example.com:/etc/puppetdb/ssl/public.pem

    • modifier conf pour prendre tout ça en compte :

    /etc/puppetdb/conf.d/jetty.ini

    The host or IP address to listen on for HTTPS connections

    ssl-host = 0.0.0.0

    The port to listen on for HTTPS connections

    ssl-port = 8081

    Private key path

    ssl-key = /etc/puppetdb/ssl/private.pem

    Public certificate path

    ssl-cert = /etc/puppetdb/ssl/public.pem

    Certificate authority path

    ssl-ca-cert = /etc/puppetdb/ssl/ca.pem

    October 19, 2015 - permalink - https://docs.puppetlabs.com/puppetdb/3.1/install_from_source.html#step-3-option-b-manually-generating-and-preparing-certificates
    puppetdb
  • puppetdb call api en HTTPS

    With SSL:

    curl -X GET https://puppetdb.example.com:8081/pdb/query/v4/resources \
    --tlsv1 \
    --cacert /etc/puppet/ssl/certs/ca.pem \
    --cert /etc/puppet/ssl/certs/thisnode.pem \
    --key /etc/puppet/ssl/private_keys/thisnode.pem \
    --data-urlencode query@

    This requires that you specify a certificate (issued by the same CA PuppetDB trusts), a private key, and a CA certificate.

    In both examples, should be a file that contains the query to execute.

    October 19, 2015 - permalink - https://docs.puppetlabs.com/puppetdb/3.1/api/query/tutorial.html
    puppetdb
  • Frontend puppetdb

    Ya le choix :

    https://github.com/puppet-community/puppetboard
    https://github.com/spotify/puppetexplorer
    https://github.com/propyless/panopuppet

    October 16, 2015 - permalink - https://links.infomee.fr/shaare/ZBgWyQ
    frontend puppetdb
  • propyless/panopuppet

    puppet puppetdb

    April 23, 2015 - permalink - https://github.com/propyless/panopuppet
    puppet puppetdb
  • puppet-community/puppetboard
    April 23, 2015 - permalink - https://github.com/puppet-community/puppetboard#puppet-module
    puppet puppetdb
  • https://github.com/spotify/puppetexplorer

    UI pour puppetdb

    July 2, 2014 - permalink - https://github.com/spotify/puppetexplorer
    puppet puppetdb
  • Consuming JSON REST resource through HTTP - Ruby Intro
    April 18, 2014 - permalink - http://nizhu.github.io/ruby-intro-site/blog/2013/07/31/consuming-json-rest-resource-through-http/
    api puppetdb rest ruby
  • github.com/dalen/dm-puppetdb-adapter

    ror adapter to query puppetdb

    April 7, 2014 - permalink - https://github.com/dalen/dm-puppetdb-adapter
    puppet puppetdb ror
  • dalen/puppetdbquery · Puppet Forge
    March 28, 2014 - permalink - https://forge.puppetlabs.com/dalen/puppetdbquery
    module puppet puppetdb
  • github.com/nedap/puppetboard

    Un frontend pour puppetdn (en python)

    March 27, 2014 - permalink - https://github.com/nedap/puppetboard
    puppet puppetdb
  • Feature #16529: Making puppetdb-terminus available as a gem - PuppetDB - Puppet Labs

    Comment construire la gem puppetdb-terminus à partir des sources github :

    git clone https://github.com/puppetlabs/puppetdb
    git checkout 1.6.2
    cd puppetdb
    cp contrib/gem/puppetdb-terminus.gemspec puppet/
    cd puppet
    modifier le spec pour mettre version=1.6.2
    gem build puppetdb-terminus.gemspec

    Installer la gem : gem install puppetdb-terminus-1.6.2.gem

    March 26, 2014 - permalink - https://projects.puppetlabs.com/issues/16529
    puppet puppetdb
  • Intro to PuppetDB - PuppetConf '12 - YouTube

    Bonnes conf sur puppetdb

    • https://www.youtube.com/watch?v=iGVoqCb9CkA
    • https://github.com/dalen/puppet-puppetdbquery
    • https://github.com/jasonhancock/nagios-puppetdb
    • http://docs.puppetlabs.com/puppetdb/
    March 18, 2014 - permalink - https://www.youtube.com/watch?v=xw83cRofkpM
    puppet puppetdb
  • PuppetDB Highlights from PuppetConf 2013 | Puppet Labs
    • http://puppetlabs.com/blog/introducing-puppetdb-put-your-data-to-work
    • http://docs.puppetlabs.com/puppetdb/
    • http://puppetlabs.com/blog/module-of-the-week-puppetlabs-puppetdb
    March 13, 2014 - permalink - http://puppetlabs.com/blog/puppetdb-highlights-puppetconf-2013?utm_campaign=blog&utm_medium=socnet
    puppet puppetdb