Skip to content

Instantly share code, notes, and snippets.

@MosesMendoza
MosesMendoza / pe-puppetserver-daemon.log
Last active November 24, 2017 07:15
puppet server fail errors
root@trusty:~/puppet-enterprise-3.8.0-rc0-273-gcc479aa-ubuntu-14.04-amd64# cat /var/log/pe-puppetserver/pe-puppetserver-daemon.log
Failed to load feature test for posix: can't find user for 0
Cannot run on Microsoft Windows without the win32-process, win32-dir and win32-service gems: Win32API only supported on win32
Puppet::Error: Cannot determine basic system flavour
(root) at /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet/feature/base.rb:32
require at org/jruby/RubyKernel.java:1071
(root) at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:1
require at /opt/puppet/share/puppetserver/puppet-server-release.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/core_ext/kernel_require.rb:55
Puppet at /opt/puppet/lib/ruby/site_ruby/1.9.1/puppet.rb:75
require at org/jruby/RubyKernel.java:1071
diff --git a/lib/puppet/graph/relationship_graph.rb b/lib/puppet/graph/relationship_graph.rb
index 83ee3ab..ec0f007 100644
--- a/lib/puppet/graph/relationship_graph.rb
+++ b/lib/puppet/graph/relationship_graph.rb
@@ -102,8 +102,10 @@ class Puppet::Graph::RelationshipGraph < Puppet::Graph::SimpleGraph
overly_deferred_resource_handler = options[:overly_deferred_resource_handler] || lambda { |resource| }
canceled_resource_handler = options[:canceled_resource_handler] || lambda { |resource| }
teardown = options[:teardown] || lambda {}
-
- report_cycles_in_graph
# Install
f91rrehz5b6tx01.delivery.puppetlabs.net (windows-2008-64-2) 09:31:47$ cmd.exe /c sc qc puppet || sc qc pe-puppet
[SC] QueryServiceConfig SUCCESS
SERVICE_NAME: puppet
TYPE : 10 WIN32_OWN_PROCESS
START_TYPE : 3 DEMAND_START
ERROR_CONTROL : 1 NORMAL
BINARY_PATH_NAME : "C:\Program Files\Puppet Labs\Puppet\sys\ruby\bin\ruby.exe" -rubygems "C:\Program Files\Puppet Labs\Puppet\service\daemon.rb"
irb(main):003:0> Puppet::Util::Windows::SID::Principal.lookup_account_name('NT AUTHORITY\\SYSTEM')
=> #<Puppet::Util::Windows::SID::Principal:0x00000005ff8b10 @account="SYSTEM", @sid_bytes=[1, 1, 0, 0, 0, 0, 0, 5, 18, 0, 0, 0], @sid="S-1-5-18", @domain="NT-AUTORIT\u00C4T", @account_type=:SidTypeWellKnownGroup, @domain_account="NT-AUTORIT\u00C4T\\SYSTEM">
irb(main):004:0>
# Powershell specific argument passing
# You must be on the latest beta of chocolatey for this to work properly (redownload files)
# Based on https://gist.github.com/ferventcoder/947479688d930e28d632
$originalPath = $env:PATH
$rubyList = (@"
[
{
"choco_version": "1.9.3.55100",
root@cumulus:~/puppet-enterprise-3.2.0-rc0-986-g90cd985-cumulus-1.5-powerpc# /opt/puppet/bin/facter --puppet --yaml --debug --trace
value for lsbdistid is still nil
Not an EC2 host
value for cfkey is still nil
value for lsbdistid is still nil
value for ipaddress6_eth0 is still nil
value for ipaddress6_lo is still nil
value for macaddress_lo is still nil
value for ipaddress6 is still nil
Found no suitable resolves of 2 for iphostnumber
root@cumulus:~# puppet resource service
service { 'aclinit':
ensure => 'stopped',
enable => 'true',
}
service { 'acltool':
ensure => 'stopped',
enable => 'true',
}
service { 'arp_refresh':
0 moses@heimdall:packaging:(3.2.x)$ rake deb:pkg PKG=ruby-augeas
(in /home/moses/enterprise-dist-30x/enterprise-dist)
/home/moses/enterprise-dist-30x/enterprise-dist/Rakefile:47: warning: Hash#index is deprecated; use Hash#key
/home/moses/enterprise-dist-30x/enterprise-dist/Rakefile:47: warning: Hash#index is deprecated; use Hash#key
/home/moses/enterprise-dist-30x/enterprise-dist/Rakefile:47: warning: Hash#index is deprecated; use Hash#key
/home/moses/enterprise-dist-30x/enterprise-dist/Rakefile:47: warning: Hash#index is deprecated; use Hash#key
/home/moses/enterprise-dist-30x/enterprise-dist/Rakefile:47: warning: Hash#index is deprecated; use Hash#key
/home/moses/enterprise-dist-30x/enterprise-dist/Rakefile:47: warning: Hash#index is deprecated; use Hash#key
/home/moses/enterprise-dist-30x/enterprise-dist/Rakefile:47: warning: Hash#index is deprecated; use Hash#key
/home/moses/enterprise-dist-30x/enterprise-dist/Rakefile:47: warning: Hash#index is deprecated; use Hash#key
aptitude_0.6.8.2-1_powerpc.deb
aptitude-common_0.6.8.2-1_all.deb
ccache_3.1.7-1_powerpc.deb
cdbs_0.4.115+deb7u1_all.deb
cowdancer_0.70_powerpc.deb
debhelper_9.20120909_all.deb
gettext_0.18.1.1-9_powerpc.deb
gettext-base_0.18.1.1-9_powerpc.deb
html2text_1.3.2a-15_powerpc.deb
intltool-debian_0.35.0+20060710.1_all.deb
Notice: /Stage[main]/Debbuilder::Setup::Cows/Debbuilder::Setup::Cow_exec[wheezy]/Exec[wheezy-powerpc]/returns: + which debootstrap
Notice: /Stage[main]/Debbuilder::Setup::Cows/Debbuilder::Setup::Cow_exec[wheezy]/Exec[wheezy-powerpc]/returns: /usr/sbin/debootstrap
Notice: /Stage[main]/Debbuilder::Setup::Cows/Debbuilder::Setup::Cow_exec[wheezy]/Exec[wheezy-powerpc]/returns: + :
Notice: /Stage[main]/Debbuilder::Setup::Cows/Debbuilder::Setup::Cow_exec[wheezy]/Exec[wheezy-powerpc]/returns: + cd /var/cache/pbuilder/base-wheezy-powerpc.cow
Notice: /Stage[main]/Debbuilder::Setup::Cows/Debbuilder::Setup::Cow_exec[wheezy]/Exec[wheezy-powerpc]/returns: + debootstrap --arch=powerpc --include=apt --arch powerpc --variant=buildd --keyring /usr/share/keyrings/debian-archive-keyring.gpg --keyring=/usr/share/keyrings/puppetlabs-keyring.gpg --keyring=/usr/share/keyrings/debian-archive-keyring.gpg wheezy . http://enterprise.delivery.puppetlabs.net/networking/cumulus1.5
Notice: /Stage[main]/Debbuilder::Setup::Cows/Debbuilder::Se