Puppet: System Administration Automated

Support

Ticket #1240 (new defect)

Opened 6 months ago

Last modified 6 months ago

Graphing does not work with puppet (as opposed to puppetd)

Reported by: porridge Assigned to: luke
Priority: normal Milestone:
Component: reports Version:
Severity: normal Keywords: puppet graph graphing
Cc: Triage Stage: Accepted
Attached Patches: None Complexity: Unknown

Description

> I made some attempts yesterday to generate some .dot files by running:
> puppet --graph ./manifests/site.pp
>
> However I could not find any result file around CWD nor in $statedir.
>
> Does anyone know what the status is, or any things I should check for?
> Just so I know before digging deeper into this.

[ Luke said: ]

This isn't working for the puppet executable, just for puppetd. I know what the problem is, but I didn't figure anyone would notice so I didn't bother.

You can hack it right now by adding 'catalog.host_config = true' right after the 'catalog = catalog.to_ral'.

Basically, catalogs have a boolean, 'host_config', that changes their behaviour a good bit (e.g., reporting and graphing). puppetd uses a host_config catalog, and puppet does not.

Please file this as a bug, which will encourage me to fix it.

Change History

05/20/08 22:58:59 changed by immerda

  • owner changed from community to immerda.
  • status changed from new to assigned.

Trying to get puppet known better and to help a bit:

Is commit [cbfce1230a6187ca8c9c96f91fa3d9ede290a68a] (@ http://github.com/duritong/puppet/commit/cbfce1230a6187ca8c9c96f91fa3d9ede290a68a ) fixing this issue? Blame me if it doesn't! ;)

05/21/08 09:15:29 changed by porridge

Unfortunately, it does not seem to help.

05/22/08 08:15:49 changed by jamtur01

  • owner changed from immerda to luke.
  • status changed from assigned to new.
  • stage changed from Unreviewed to Accepted.