Displaying 20 results from an estimated 1000 matches similar to: "how to trigger puppet run on agents remotely"
2012 Aug 29
1
dmz network configuration
Hi all,
I need to install puppet agent on some DMZ hosts, so I need to have
all TCP ports.
Can anyone tell me what the data flow is between agents and the master?
Also, what would be the case when using MCollective, inseatad of puppet kick?
Thanks.
--
Beware of programmers who carry screwdrivers!
--
You received this message because you are subscribed to the Google Groups "Puppet
2011 Oct 24
6
Scalability, Dashboard/Foreman, and MCollective
I''ve been trying to find information, suggestions, etc. for how to combine
scaling Puppet with the use of management tools like Dashboard/Foreman and
MCollective. Our current thinking for an initial deployment is two VMs as
Puppet Master worker nodes fronted by a pair of NetScalers. However, I''m not
sure how to go about implementing Dashboard or Foreman and MCollective
servers in
2013 Jul 01
1
Puppet with Mcollective, which modules and how ? (TheForeman)
Hi All,
I have a working installation of a Puppet Master (CA) with Puppet agents,
this using The Foreman. I really see the usage of Puppet this way but
because The Foreman supports pushing your classes/templates to you nodes
(agents) and uses the depricated Run/Kick for it I''m looking into
Mcollective.
Mcollective is supported by The Foreman since 1.2, the version I''m
2005 May 25
5
Patch to fix dynamic add/delete to zone functinality
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I''m running systems with openswan and modified _updown script supporting
shorewall dynamic hosts. Because on problems with cvs head version of
openswan I found a error from shorewall dynamic hosts support. When host
is already in zone shorewall aborts adding process with error. This is
not good thing(tm).
I found out that deleting host from
2015 Oct 31
3
use pssh to restart a service
>
> What does the sudo log say?
This is all the secure logs say about the ssh session:
[root at logs:~] #tail -f /var/log/secure
Oct 31 19:15:20 logs sshd[24407]: Accepted publickey for bluethundr from
47.18.111.100 port 47469 ssh2: RSA
ae:62:1f:de:54:89:af:2c:10:16:0e:fd:8d:7e:81:06
Oct 31 19:15:21 logs sshd[24407]: pam_unix(sshd:session): session opened
for user bluethundr by (uid=0)
2015 Oct 31
4
use pssh to restart a service
Hi all,
I need to restart a service on a few elasticsearch nodes. I'm trying to do
it with pssh.
I'm getting this error when I try to do that:
pssh -h es_list "/bin/sudo -S /bin/systemctl restart elasticsearch"
[1] 17:01:50 [FAILURE] bluethundr at es2.example.com Exited with error code 1
[2] 17:01:51 [FAILURE] bluethundr at es3.example.com Exited with error code 1
[3]
2012 Aug 09
1
hiera scope and hiera-foreman
Hey all,
I''ve been messing around with the hiera-foreman backend to see if it would
let me migrate to hiera and use foreman and an ENC.
https://github.com/torrancew/hiera-foreman
It works by querying each node''s yaml file from foreman. Currently this
code works when called from the hiera command line with the -m (mcollective
option). It uses the mcollective facts to pull
2015 Oct 31
1
use pssh to restart a service
>
> Have you tried running the command from a conventional login?
> sudo -S
> expects a password from stdin, where is that being supplied?
Yep! That works fine.
#ssh -qt bluethundr at es1.example.com "/bin/sudo -S /bin/systemctl restart
elasticsearch"
#ssh -qt bluethundr at es1.example.com "/bin/echo $?"
0
And the user has 'NOPASSWD' access.
Any
2012 Jan 27
4
Puppet agents stop reporting after master runs out of disk space...
I am experiencing a curious event, and wondering if others have seen
this... As well, I have a question related to it.
Today, I noticed my puppet summary report from Foreman this morning,
that 60 of my 160 hosts all stopped reporting at nearly the exact same
time, and have not since restarted. Investigating, it appears that my
puppetmaster temporarily ran out of disk space on the /var
2012 Oct 09
6
upgrade to 3.0, ruby and rhel 5
Hi all,
I wanted to upgrade today the clients to 3.0 but, for RHEL 5, ruby
1.8.7 is not in the official repos. If we upgrade from the official
(1.8.5) package to the puppetlabs provided one, there is a good chance
that we will lose support for several applications that we are
running.
Is there a way around this? (except upgrading to PE, which will come
next year :D )
Thanks.
--
You received
2011 Oct 25
2
Did not find a test named RAW-*
Hi,
I am facing problem while running RAW tests. When i run following command, i
get the error stating "Did not find a test named RAW-*".
Command ::
root at nishant-ThinkCentre-A85:/home/nishan# smbtorture //nishant/base
-Uuser1%base_ubuntu RAW-*
using seed 1319521290
host=nishant share=base user=user1 myname=nishant-ThinkCentre-A85
Did not find a test named RAW-*
Please help me
2016 Jul 12
3
Best practice to shutdown hosts which has not NUT via upssched
Hi
?? I need to shutdown a number of hosts which has not NUT from one which has it.
?? I tried to do it from upssched script (after upssched's timer) like this:
case $1 in
??????? earlyshutdown)
??????????????? logger -t upssched-cmd "Early shutdown is started"
??????????????? /bin/sh /usr/local/sbin/shutdown-all-hosts.sh
??????????????? /usr/local/sbin/upsmon -c fsd
2012 May 17
6
Question about plans for the forge.
Currently and going forward people will be running multiple versions
of puppet. What are the plans for puppet compatibility with Modules?
Thinking we may want to be able to specify what version of Puppet is
running and ask for the compatible module. (Which may be the same).
Thanks,
Brian
--
You received this message because you are subscribed to the Google Groups "Puppet Users"
2015 Nov 02
2
use pssh to restart a service
Hey Gordon,
Sorry, man my bad! Disabling the tty requirement for my sudo user does
indeed work. I had a type-o in the sudoers file, and when I corrected it,
my sudo command via pssh started working!
#pssh -i -h es_list "/bin/sudo /bin/systemctl restart elasticsearch; sleep
10"
[1] 20:31:32 [SUCCESS] bluethundr at es3.jokefire.com
Stderr: sudo: sorry, you must have a tty to run sudo
2011 Nov 18
3
Problem in reading a file using smbclient.
Hi all,
I am facing a problem in reading the file contents using smbclient.
Command:: bin/smbclient //localhost/ubuntu -Ubase%base_system
The smb prompt appears, when read the file without smbclient it contains
some data, but when try to read through smbclient ie. "print <filename>"
it erases all data present inside the file.
Why is this happening and how to read and write to
2011 Aug 17
4
How to use Oniguruma in ruby 1.9.2?
Hello Guys ,
Can anyone explain me how to use Oniguruma in ruby 1.9.2 , I guess in
ruby 1.9.2 its a default library so there is no need to install
externally?
I was using Oniguruma::ORegexp.new( in ruby 1.8.7 .
Thanks
Nishant
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2016 Jul 13
2
Best practice to shutdown hosts which has not NUT via upssched
On Wed, 13 Jul 2016, Dmitri Stepanov wrote:
> Hi
>
> ?? I need to shutdown a number of hosts which has not NUT from one which has it.
>
> ?? I tried to do it from upssched script (after upssched's timer) like this:
>
> case $1 in
> ??????? earlyshutdown)
> ??????????????? logger -t upssched-cmd "Early shutdown is started"
> ??????????????? /bin/sh
2011 Mar 13
1
How to install source rpm on centos
Hi to all.
I'm having a problem with the rpm command on centos 5.5;
I am used to recompile a source rpm with the following command:
root at test ~: rpmbuild --rebuild pssh-1.2.2-1.rf.src.rpm
Installing pssh-1.2.2-1.rf.src.rpm
error: cannot create %sourcedir /home/test/rpm/SOURCES
error: pssh-1.2.2-1.rf.src.rpm cannot be installed
Does anybody know something about that ?
Thanks in
2012 Nov 16
5
Missing Dependency: libselinux-ruby is needed by package puppet-3.0.1-1.el5.noarch (puppetlabs-products)
Hello Everybody,
I am trying to install puppet on Red Hat
Enterprise Linux Server release 5.8 Beta (Tikanga)
I have installed the following rpms
sudo rpm -ivh
http://yum.puppetlabs.com/el/5/products/i386/puppetlabs-release-5-6.noarch.rpm
I am getting the following error when I am trying to install puppet server
sudo yum install puppet-server
puppet-3.0.1-1.el5.noarch
2012 Oct 16
4
Unable to create the rrd graph
Hello Everybody,
I have been trying to use the rrdgraph reporting
feature available in puppet.
After performing all the instruction maintained
on the site http://docs.puppetlabs.com/references/latest/report.html , the
rrd directory for the agents get created but they are empty.
When i check the log files in