Displaying 20 results from an estimated 10000 matches similar to: "puppet --genmanifest"
2007 Oct 23
2
puppetmaster --genconfig
Hello,
i used puppetd --genmanifest to create a site.pp and it created some
weird entry:
file { ''/var/puppet/log'':
group => ''puppet'',
loglevel => ''debug'',
owner => ''puppet'',
backup => ''false'',
mode => ''488'',
ensure =>
2009 Mar 05
2
genmanifest question
Hi all,
puppet --genmanifest :
Should this not introspect all the packages on my system? I ran it
just now on ubuntu intrepid, puppet 24.7, and it just gave me puppet
related things...
Is it not possible to configure a system using the packages I want,
and then run puppet --genmanifest to retrieve the puppet code to
reproduce it?
--~--~---------~--~----~------------~-------~--~----~
You
2007 Jan 09
3
Can i manage part of a file ..
Can I use puppet to ensure that a file includes certain text but not be
required to maintain the entire file?
For example,
I would like /etc/modprobe.conf to contain the following lines but the
file will also contain lines that are system dependent.
---------------------------------------------------------------------------------------
# Disable IPV6
alias net-pf-10 off
alias ipv6 off
2007 Feb 09
1
Confusion regarding standard file permissions.
Hello,
I am attempting to extend the standard manifest generated by puppetd --genmanifest. Interestingly, it seems like my file configurations are not being honored in terms of permissions and ownership. Instead, the default permissions and owners are being set. Is there some way to override the defaults from within a manifest?
Also, I attempted to use the special parameters in the
2007 Jan 15
5
file type not autorequiring parent directories.
If I use the ''file'' type to sync a file where the parent directory
doesn''t exist the sync fails. According to the puppet docs "Puppet will
autorequire any parent directories that are being managed". Am i
missing something?
Example:
file { "/tmp/dhcp/dhcpd.include":
source => "/tmp/dhcpd.include",
}
In
2007 Mar 26
7
"Could not run Puppet::Network::Client::Master" after 0.22.2 upgrade
After upgrading my puppetmaster server to 0.22.2 using David''s src RPM''s
for RHEL4 rebuilt for x86_64 i am getting the following error when puppetd
attempts a configuration run.
Mon Mar 26 10:05:43 EST 2007 Puppet (err): Could not run
Puppet::[1]Network::Client::Master: Invalid value ''nil'' for noop
When puppetd is started the initial run is
2008 Dec 18
3
errors after 0.24.7 upgrade ..
After upgrading my puppetmaster to 0.24.7 from 0.24.6 i am getting the
following errors in the puppetmaster logs. Any help would be appreciated.
Thu Dec 18 16:11:39 +1100 2008 Puppet (err): Could not store configs:
undefined method `environment='' for #<Puppet::Rails::Host:0xb72c0c38>
I do not use environment''s and they are not defined anywhere in the
puppet.conf
The /var/lib/puppet/clientbucket directory grew 4GB in minutes, filling up /var on production server
2009 Oct 23
2
The /var/lib/puppet/clientbucket directory grew 4GB in minutes, filling up /var on production server
Hi.
Last night the /var/lib/puppet/clientbucktet directory on one of our
production servers suddenly grew about 4 GB, filling up the entire /var
partition. Around that time, I see that there was a problem with one of our
CIFS mount points (i.e. our CIFS client had problems reaching our CIFS
server). We''re using puppet to set up the CIFS mount point.
Under the clientbucket folder, I
2007 Apr 16
4
Error on first run
I install puppet as part of a Fedora and CentOS kickstart install and
this use to provide a nicely configured client immediately after the
first reboot from the kickstart completion. However with 0.22.3 i now
see the following error on puppets 1st run, as a result the client is
not configured.
The problem is easily rectified by connecting to each client and
restarting puppet.
I have also
2008 Feb 20
2
purging unmanaged cron
Should this work?
# --- remove any cronjobs that are not managed by puppet.
resources { "cron": purge => true }
I get the following error.
Resources[cron]: Failed to generate additional resources: You must
specify a title for objects of type Puppet::Type::Cron
Ben
2009 Mar 27
1
64bit Python 32bit c library ...
I have a closed-source 32bit database application running on a 64bit
CentOS 5.2 system which is running very well however i am looking at
developing some python applications that require access to the data and
the vendor only provides a 32bit c library.
So while attempting to utilize the library in python with ctypes it
became obvious that the 64bit python cannot use the 32bit c library.
So
2009 Jun 10
10
puppet client looking for server puppet
In my puppet client I have
puppet.conf defined puppet server as mypuppet
server = mypuppet.example.net
Not sure why the puppet client puppet-test is still sending these
noises to the syslog
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911 daemon.error]
Could not find server : getaddrinfo: node name or service name not
known
Jun 10 13:36:23 puppet-test puppetd[10863]: [ID 702911
2006 Sep 28
3
cron environement settings
It seems to me that when you setup an environement for a cron it just
recreate the crontab at each run even if the cron has not changed. Seems
it does not recognize actual environement settings. I put 2 environement
and i got:
info: Writing cron tab for aqadmin
/linux/cron=puppetdcron/environment: environment changed '''' to
2007 Sep 17
7
syslog spam
Is there any "correct" way to get puppetmasterd to not spam syslog with (mount[blah]) File
source foo does not exist messages when using file source selection lists? I use them
quite extensively, so it''s getting quite out of hand. The last resort will be to comment
out the offending print statement!
--
Russell A. Jackson <raj@csub.edu>
Network Analyst
California State
2008 Jan 30
2
Bug in puppetmasterd?
Hi all,
I''ve just installed puppet in my ubuntu gutsy 7.10 linux using gem:
# sudo gem install puppet
Then, I made a basic site.pp manifest and following the InstallationGuide I ran:
$ sudo puppetmasterd --mkusers
Could not configure for running; got 1 failure(s)
What error? I managed to get an error message on /var/log/daemon.log
Jan 30 16:22:13 acero puppetmasterd[13800]:
2007 Jul 16
5
exec and notify
Are exec resources triggered by notify events supposed to be run once for every event
received or only run once per run irregardless of the number of resources that notified
it? It seems to me that it gets run twice no matter how many resources triggered it.
consider the following class:
class dhcp {
$prefix = "/usr/local/etc/dhcpd"
$dhcpd_conf = "$prefix/dhcpd.conf"
2006 Aug 31
1
Log level
Hello there,
I wanted to know if there is a way to change the log verbosity for a
node. I wanted to be able to shutdown logs for most host but be able to
re-enable them when i meet problems on one server. It seems to me that
the log verbosity can only be changed on each type. This would lead to a
rather complex setting of loglevel in EACH type followed by a variable
defined in the node. I
2008 Feb 05
2
Restore from filebucket
Hi,
I''m using the ''backup'' parameter in file resources to
backup to a central filebucket on the puppetmaster.
How do I restore a backup? I couldn''t find anything
in the wiki, but saw some docs by running ''filebucket
--help''.
It says to restore a backed up file, you need to know
the md5sum. Unfortunately, AFAIK the only place this
2012 Aug 23
1
Puppet Agent VS User
Hello,
Running into a problem when wanting to daemon-ize the agent. It doesnt
seems to do anything:
- cannot find any daemon process with (ps aux | grep puppet)
- the config is not updated after editing some params on the master
- /var/log/puppet stay empty...
while, when logged as root, it is working without issue with $puppet agent
--test.
##Conf
Ubuntu 12.04
Puppet 2.7.11
## Daemon is
2007 Oct 04
5
use client''s server variable instead of $servername?
Our puppetmaster runs on a host with multiple interfaces connected to
various private networks, with different hostnames for each IP. I''m
trying to use $servername in modules to copy files over a private
network, but this is always set to the public hostname of the server.
That route is blocked by a firewall. Is there a way to use the server
variable in puppet.conf in manifests?