Is configuring Mcollective only way to have "puppet run" button working? Is
there any other options. Also, if i want to have mcollective configured,
where do i install the clients, plugins? I have a foreman interface on one
of my puppet master which is also the ca server. Please help. I'm kind of
lost in here
It's not. Check out puppet smart-proxy configuration. You have several
other options including simple "ssh" runner.
LZ
···
On Mon, Jul 14, 2014 at 02:45:14PM -0700, huhm4n wrote: > Is configuring Mcollective only way to have "puppet run" button working? Is > there any other options. Also, if i want to have mcollective configured, > where do i install the clients, plugins? I have a foreman interface on one > of my puppet master which is also the ca server. Please help. I'm kind of > lost in here > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.–
Later,
Lukas “lzap” Zapletal
Lukas , you mention stuff in the Foreman Proxies page. I don't see anything
around SSH or anything just the normal certs, tftp, etc. I am missing
something?
···
On Tuesday, July 15, 2014 5:45:14 AM UTC+8, huhm4n wrote: > > Is configuring Mcollective only way to have "puppet run" button working? > Is there any other options. Also, if i want to have mcollective configured, > where do i install the clients, plugins? I have a foreman interface on one > of my puppet master which is also the ca server. Please help. I'm kind of > lost in here >Yo. Easy peasy. Its actually one of the easier modules I've gotten working
with Foreman.
So first you need to go into classes and set the "use puppet certs"
parameter to Boolean:True. This I do for the func::minion, func::overlord,
and certmaster classes.
Then I go to my host groups and add func:minion and cetmaster to all minion
hosts. I then manually add the func::overlord class to the foreman master
(or whatever you want the master to be, but I think in order for use puppet
certs to work, the overlord has to be on the puppet master.) The overlord
inherits the minion class and certmaster classes so the the overlord can
run commands on itself. Works quite well, tho it might not be the optimal
way of doing this.
So the key thing is making sure the modules you run in foreman have good
parametrization settings.
This modules is good. Also you should take a look at the puppet labs ntp
module.
I have screen caps if you need them, but when I first tried posting this
they got scrambled or something. If you look in those places you'll see
what I am talking about.
R
···
On Tuesday, July 15, 2014 5:45:14 AM UTC+8, huhm4n wrote: > > Is configuring Mcollective only way to have "puppet run" button working? > Is there any other options. Also, if i want to have mcollective configured, > where do i install the clients, plugins? I have a foreman interface on one > of my puppet master which is also the ca server. Please help. I'm kind of > lost in here >Thanks a lot. Looks like it is working on the server on which I have puppet
master, ca and foreman interface. And I have smart proxies setup on other
puppet masters, I can add them on foreman interface but the nodes from
those masters are not showing up. Am I missing something here. Thanks in
advance
···
On Tuesday, July 15, 2014 12:20:22 AM UTC-7, Lukas Zapletal wrote: > > It's not. Check out puppet smart-proxy configuration. You have several > other options including simple "ssh" runner. > > LZ > > On Mon, Jul 14, 2014 at 02:45:14PM -0700, huhm4n wrote: > > Is configuring Mcollective only way to have "puppet run" button working? > Is > > there any other options. Also, if i want to have mcollective configured, > > where do i install the clients, plugins? I have a foreman interface on > one > > of my puppet master which is also the ca server. Please help. I'm kind > of > > lost in here > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > -- > Later, > Lukas "lzap" Zapletal >Sorry I mean foreman-proxy yaml configuration, there you can configure
ssh runner for example.
LZ
···
On Tue, Jul 15, 2014 at 04:11:16PM -0700, Robert Vernon wrote: > Lukas , you mention stuff in the Foreman Proxies page. I don't see anything > around SSH or anything just the normal certs, tftp, etc. I am missing > something? > > On Tuesday, July 15, 2014 5:45:14 AM UTC+8, huhm4n wrote: > > > > Is configuring Mcollective only way to have "puppet run" button working? > > Is there any other options. Also, if i want to have mcollective configured, > > where do i install the clients, plugins? I have a foreman interface on one > > of my puppet master which is also the ca server. Please help. I'm kind of > > lost in here > > > > -- > You received this message because you are subscribed to the Google Groups "Foreman users" group. > To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscribe@googlegroups.com. > To post to this group, send email to foreman-users@googlegroups.com. > Visit this group at http://groups.google.com/group/foreman-users. > For more options, visit https://groups.google.com/d/optout.–
Later,
Lukas @lzap Zapletal
What I did was just install FUNC <https://fedorahosted.org/func/>. I
installed this puppet module from the Forge (razorsedge/func
<https://forge.puppetlabs.com/razorsedge/func>), set it to use puppet certs.
Now if I want to run something I can go to the puppet master (also my
foreman master) and run func ping nodename, etc.
Can easily add to cron on the foreman master to run distributed commands.
Works better than MCollective, which I thought was a bit clunky and not
very responsive. When I tested it I was using the PE webbrick, so that
might have been the issue. Going forward I might revisit MCollective, when
I rebuild my lab later this year, but I've been waitting for the open
source config documentation to be a little clearer.
I am also aware of Ansible, but I haven't played with that yet, tho a
client of mine does, so I anticipate testing that soon as well.
R
···
On Wednesday, July 16, 2014 1:22:02 AM UTC+8, huhm4n wrote: > > Thanks a lot. Looks like it is working on the server on which I have > puppet master, ca and foreman interface. And I have smart proxies setup on > other puppet masters, I can add them on foreman interface but the nodes > from those masters are not showing up. Am I missing something here. Thanks > in advance > > On Tuesday, July 15, 2014 12:20:22 AM UTC-7, Lukas Zapletal wrote: >> >> It's not. Check out puppet smart-proxy configuration. You have several >> other options including simple "ssh" runner. >> >> LZ >> >> On Mon, Jul 14, 2014 at 02:45:14PM -0700, huhm4n wrote: >> > Is configuring Mcollective only way to have "puppet run" button >> working? Is >> > there any other options. Also, if i want to have mcollective >> configured, >> > where do i install the clients, plugins? I have a foreman interface on >> one >> > of my puppet master which is also the ca server. Please help. I'm kind >> of >> > lost in here >> > >> > -- >> > You received this message because you are subscribed to the Google >> Groups "Foreman users" group. >> > To unsubscribe from this group and stop receiving emails from it, send >> an email to foreman-user...@googlegroups.com. >> > To post to this group, send email to forema...@googlegroups.com. >> > Visit this group at http://groups.google.com/group/foreman-users - >> private . >> > For more options, visit https://groups.google.com/d/optout - private >> . >> >> -- >> Later, >> Lukas "lzap" Zapletal >> >Robert, Thanks for your suggestion. I download the module but I'm not sure
how should I add the classes on nodes and on masters from foreman
interface. I cannot use site.pp as it is depreciated by foreman and I'm
lost on how to configure it from the web interface. Am I missing something?
···
On Wednesday, July 16, 2014 3:46:21 AM UTC-7, Lukas Zapletal wrote: > > Sorry I mean foreman-proxy yaml configuration, there you can configure > ssh runner for example. > > LZ > > On Tue, Jul 15, 2014 at 04:11:16PM -0700, Robert Vernon wrote: > > Lukas , you mention stuff in the Foreman Proxies page. I don't see > anything > > around SSH or anything just the normal certs, tftp, etc. I am missing > > something? > > > > On Tuesday, July 15, 2014 5:45:14 AM UTC+8, huhm4n wrote: > > > > > > Is configuring Mcollective only way to have "puppet run" button > working? > > > Is there any other options. Also, if i want to have mcollective > configured, > > > where do i install the clients, plugins? I have a foreman interface on > one > > > of my puppet master which is also the ca server. Please help. I'm kind > of > > > lost in here > > > > > > > -- > > You received this message because you are subscribed to the Google > Groups "Foreman users" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to foreman-user...@googlegroups.com . > > To post to this group, send email to forema...@googlegroups.com > . > > Visit this group at http://groups.google.com/group/foreman-users. > > For more options, visit https://groups.google.com/d/optout. > > -- > Later, > Lukas @lzap Zapletal >Is it possible to make "puppet run" button enable for Windows nodes? If so,
how? Thanks in advance
···
On Thursday, July 17, 2014 7:47:31 AM UTC-7, Lukas Zapletal wrote: > > Hello, > > read this first: http://theforeman.org/manuals/1.5/#4.2ManagingPuppet > > LZ > > -- > Later, > Lukas #lzap Zapletal >I do not know if this is possible for windows. Mostly you require
mcollective for that. I also do not know if adding Func will give you
puppet run from the web interface. I only use the web internface for
provisioning and CM, notifications. When I want to run commands on a set of
servers I log into the foreman master via ssh, figure out how I need to
structure my commands and call FUNC via the command line.
···
On Tue, Jul 22, 2014 at 5:39 AM, huhm4n wrote:Is it possible to make “puppet run” button enable for Windows nodes? If
so, how? Thanks in advanceOn Thursday, July 17, 2014 7:47:31 AM UTC-7, Lukas Zapletal wrote:
Hello,
read this first: Foreman :: Manual
LZ
–
Later,
Lukas #lzap Zapletal–
You received this message because you are subscribed to a topic in the
Google Groups “Foreman users” group.
To unsubscribe from this topic, visit
https://groups.google.com/d/topic/foreman-users/wjZuRd_zDa8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to
foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.
–
Robert Vernon