Skip to content

Instantly share code, notes, and snippets.

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@el7 ~]# /opt/puppet/bin/nc_migrate import --input converted-dashboard-classification.json
Exception in thread "main" java.lang.IllegalArgumentException: No implementation of method: :get-groups of protocol: #'puppetlabs.classifier.storage/PrimitiveStorage found for class: clojure.lang.LazySeq
at clojure.core$_cache_protocol_fn.invoke(core_deftype.clj:555)
at puppetlabs.classifier.storage$fn__5310$G__5257__5315.invoke(storage.clj:11)
at puppetlabs.redrover.import$merge_hierarchy.invoke(import.clj:153)
at puppetlabs.redrover.import$import_BANG_.invoke(import.clj:172)
at puppetlabs.redrover.main$main_STAR_.doInvoke(main.clj:195)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invoke(core.clj:626)
at puppetlabs.redrover.main$_main$fn__10193.invoke(main.clj:207)
[root@el7 ~]# cat dashboard-classification-export.json
{
"groups" : [ {
"name" : "foogroup",
"description" : "",
"nodes" : [ "el7" ],
"variables" : { },
"classes" : { },
"parents" : [ "parent0" ]
}, {
[root@el7 ~]# cat dashboard-classification-export.json
{
"groups" : [ {
"name" : "foogroup",
"description" : "",
"nodes" : [ "el7" ],
"variables" : { },
"classes" : { },
"parents" : [ "myparent" ]
}, {
@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
uvd31mk36d20f9f:~ root# which facter
uvd31mk36d20f9f:~ root# /opt/puppet/bin/facter
architecture => x86_64
augeasversion => 1.2.0
domain => delivery.puppetlabs.net
facterversion => 2.2.0
fqdn => uvd31mk36d20f9f.delivery.puppetlabs.net
gid => wheel
hardwareisa => i386
hardwaremodel => x86_64
@MosesMendoza
MosesMendoza / gist:81ddd8c33e89074da628
Created August 8, 2014 17:48
data service test set
@platform_info =
{ :el =>
{ :'4' => { :arches => [:i386, :x86_64], :support => true, :repo => false, :pkg => :rpm, :signature_format => :'v3', :build_with => :mock, :installer_format => :tar },
:'5' => { :arches => [:i386, :x86_64], :support => true, :repo => true, :pkg => :rpm, :signature_format => :'v3', :build_with => :mock, :installer_format => :tar },
:'6' => { :arches => [:i386, :x86_64], :support => true, :repo => true, :pkg => :rpm, :signature_format => :'v4', :build_with => :mock, :installer_format => :tar } ,
:'7' => { :arches => [:x86_64], :support => true, :repo => true, :pkg => :rpm, :signature_format => :'v4', :build_with => :mock, :installer_format => :tar } } }