Coder Social home page Coder Social logo

puppet-puppetdb's People

Contributors

alvagante avatar davids avatar egeland avatar freeaqingme avatar gwarf avatar mburger avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

puppet-puppetdb's Issues

Fully manage the jetty.ini file for puppetdb

Filing this as an issue to better track it (rather than keeping up with the comments on pull request #5)

As part of allowing the selection of http or https serving (needed if you want to offload SSL to a load balancer, as I have), we should fully manage the jetty.ini file.

I am working on this now, as @acaire won't have time for a while.
Should be relatively simple, look for a pull request soon! :)

Can't install puppetdb on CentOS 7.2 vagrant box by puppet

Expected Behavior

PuppetDB installation

Actual Behavior

Getting the following error:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Evaluation Error: Error while evaluating a Function Call, Could not find class ::yum::repo::puppetlabs for puppetmaster at /etc/puppetlabs/code/environments/production/modules/puppetdb/manifests/prerequisites.pp:21:7 on node puppetmaster

Steps to Reproduce the Problem

  1. Install example42/puppetdb module
  2. Add puppetdb class to your puppetserver node
node puppetmaster {
class { 'puppetdb':
  db_type => 'postgresql',
}
}
  1. Restart puppetserver
  2. Run puppet agent -t

Specifications

I'm running puppetserver inside Vagrant VM using puppet centos 7.2 box with preinstalled puppet.

Here's my repos

repo id                    repo name                                      status
base/7/x86_64              CentOS-7 - Base                                 9,007
epel/x86_64                Extra Packages for Enterprise Linux 7 - x86_64 10,494
extras/7/x86_64            CentOS-7 - Extras                                 375
passenger/7/x86_64         passenger                                         176
passenger-source/7         passenger-source                                    0
puppetlabs-deps/x86_64     Puppet Labs Dependencies El 7 - x86_64             17
puppetlabs-pc1/x86_64      Puppet Labs PC1 Repository el 7 - x86_64           86
puppetlabs-products/x86_64 Puppet Labs Products El 7 - x86_64                222
updates/7/x86_64           CentOS-7 - Updates                              2,298
repolist: 22,675

factor puppet/util/puppetdb_validator problem

Hi,

I ran across a problem with puppet/util/puppetdb_validator no longer existing after installing the Example42 modules. I performed a clean install of Puppet Enterprise 3.0 on AWS using a RHEL 6.4 (x64) OS, and then executed the following command:

git clone --recursive git://github.com/example42/puppet-modules-nextgen.git /etc/puppetlabs/puppet/modules

I added the following six lines to the end of the site.pp file:
$monitor = true
$monitor_tools = [ "monit" ]
$firewall = true
$firewall_tools = [ "iptables" ]

include openssh
include iptables
include ntp

Then run the puppet agent command. Here's the output.
[root@puppet-master modules]# puppet agent -t
Info: Retrieving plugin
Error loading fact /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb cannot load such file -- puppet/util/puppetdb_validator
Info: Loading facts in /etc/puppetlabs/puppet/modules/puppi/lib/facter/last_run.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/puppi/lib/facter/puppi_projects.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/rvm/lib/facter/rvm_installed.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/php/lib/facter/php_fact_extension_dir.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/php/lib/facter/php_fact_version.rb
Info: Loading facts in /etc/puppetlabs/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/auth_conf/lib/facter/custom_auth_conf.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/postgresql/lib/facter/postgres_default_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/pe_puppetdb/lib/facter/puppetdb_server_status.rb
Warning: Could not load fact file /opt/puppet/share/puppet/modules/pe_puppetdb/lib/facter/puppetdb_server_status.rb: cannot load such file -- puppet/util/puppetdb_validator
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/root_home.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/pe_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/facter_dot_d.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/stdlib/lib/facter/puppet_vardir.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/concat/lib/facter/concat_basedir.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/pe_common/lib/facter/windows.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_persistent_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/firewall/lib/facter/ip6tables_version.rb
Info: Loading facts in /opt/puppet/share/puppet/modules/firewall/lib/facter/iptables_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/last_run.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/php_fact_extension_dir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/windows.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/root_home.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/php_fact_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/concat_basedir.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/custom_auth_conf.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppi_projects.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/rvm_installed.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/pe_version.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/facter_dot_d.rb
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb
Warning: Could not load fact file /var/opt/lib/pe-puppet/lib/facter/puppetdb_server_status.rb: cannot load such file -- puppet/util/puppetdb_validator
Info: Loading facts in /var/opt/lib/pe-puppet/lib/facter/puppet_vardir.rb
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: Puppet::Parser::AST::Resource failed with error ArgumentError: Could not find declared class puppetdb::server at /opt/puppet/share/puppet/modules/pe_puppetdb/manifests/init.pp:106 on node puppet-master.iqncloud.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run
[root@puppet-master modules]#

Could someone point me in the right direction?

Thanks!
Jason.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.