install package through manifests

60 views
Skip to first unread message

fauzi.p...@gmail.com

unread,
Nov 28, 2014, 4:15:38 AM11/28/14
to puppet...@googlegroups.com
Hai everyone, can someone help me?
I'm new in puppet, How can I install package at puppet agent through puppet master by using manifests. Then ,can we schedule the command from puppet master ?

Thomas Hager

unread,
Nov 28, 2014, 4:49:27 AM11/28/14
to puppet...@googlegroups.com
On 2014-11-28 10:15, fauzi.p...@gmail.com wrote:
> Hai everyone, can someone help me?
Hi,

> I'm new in puppet, How can I install package at puppet agent through
> puppet master by using manifests.
Sure, as long as the packages are supported by a provider. Take a look
at the
package provider reference for details:
https://docs.puppetlabs.com/references/latest/type.html#package

> Then ,can we schedule the command from puppet master ?
You can use puppet kick to trigger an agent run from the master in
Puppet 3.x.
puppet kick is deprecated and no longer supported in Puppet 4.x though.

Hth,
Tom.

Spencer Krum

unread,
Nov 28, 2014, 4:59:39 AM11/28/14
to puppet...@googlegroups.com
Then ,can we schedule the command from puppet master ?

You can use puppet kick to trigger an agent run from the master in Puppet 3.x.
puppet kick is deprecated and no longer supported in Puppet 4.x though.


It is much more common to run the puppet agent(client) daemon on the client machines than to use Puppet kick. The daemon will check into the Puppet master every 20 minutes or so.





--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/1915783d2163a18b7ce2eabb7a12fd0a%40sigsegv.at.

For more options, visit https://groups.google.com/d/optout.



--
Spencer Krum
(619)-980-7820

fauzi.p...@gmail.com

unread,
Nov 30, 2014, 9:57:50 PM11/30/14
to puppet...@googlegroups.com, krum.s...@gmail.com
Can I use yum update on puppet master then make it also changes in puppet agent? I dont know the step, could you please show me the step if it can be done. Thank you


On Friday, November 28, 2014 5:59:39 PM UTC+8, Spencer Krum wrote:
Then ,can we schedule the command from puppet master ?

You can use puppet kick to trigger an agent run from the master in Puppet 3.x.
puppet kick is deprecated and no longer supported in Puppet 4.x though.


It is much more common to run the puppet agent(client) daemon on the client machines than to use Puppet kick. The daemon will check into the Puppet master every 20 minutes or so.


On Fri, Nov 28, 2014 at 1:49 AM, Thomas Hager <du...@sigsegv.at> wrote:
On 2014-11-28 10:15, fauzi.p...@gmail.com wrote:
Hai everyone, can someone help me?
Hi,

I'm new in puppet, How can I install package at puppet agent through
puppet master by using manifests.
Sure, as long as the packages are supported by a provider. Take a look at the
package provider reference for details:
https://docs.puppetlabs.com/references/latest/type.html#package

Then ,can we schedule the command from puppet master ?
You can use puppet kick to trigger an agent run from the master in Puppet 3.x.
puppet kick is deprecated and no longer supported in Puppet 4.x though.

Hth,
Tom.


--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users...@googlegroups.com.



--
Spencer Krum
(619)-980-7820

jcbollinger

unread,
Dec 1, 2014, 9:08:38 AM12/1/14
to puppet...@googlegroups.com


On Sunday, November 30, 2014 8:57:50 PM UTC-6, fauzi.p...@gmail.com wrote:
Can I use yum update on puppet master then make it also changes in puppet agent? I dont know the step, could you please show me the step if it can be done. Thank you



No, Puppet does not work that way, and I don't see why anyone would want it to do.  What a frightening prospect.


John

fauzi.p...@gmail.com

unread,
Dec 1, 2014, 9:11:54 PM12/1/14
to puppet...@googlegroups.com
thanks for the reply, is it will make puppet connection lost or something bad happen if we use yum update ?

Thomas Hager

unread,
Dec 2, 2014, 3:20:59 AM12/2/14
to puppet...@googlegroups.com
On 2014-12-02 03:11, fauzi.p...@gmail.com wrote:
> thanks for the reply, is it will make puppet connection lost or
> something bad happen if we use yum update ?
That's not really a Puppet question, but a question every sysadmin has
to answer
himself. Which updates are applied in your environment with yum update,
which services
and files are affected by the updates, and so on.

You probably should not use yum or Puppet, if you don't know what effect
those
tools can have on your environment.

Br,
Tom.

jcbollinger

unread,
Dec 2, 2014, 9:06:30 AM12/2/14
to puppet...@googlegroups.com


On Monday, December 1, 2014 8:11:54 PM UTC-6, fauzi.p...@gmail.com wrote:
thanks for the reply, is it will make puppet connection lost or something bad happen if we use yum update ?



Let me be more explicit: you can update Puppet or any other software on the master via "yum update", but that does not inherently have any effect on nodes running the agent, except inasmuch as you may run into incompatibilities between older agents and newer masters.  Puppet does not in general cause agent nodes to mirror the master, neither overall nor with respect to their Puppet implementation.  If you do update Puppet on the master, you should probably shut down the puppetmaster service first, and start the updated version after..


John

fauzi.p...@gmail.com

unread,
Dec 2, 2014, 10:01:33 PM12/2/14
to puppet...@googlegroups.com
Thanks for the explanation. It really help me to understand about this. 
Reply all
Reply to author
Forward
0 new messages