Displaying 20 results from an estimated 172 matches for "onetime".
2012 Jul 31
2
Bad exit code?
Hi all,
I''m running puppet agent as a onetime process. I would expect, if it can''t create the pid file, that it would exit non-zero. However, it seems to exit zero. Is there any way to change this? I''d like to know if it couldn''t run, and it seems that this is an error.
[root@db1r1 ~]# puppet agent --onetime --d...
2009 Jul 13
7
puppetd no-daemonize
So I have been trying to run puppet once in my kickstart %post scripts but
every time it detaches and daemonizes even though I have explicitly stated
otherwise. Am I missing something?
# rpm -q puppet
puppet-0.24.8-1
# /usr/sbin/puppetd --onetime --no-daemonize --verbose --debug
debug: Creating default schedules
debug: Failed to load library ''shadow'' for feature ''libshadow''
debug: Failed to load library ''ldap'' for feature ''ldap''
debug:
/Settings[/etc/puppet/puppetd.conf...
2010 Nov 07
14
EC2 with puppet bootstrap notes and scripts
...vername" ami-123abc
# by definition, the first line MUST be the hostname
# potentially in the future there could be more data
curl --silent http://169.254.169.254/2008-02-01/user-data | head -n 1
> /etc/hostname
hostname --file /etc/hostname
# yes, thrice
/usr/sbin/puppetd --no-daemonize --onetime --server
puppetmaster.example.com
/usr/sbin/puppetd --no-daemonize --onetime --server
puppetmaster.example.com
/usr/sbin/puppetd --no-daemonize --onetime --server
puppetmaster.example.com
# turn ourselves off and reboot
chmod 644 /etc/puppet/ec2init.sh
/sbin/reboot
EOF
# make runable
chmod 755...
2007 Mar 22
6
Starting out with lots of problems.
...'t be verified in this SSL session.
/usr/sbin/puppetd:349: undefined method `readcert'' for
#<Puppet::Network::Client::Master:0xb7c0614c> (NoMethodError)
A third time gives a different message:
puppetd --server canopus.unm.edu --waitforcert 60 --test
notice: Ignoring --listen on onetime run
notice: Ignoring cache
info: Caching configuration at /var/lib/puppet/localconfig.yaml
notice: Starting configuration run
notice: Finished configuration run in 0.02 seconds
I removed the various files on both server and client that mentioned
uriel.unm.edu and tried again.. and saw the same beh...
2007 Feb 15
3
err: Configuration retrieval timed out
is there any way to prevent this timeou ?
i tried --configtimeout=600 --filetimeout=600
but this does not changes anything
--
Cordialement,
Ghislain
_______________________________________________
Puppet-users mailing list
Puppet-users@madstop.com
https://mail.madstop.com/mailman/listinfo/puppet-users
2013 Feb 08
1
Still getting an error....Re: Mcollective/Puppet Plug-In
...puppet5 : Cannot validate input: Unknown
validator: ''puppet_server_address''.
Cannot validate input: Unknown validator:
''puppet_server_address''.puppetdev04 : Puppet
command ''puppet agent --test --onetime --daemonize --color=false --no-splay
--server puppetdev05'' had exit code 1, expected 0
{:summary=> "Puppet command ''puppet agent --test --onetime
--daemonize --color=false --no-splay --server puppetdev05'' had exit code 1,
expected 0"}
On Fri, Feb...
2011 Jun 21
2
Puppet agent problem on Ubuntu
...p => "root",
mode => 0440,
source => "puppet://$puppetserver/modules/sudo/etc/sudoers",
require => Package["sudo"],
}
}
On the agent I run the following command;
puppet agent --server=<myserver> --no-daemonize --verbose --onetime
The agent see''s the change but I get an error;
info: Caching catalog for <agentServer>
info: Applying configuration version ''123456789''
err: /Stage[main]/Sudo/Package[sudo-ldap]/ensure: change from purged
to present
failed: Execution of ''/usr/bin/apt-get...
2009 Jun 16
4
Schedule puppet runs
Hi All,
I would like to pick your brains as to the best way to configure the
below senario within puppet.
I am currently configuring puppet for our environment and have
seperated development/back office from production through configuring
roles for each server to identify them as such.
What i need to be able todo is have the production servers only update
outside of office hours, but have the
2012 Jul 18
4
cert issues, puppet agent applying configs, problems oh my!
...module (puppetlabs/apache) and it''s failing
miserably for me.
I installed the module on the puppetmaster, and then tried running a test
command to pull down the configs:
# puppet agent --verbose --test
dnsdomainname: Unknown host
dnsdomainname: Unknown host
notice: Ignoring --listen on onetime run
dnsdomainname: Unknown host
dnsdomainname: Unknown host
info: Caching catalog for ip-10*
info: Applying configuration version ''1342645763''
info: FileBucket adding {md5}e92bea7e9d70a9ecdc61edd7c0a2f59a
info: /File[/etc/httpd/conf.d/README]: Filebucketed
/etc/httpd/conf.d/READM...
2011 Jan 23
61
Do we need a new name for "--test"?
https://projects.puppetlabs.com/issues/2476
This does seem to confuse a fair few new users.
What would be a better name for "--test"?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to
2018 Jun 22
2
Can't build pigeonhole against dovecot 2.3.2rc1
...note: declared here
int smtp_address_create_from_msg_temp(const struct message_address *msg_addr,
^
make[6]: *** [ntfy-mailto.lo] Error 1
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
2011 Jun 07
2
Changes on master applied only on second run on nodes
Hi!
If I change manifest on master and then immediately run "puppet agent
--no-daemonize --report --pluginsync --onetime" then it still uses old
version of manifest. When I run it second time it sees changes and
applies them.
Why is it like that? Is it intended to be so?
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send ema...
2013 Jun 07
1
" mco puppet runonce -v" fails when puppet returns code 2 for change
...--------
*
[root@mcqpuppetserver ~]# mco puppet runonce -v
Discovering hosts using the mc method for 2 second(s) .... 1
* [ ============================================================> ] 1 / 1
mcqpuppetagent. : Puppet command ''puppet agent --test --server
mcqpuppetserver. --onetime --daemonize --color=false --splay --splaylimit
30'' had exit code 2, expected 0
{:summary=> "Puppet command ''puppet agent --test --server
mcqpuppetserver. --onetime --daemonize --color=false --splay --splaylimit
30'' had exit code 2, expected 0"}...
2012 Sep 05
5
Puppet smoking crack?
Couple of questions. Firstly, what''s the plugin error about?
puppet agent --onetime --test --verbose
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Could not evaluate: Could not
retrieve information from source(s) puppet://puppet/plugins
info: Caching catalog for mon01.ap1.xxx.com
info: Applying configuration version ''1346878830''
err: /Stage[main]/Xxx::...
2016 Jun 28
2
Errors on yum upgrade
...10.0-229.20.1.el7.x86_64/modules.devname:
remove failed: No such file or directory
Should I be concerned about this? What could have caused it?
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
2013 Aug 21
1
Trouble with ENC and static.pp : enabling ENC fails to find node even with default node in site.pp
...''s my static node definition:
*site.pp:*
*node default {*
* notify { "static node definition": }*
*
*
*}*
and my puppet.conf without any node definition:
*puppet.conf*
*[master]*
* node_terminus = plain*
works beautifully:
*[root@vacsld01target ~]# /usr/bin/puppet agent --onetime --daemonize
--verbose --test*
*Info: Retrieving plugin*
*<snip>*
*Info: Caching catalog for vacsld01target.oss.central1.com*
*Info: Applying configuration version ''1377125492''*
*Notice: static node definition*
*Notice: /Stage[main]//Node[default]/Notify[static node
definit...
2018 Jun 22
2
Pigeonhole extdata repo?
...ository
https://pigeonhole.dovecot.org/download.html
I want to use with dovecot 2.3.2rc1 but v0.4 won't compile with it.
Thanks for helping
-------------------------------------------------
ONLY AT VFEmail! - Use our Metadata Mitigator to keep your email out of the NSA's hands!
$24.95 ONETIME Lifetime accounts with Privacy Features!
15GB disk! No bandwidth quotas!
Commercial and Bulk Mail Options!
2012 Jan 27
4
Puppet agents stop reporting after master runs out of disk space...
...retrieve
catalog from remote server: execution expired
Jan 27 04:01:02 kmallory3 puppet-agent[15340]: Using cached catalog
Jan 27 04:01:02 kmallory3 puppet-agent[15340]: Could not retrieve
catalog; skipping run
Forcing a run of puppet, I get the following message:
kmallory3:/var/log# puppetd --onetime --test
notice: Ignoring --listen on onetime run
notice: Run of Puppet configuration client already in progress; skipping
After stopping and restarting the puppet service, the agent started
running properly. It appears that the failure from the server has
caused the agent to hang, from which it...
2012 Dec 07
2
Help with PuppetDB
...ase 5.8 (Tikanga)
puppet 3.0.1
puppetdb 1.0.4
I have installed and made the changes for the pupeptdb according to the
following link:
https://github.com/puppetlabs/puppetdb
I think the error is related to the ssl certificates??
The output with running trace is as follows:
gnoring --listen on onetime run
Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: Error 400 on SERVER: Could not retrieve facts for
ftldwshost180.wsdev.citrix.com: Failed to find facts from PuppetDB at
10.12.14.85:8081: SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read
finished A...
2011 Dec 04
2
Running puppet agent and master from cron jobs
...Hat or CentOS
- We have about 5 servers managed by Puppet now. The goal is to have
~50 servers.
These are generally bastion xen guests . A lot of them have minimal
amount of RAM--sometimes the minimum recommended by the application.
Any recommendations? My initial thought:
1. Run `puppet agent --onetime` every 30 minutes on agents
2. Run `service puppetmaster restart` on the master every 12 hours.
TIA.
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe fro...