Hi,
Can puppet autosign work by giving vlan IP instead of domain?
For example, in the autosign.conf file, instead of using
*.mydomain.org, I want to give 172.18.133.*
But it does not seem to work if I give the IP address. But I don't
want to limit the client from *.mydomain.org by only allow cer
Thank you all. That works!
-Haiyan
On Jun 8, 3:28 pm, Patrick wrote:
> On Jun 8, 2011, at 11:01 AM, hyzhang wrote:
>
> > Hi,
>
> > I have a piece of puppet code. I want puppet do nothing if it is true.
> > How do I do that? Of course this code would not c
Hi,
I have a piece of puppet code. I want puppet do nothing if it is true.
How do I do that? Of course this code would not code.
exec { 'runlevel':
command => $is_virtual ? {
'false' => "/bin/sed -i 's/id:3:initdefault:/id:
5:initdefault:/' /etc/inittab",
'
nality, or use exec.
>
> > --
> > Nathan Clemons
> >http://www.livemocha.com
> > The worlds largest online language learning community
>
> > On Wed, Jun 1, 2011 at 9:19 AM, hyzhang wrote:
>
> > > Hi,
>
> > > My shell script is as below. How
Hi,
My shell script is as below. How do I translate them to puppet
language? I think I can use exec directly. But is there a better way?
/usr/bin/yum clean all
/bin/echo -e "\n/usr/bin/yum -y --enablerepo=base,rpmforge install
mplayer mplayer-skins"
/usr/bin/yum -y --enablerepo=base,rpmforge inst
Connection refused - connect(2)
I can not figure out what is wrong.
Help!!
-Haiyan
On May 23, 5:26 pm, Nan Liu wrote:
> On Mon, May 23, 2011 at 2:06 PM, hyzhang wrote:
> > Hi,
>
> > I wrote acustomfactercalled active_interface and put in /etc/puppet/
> > modu
Hi,
I wrote a custom facter called active_interface and put in /etc/puppet/
modules/networking/lib/facter directory.
Then I did "export RUBYLIB=/etc/puppet/modules/networking/lib" on
puppet master.
On puppet master, it works.
facter active_interface
eth0
But on client, it did not even seem to tr
I have a piece of shell script as below:
ACTIVE_INTERFACE=`/sbin/ifconfig | /bin/gawk ' /^eth/ { print $1 } '
| /usr/bin/head -1`
How do I translate it to puppet code, for example to assign the result
as a variable to use?
Thanks,
-Haiyan
--
You received this message because you are subscribed
We are trying to make puppet to do the some of the kickstart part for
CentOS installation. The kickstart will prompt for hostname, IP, etc,
then install the puppet client to the client. From then on, puppet
would take over.
My question is, how can I pass the variable such as hostname, IP,etc
gotte
Hey
Post back to the group .. you'll probably get more out of it :)
Anyways, on that page you linked to , there is a table:
http://docs.puppetlabs.com/references/latest/type.html#user-3
You are using the useradd provider because puppet is using that
provider behind the scenes. I know it sounds c
Hi,
I try to create a user account for example test1 and set the password
for it. Both puppet master and client are CentOS 5.5.
My code on master:
class localaccountmgmt {
user { 'test1':
allowdupe => 'true',
ensure => 'present',
gid=> '60',
home =>
Thank. I am pasting the entire message here:
Mar 30 14:01:04 puppetclient1 puppet-agent[28571]: Could not request
certificate: Error 500 on SERVER: http://www.w3.org/TR/html4/strict.dtd";>
Ruby (Rack) application could not be started
Hi, I am new to puppet.
I have puppet server set up with passenger. But when I start puppetd
from client, I see following error in the syslog file:
Mar 30 13:52:03 puppetclient1 puppet-agent[29732]: Could not request
certificate: Error 500 on SERVER: http://www.w3.org/TR/html4/strict.dtd";>
rack/files
Thanks,
-Haiyan
On Mar 29, 11:31 am, hyzhang wrote:
> Thank you Miroslaw. I followed instructions from the link. In
> Configure Apache section, there is
>
> cp puppetmaster.conf /etc/httpd/conf.d/
>
> Where is the puppetmaster.conf file? I can not find it anywhere.
g the instructions found
> here:http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger
>
> Hope this helps.
> On Mar 23, 11:25 am, hyzhang wrote:
>
> > Hi,
>
> > My organization is going to set up puppet soon. We have thousands
> > servers and desktops. Woul
nning (piece of cake!).
>
> I can recommend this setup.
>
> ~Charles~
>
> On Wed, Mar 23, 2011 at 10:25 AM, hyzhang wrote:
> > Hi,
>
> > My organization is going to set up puppet soon. We have thousands
> > servers and desktops. Would WEBrick work
Hi,
My organization is going to set up puppet soon. We have thousands
servers and desktops. Would WEBrick work well for this? Or should we
use Passenger?
Thanks,
Haiyan
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, sen
17 matches
Mail list logo