search for: facter_servtype

Displaying 1 result from an estimated 1 matches for "facter_servtype".

2007 Jun 27
9
Newbie questions...
...te facts out of this information, but for now I''ve kind of kludged it by adding this to /etc/profile.d/puppet.sh (I''m running Fedora) so it ends up in the environment where facter can see it: TMP=`hostname -s` export FACTER_NETLOC=${TMP/-*} TMP=${TMP/$FACTER_NETLOC-} export FACTER_SERVTYPE=${TMP/-*} TMP=${TMP/$FACTER_SERVTYPE-} export FACTER_SERVID=$TMP Ultimately though, I feel like it would be easier if it was possible to use wildcard matches for the case statement, then I could also do things like "dev-build-*" when I need to... * Is it possible to extend built-in...