I am trying to get access to what port is being used by a client when it runs. The ultimate goal is to be able to run production puppet on port 8140, and a staging/test puppet on port 8150. A client could be converted between one or the other by overriding masterport on the command line, but once it has been switched it needs to continue to use that environment. To do so, we''d like to know which port it''s talking to during that run. I tried to use the custom fact located at http://svn.inf-ra.uni-jena.de/trac/sysconf/browser/branches/puppet-test/conf/facts/puppet.rb but that never seems to return anything. I''ve tested a couple of ways: [root@master ~]# export FACTER_LIB=/var/lib/puppet/facts/ [root@master ~]# ls /var/lib/puppet/facts/ puppet.rb [root@master ~]# facter puppetmasterport [root@master ~]# I''ve also tried putting an alert() in, but in both cases no information is returned. Can anyone point me in the right direction? Are we going about this in the wrong manner? Thanks in advance, Matt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---