Here is the documentation for wiring up the puppetmaster to puppetdb:
http://docs.puppetlabs.com/puppetdb/1.1/connect_puppet_master.html
Make sure you follow all of these steps and see how you go. Also
remember to restart your puppetmaster :-). It sounds like at least
your routes.yaml isn't compl
Hello,
I have got the following error while starting the puppet client, please
find the following
=
root@epsilon [/usr/src]# /etc/init.d/puppet start
Starting puppet: /usr/sbin/puppetd:159:in `require': no such file to load
-- puppet/application/puppetd (LoadError)
from /usr
Hi
for my dns servers the manifest (defines for the zones and keys) gets
pretty long. I have the same problem with my icinga configuration (host and
service checks, for hosts not running puppet (like switches and routers)
where I cannot use exported resources). I know I can put individual nodes
Couldn't you just add a new include to sites.pp called zones.pp then build a
class within it to include on your DNS nodes?
class myzones {
nsd::zone { ... }
.
}
node DNS {
include myzones
.
}
--
You received this message because you are subscribed to the Google Groups
"Puppet
I take back my suggestion.
LogRotate is not built to handle many little log files with different names. I
found out the hard way - I tried to make it work :(
The script by vagn will do the trick.
Another suggestion: put a variable in the line "tail -n +2” in place of the “2”
for how-many-file
tmpwatch is also a good approach:
http://linux.about.com/library/cmd/blcmdl8_tmpwatch.htm. Probably
requires less scripting, and its already on most distros, probably
cleaning your /tmp directories already.
On Sat, Feb 2, 2013 at 6:07 PM, Dan White wrote:
> I take back my suggestion.
> LogRotate
Given a variable that holds a class name is it possible to resolve the
value of a variable within that class? For example
class classes::myclass{
$install_dir = '/xyz'
}
class example($class_name='classes::myclass'){
file {"/mylink" :
ensure => link,
target => "${${class_name}::ins
Hello,
I have a yaml data file containing user account with following information.
#more users.yaml
---
os_users:
user1:
locked: false
comment: System Operator
uid: '700'
gid: '700'
groups:
- admin
- sudonopw
sshkeys:
- ssh-rsa
B3NzaC1yc2EBIwAAAQEAwLBhQefRiXHSbVNZYKu2o8
Come and join the discussion at the Bay Area Juniper Users Group, March 6th.
Sign up here (it's free): http://bajug.eventbrite.com/#
>From 5:30PM to 9:00PM in Sunnyvale (see link above for directions).
Includes kegs of beer as well as a variety of other inferior beverages.
And Pizza.
-Deri
I would like to see the SSL handshake between the master and agent. How do
I enable this?
--
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+unsubscr
Try using an erb template for your content. Its working well for me.
1. ## facts.erb
2. <%=
3. yaml = ["---"]
keys = scope.to_hash.keys.reject {|k| k.to_s =~
/(uptime_seconds|timestamp|free)/}
4. keys.sort.each {|k| yaml << "#{k}: #{scope.lookupvar(k).to_s}"}
Try using an erb template for your facts.yaml file. Its working well for
me so far.
# facts.yaml.erb
<%=
yaml = ["---"]
keys = scope.to_hash.keys.reject {|k| k.to_s =~
/(uptime_seconds|uptime_hours|timestamp|free)/}
keys.sort.each {|k| yaml << "#{k}: #{scope.lookupvar(k).to_s}"}
- Original Message -
> From: "Dave Ta"
> To: puppet-users@googlegroups.com
> Sent: Sunday, February 3, 2013 6:53:40 AM
> Subject: [Puppet Users] Re: Puppet and Mcollective yaml file changing when it
> shouldn't
>
> Try using an erb template for your facts.yaml file. Its working well f
13 matches
Mail list logo