0

What is /sbin/zonename ? Where do I get it for CentOS?

I am trying to use puppet (system administration), and it can't find this command.

2 Answers 2

3

You can use:

yum whatprovides '*bin/zonename'

but our Puppet installs run just fine without it. Are you using the puppet package from EPEL? You'll also want facter from EPEL.

Assuming CentOS 5.x (cat /etc/redhat-release) and an x86_64 architecture (uname -a), after deleting any version of Puppet you installed outside of RPM, just do:

rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-3.noarch.rpm
yum install puppet facter

And that should sort you out nicely. If it doesn't, can you give us the exact error message you're getting, and where and when you're seeing it?

1
  • I got it worked out. I was originally building everything from source. EPEL was definitely much easier :) Jun 26, 2010 at 4:19
5

If I'm not mistaken, zonename is used on Solaris to identify the current local zone.

I don't believe that there is a CentOs equivalent, because CentOS does not use Solaris zones.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .