diff options
author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-12 21:33:54 +0000 |
---|---|---|
committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-12-12 21:33:54 +0000 |
commit | 8829aa7d489fffaba31c0ff8ac4ff0562357551c (patch) | |
tree | 99fde22b54d529f04a8fa66520601da9e07a77f4 /lib/puppet/pgraph.rb | |
parent | 4abbdc13f4a1762eb5d848763dde1780f6408de8 (diff) | |
download | puppet-8829aa7d489fffaba31c0ff8ac4ff0562357551c.tar.gz puppet-8829aa7d489fffaba31c0ff8ac4ff0562357551c.tar.xz puppet-8829aa7d489fffaba31c0ff8ac4ff0562357551c.zip |
Adding a metatype to manage resources of a specified type. For now, this metatype just supports purging unmanaged resources. Also, fixed a few tests here and there
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1912 980ebf18-57e1-0310-9a29-db15c13687c0
Diffstat (limited to 'lib/puppet/pgraph.rb')
-rw-r--r-- | lib/puppet/pgraph.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/pgraph.rb b/lib/puppet/pgraph.rb index d988ff36a..a8ff952ed 100644 --- a/lib/puppet/pgraph.rb +++ b/lib/puppet/pgraph.rb @@ -111,9 +111,9 @@ class Puppet::PGraph < GRATR::Digraph # For some reason, unconnected vertices do not show up in # this graph. - def to_jpg(name) + def to_jpg(path, name) gv = vertices() - Dir.chdir("/Users/luke/Desktop/pics") do + Dir.chdir(path) do induced_subgraph(gv).write_to_graphic_file('jpg', name) end end |