Hi All,
Greetings of the day 

I am very new to puppet and have completed puppetserver and puppetDB 
installation with different servers.Both are installed with latest 
versions.here is the version informatio

# puppetserver --version
puppetserver version: 2.7.2

puppetdb --version
puppetdb version: 4.3.2

# puppet --version -- puppet agent version
4.9.4

need small clarification,is it required to restart the puppet agent server 
while install first time ? because I have installed puppet agent on server 
and it was showing the error like below 

 

[root@etstestdom1 puppet]# puppet agent -tv

bash: puppet: command not found...


after reboot the agent server we are able to run the command  and working 
perfectly. please confirm any one need to restart the server?

and second query,I have modified manifest file and added site.pp file and 
ran the command on agent and working at first time.for example 


I have added these lines to site.pp

node 'test-puppetagent01.asia.com' {

user { 'sairam':

  ensure     => present,

  uid        => '1001',

  shell      => '/bin/bash',

  home       => '/home/sairam',

}


ran the command on agent server puppet agent -tv and updated as well. at 
the same file modified like below 


node 'test-puppetagent01.asia.manh.com' {

user { 'sairam':

  ensure     => present,

  uid        => '1001',

  shell      => '/bin/bash',

  home       => '/home/sairam',

}

service {'haproxy':

        ensure => 'running',

}

}

just added the service haproxy after ran the command on agent it was noy 
update the modification.after that i have reload the site.pp then it was 
updated on agent .please confirm any one need to reload the site.pp every 
modification?it is auto update?

please help me in this situation.

Thanks & Regards,
Koti G

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-dev/86b58698-f50a-470a-ba79-f10fce7a2e45%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to