On Tuesday, July 30, 2013 10:24:41 PM UTC+1, Tom Hanstra wrote:
>
> I'm running puppet 3.2.3 with the current (4.1.0) stdlib set from
> puppetlabs.
>
> I'm attempting to use file_line to add a line to a file. I've dumbed this
> down to basically the test script:
>
> class hs_puptest1 {
>
>
On Thursday, July 11, 2013 11:21:12 PM UTC+1, jcbollinger wrote:
>
>
>
> On Thursday, July 11, 2013 8:41:03 AM UTC-5,I wrote:
>>
>>
>> $kernel_fact_stem = 'installed_kernel'
>> $kernel_list = inline_template("<%=
>> (0...@installed_kernel_count.to_i).collect{|n| @kernel_fact_stem +
>> n.to_
On Thursday, July 11, 2013 10:17:47 AM UTC+1, Paul Tötterman wrote:
>
>
> What I want Puppet to do is to "loop" through this list of potential
>> kernels and install a specific driver package for all possibilities.
>> Is this even possible without a custom provider ?
>>
>
> I doubt it, unless yo
Hello,
We have a custom fact to show all kernels installed which appends a count.
i.e.
installed_kernel0 => 2.6.18-274.3.1.el5
installed_kernel1 => 2.6.18-308.16.1.el5
installed_kernel2 => 2.6.18-194.11.4.el5
What I want Puppet to do is to "loop" through this list of potential
kernels and ins
Hello,
Is it possible to use this on a master in more than one way on a system
that just accepts the "puppet facts upload" and is not a real puppet master
server.
I have a case where I would like to keep the facter information in couchdb,
and also in Foreman which can be imported from the YAML
Hello,
Out of a large-ish estate of systems I want only some of those systems to
send reports elsewhere to be processed by Foreman/Dashboard etc. Whilst the
others carry on sending their reports to the "general" puppet master.
Is this possible from the client side using "reportserver =" option
Hello,
If I want to do something like this:-
if $::lsbdistrelease >= 6.3 {
SOMETHING
}
Do I have to convert lsbdistrelease from a string to a number with an
inline template or some such ?
Thanks
Paul
--
You received this message because you are subscribed to the Google Groups
"Puppet User
On Friday, March 8, 2013 10:16:37 AM UTC, vioilly wrote:
>
> Is there a way to use send multiple parameter values using puppet
> dashboard ENC?
>
> For example,
>
> nameserver = 10.0.0.1, 10.0.0.2
>
> or perhaps
>
> nameserver = ['10.0.0.1','10.0.0.2'}
>
> then the template erb file can loop thr
http://docs.puppetlabs.com/dashboard/inventory_support.html
Might help
On Tuesday, 5 March 2013 15:06:03 UTC, Tiago Cruz wrote:
>
> Hello all!
>
> Using puppet 2.7.9 and Dashboard, I can see the hostname of my nodes.
>
> With some selects against MySQL, I can also discover their IP address.
>
> B
On Wednesday, February 27, 2013 8:09:11 AM UTC, olli...@googlemail.com
wrote:
Figured it out in the end.
Puppet CA server had ca_ttl=25y in it. Solaris is still packing a 32bit
OpenSSL. Which took it over 2038
Set down a few years and it's fine now.
Thanks Solaris
--
You received thi
Hello,
Have a fully working setup with mostly Linux clients running on a 2.7.x
master all is good.
Trying to join Solaris clients to this master yields:-
info: Creating a new SSL key for
warning: peer certificate won't be verified in this SSL session
info: Caching certificate for ca
warning: pe
Hello,
Just kicking the tyres with PuppetDB (1.1.0) on a test setup with 100-odd
nodes running only once an hour by default.
Looking at the dashboard the catalog duplication is showing 0.0% which
seems a little odd to me. Any way to track
down why this is and how to correct it as presumably thi
On Tuesday, January 8, 2013 9:21:54 AM UTC, olli...@googlemail.com wrote:
>
> Hello,
>
> Using the LVM module/providers from the forge I want to create a logical
> volume at the maximum size and I cannot work out how to do this.
>
> physical_volume -> volume_group -> logical_volume -> filesystem
Hello,
Using the LVM module/providers from the forge I want to create a logical
volume at the maximum size and I cannot work out how to do this.
physical_volume -> volume_group -> logical_volume -> filesystem -> mount
All works fine but you have to hard code the size for the logical volume.
Hello,
Is there anyway to parse a catalog generated with something like:-
puppet master --compile > .cat
That looks vaguely human readable. I have tried the "puppet catalog print"
face but cannot seem to get it to parse for some reason
# puppet catalog print --catalog /var/tmp/.cat
err: unde
Hello,
I have a need to extend a default provider. Now whilst I can/will raise a
request to add the required functionality to the blastwave.rb provider in
the short-term what would be the best way to use my extended version.
I can add the updated provider to my global module which drops my cu
Hello,
So in my company I have put in this fully load-balanced (behind F5)
solution with multiple PM's/CA's/ENC and a single entry client entry point
no matter where the servers are located globally - puppet. and the
F5 will point you as local as possible and the rest do their thing.
Now say we
On Friday, August 31, 2012 9:41:28 AM UTC+1, David Schmitt wrote:
>
> D'oh. here're quotes too! Missed them on the first round.
>
> D.
>
Of course there is. Fixed it thanks. Coffee needed for me I think.
Cheers
Paul
--
You received this message because you are subscribed to the Google Gro
On Friday, August 31, 2012 9:00:34 AM UTC+1, David Schmitt wrote:
>
> On 2012-08-31 09:46, olli...@googlemail.com wrote:
> > Hello,
> > For the life of me I cannot get this to work. It's seemingly doable with
> > a single class but outside
> > params.pp:
> > class vmware::params {
> >
Hello,
For the life of me I cannot get this to work. It's seemingly doable with a
single class but outside
params.pp:
class vmware::params {
case $::lsbmajdistrelease {
'4': {
$packagelist = "[ 'vmware-tools-esx-kmods-smp',
'vmware-tools-esx-kmods-up' ]"
}
default: {
>
> Your general idea sounds feasible. I see two specific problems in the
> example code you posted, however:
>
>1. Is the title of the File resource you want to override really
>'resolv.conf'? I mean, it could be if you specified the full path via the
>'path' parameter in the ori
Hello,
On some machines being managed by Puppet I would like to perform targetted
audit runs with "puppet -t --noop --tags audit"
For better or for worse I am trying to do this with a separate module
"audit" rather than add the audit => to the resources and use inheritence.
i.e.
class audit
On Tuesday, 17 July 2012 16:14:05 UTC+1, Matt wrote:
>
> Is there no one who has done this that can provide examples of how they
> did it?
I would if I could. Company policy and all that.
Generated the SSL certificate with the single F5 DNS address that all the
clients globally will hit pu
On Monday, 9 July 2012 06:44:16 UTC+1, Alan Evans wrote:
>
> From what I can tell there is no need to use alternate names. You can
> make the F5 appear to the clients to be the puppetmaster by leveraging
> the F5 to do SSL offloading and part of the certificate verification
> taking some load
Hello,
Migrating some clients from an ancient client to a new infrastructure based
on 2.7.11 these are RHEL boxes
Some clients are hitting an issue
[30/06/12 05:11:37 UTC]
/usr/lib/ruby/site_ruby/1.8/puppet/util/settings.rb:733: [BUG] Segmentation
fault
[30/06/12 05:11:37 UTC] ruby 1.8.5 (
Hello,
A quick search showed some people may have got this working. Anyone got a
Python (or Perl) script to parse the Puppet reports and put them into a
human
readable format ?
Might be able to knock something together myself but not used PyYAML too
much and might need some pointers.
Thanks
Hello,
Not sure on this must be something in Apache/Passenger but I cannot
find it right now.
Is there anyway to disable the Ruby traces to return non--HTML
output ?
Many thanks,
Paul
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to
Hello,
Trying to be a good boy and put rdoc headers in my classes.
I am trying to put some scoped variables into the output i.e.
# [*myclass::params::server*]
# This is derived from the myclass::params class which returns the
server to configure
#
# [*myclass::params::venafiport*]
# This is
Hello,
Trying to write out a file with some facter variable handling i.e.
if has_variable?("@lsbdistdescription")
then
my_OS = @lsbdistdescription
else
my_OS = @operatingsystem + " " + @operatingsystemrelease
end
Therefore if the facter variable @lsbdistdescription doesn't exist
(i.e. Solar
Never mind found I did indeed screw with auth.conf - my bad.
Nice to see facts only loading once this time...
On Feb 27, 1:43 pm, "ollies...@googlemail.com"
wrote:
> Hello,
>
> Thought I would upgrade the masters then tried to join a new client.
>
> All the /etc/puppet/
Hello,
Thought I would upgrade the masters then tried to join a new client.
All the /etc/puppet/*.conf files are the same. This is running split
CA/Masters running behind F5 and running under Passenger on RHEL6
Now getting 403 errors.
info: Retrieving plugin
err: /File[/var/lib/puppet/lib]: Fa
- kernelparams
- locale
- lom
- network
- nimbus
- ntp
- packages
- profile
- puppetclient
- resolver
- security
- selinux
- services
- ssh
- sudo
- syslog
- systemusers
- tsgtools
- verify
- vmware
environment: engineering
Is there anything wrong the 2.7.9 clients work fine ?
Thanks
Paul
Hello,
As the 2.7 branch doesn't seem to be available for RHEL4 (yes I know
EOS next week) am trying to use a 2.6.11 client for our new Puppet
infrastructure to replace the creaking one we have now.
The POC setup is all running behind an F5 with a pair of CA's and
seperate pool of Puppet Masters.
On Jan 24, 7:14 am, "ollies...@googlemail.com"
wrote:
> On Jan 23, 9:07 pm, Guy Matz wrote:
>
> > Is your issue resolved? It looks like you don't have the correct erb
> > syntax in your loop
>
> > *<%=* scope.lookupvar('resolver::params::res
On Jan 23, 9:07 pm, Guy Matz wrote:
> Is your issue resolved? It looks like you don't have the correct erb
> syntax in your loop
>
> *<%=* scope.lookupvar('resolver::params::resolvers').split(/\s+/).each
>
> I think should be
>
> *<%* scope.lookupvar('resolver::params::resolvers').split(/\s+/).
On Jan 23, 4:32 pm, Felix Frank
wrote:
> On 01/23/2012 02:48 PM, ollies...@googlemail.com wrote:
>
> > host: parse of /etc/resolv.conf failed
> > ./resolver/templates/resolv.conf.erb:7:in `result': compile error
> > (SyntaxError)
> > ./resolver/templa
On Jan 23, 1:32 pm, Felix Frank
wrote:
> Absolutely beats me.
>
> Is this a verbatim paste from your template?
> Are you certain that the template is the source of the error?
> Does it say anything beyond "syntax error"?
>
> Just pasting puppet output would be ideal.
>
host: parse of /etc/resol
On Jan 23, 1:17 pm, Denmat wrote:
> Hi,
>
> Is that variable declaration copied correctly?
>
> > $resolvers = "10.10.10.10 11.11.11.11.12.12.12.12"
>
> Should be> $resolvers = "10.10.10.10 11.11.11.11 12.12.12.12"
>
> what's that do for you?
>
That was a typo in my original mail. The syntax pro
Hello,
I am trying to setup a template with data being passed in as a long
string of data which is being returned via extlookup()
i.e. $resolvers = "10.10.10.10 11.11.11.11.12.12.12.12"
The template should split those up and put a nameserver entry per line
in /etc/resolv.conf
I have this in the
On Jan 5, 3:54 pm, krish wrote:
> On Thu, Jan 5, 2012 at 9:12 PM, ollies...@googlemail.com
>
> wrote:
> > Hello,
>
> > I have this stupid exec on a bash script but bear with me. Works OK on
> > an ancient 0.xx Puppet setup. But not on 2.7.9.
>
> > $com
Hello,
I have this stupid exec on a bash script but bear with me. Works OK on
an ancient 0.xx Puppet setup. But not on 2.7.9.
$command = "( /apps/path/scripts/install.sh || true ) && touch /etc/
puppet/puppet.script.done"
exec { install:
command => "$command",
Thanks for all the help but I have failed in this and decided to
change tack a little.
With no better results :)
Here is what the current attempt is.
2 Apache Load-Balancers which will be CA's and therefore entry points
for clients. These
will be in active/standby solution on RHEL6 with heartbeat
On Dec 20, 4:16 pm, Brice Figureau
wrote:
> On Tue, 2011-12-20 at 08:02 -0800, ollies...@googlemail.com wrote:
> > > That's easy: dedicate two host to be CAs only. One is the hot standby of
> > > the first one. You can either manually bring it up when the first one
>
> That's easy: dedicate two host to be CAs only. One is the hot standby of
> the first one. You can either manually bring it up when the first one
> fails, or use something like drbd+pacemaker to do it automatically.
> Then have all your other masters run in "no ca" mode. Each can have a
> differe
Thanks.
I assume that the section in this:-
http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Scalability
Stating that is doesn't work for 0.25 & 2.6 also applies to the 2.7.9
release that is the latest ?
Sharing an area via NFS/iSCSI/rsync'ing or whatever is potentially
viable does an
Thanks,
On our older infrastrcture if we wanted to scale out we just copied
the ssldir and changed the filenames to the FQDN of the new master
server. certdnsnames would be wildcarded.
Now using 2.7.9 how do we do certificates so we could scale out
horizontally from behind this loadbalancer ?
Tr
Thanks I realised that when I sent it. Dialled back the CA to:-
Listen 18140
SSLEngine off
ServerName
RackAutoDetect On
DocumentRoot /etc/puppet/rack/puppetmaster/public/
Options None
AllowOverride None
Order allow,deny
allow from all
Now clients are getting cert r
Hello,
Attempting to setup a CA primary/standby as well as seperate
puppetmaster servers (all running Apache/Passenger) behind another
Apache/Passenger type load balancer.
Clients are not getting certs:-
err: Could not request certificate: Could not intern from s: nested
asn1 error
Clearly an SS
Hello,
I have a desire to have separate primary/secondary CA servers, and
separate puppet master servers running behind a load balancer
(ultimately an F5 but will use an Apache mod_proxy.. setup initially
to test).
The Pro Puppet books suggest this with everything running with
Passenger which is
Thanks but it remains the same.
Even if I put an ${fqdn}.csv it will read that file but only take the
first entry in the CSV and apply that to every extlookup call in the
module.
It's a little curious. This is running on PE1.2 but I suspect this is
running the same code base as 2.6.9
--
You rec
On Oct 21, 12:55 pm, Andrew Thompson wrote:
> On Oct 20, 10:18 am, "ollies...@googlemail.com"
> wrote:
> > Taking a brief look at extlookup()
>
> > We have a module to setup resolv.conf based on location so we have a %
> > {domain}.csv file
>
&g
Taking a brief look at extlookup()
We have a module to setup resolv.conf based on location so we have a %
{domain}.csv file
more /etc/puppetlabs/puppet/envs/legacy/extdata/ldt.csv
domainname,my.domain.com
resolvers,10.10.10.10 10.10.10.11
searchpath,sub.my.domain.com sub2.my.domain.com
class re
Trying to setup a volume group with puppet lvm and this:-
volume_group { "my_vg":
ensure => present,
physical_volumes => "/dev/sdb /dev/sdc /dev/sdd",
require => [ Physical_volume["/dev/sdb"],
Physical_volume["/dev/sdc"],
Physical_volume["/dev/sdd"]
Hello,
Got the latest 0.25.2rc3 up and running and a seemingly partial
dashboard setup.
Get errors from it though:-
Report puppet_dashboard failed: wrong Content-Length format ?
Any ideas ?
Also how do I stop the:-
warning: Value of 'preferred_serialization_format' (pson) is invalid
for repor
Hello
Using the YUM provider/helper from 0.24.8 we have an issue with a
package latest all 3 packages are in the manifest as "latest":-
DBCF_4Q_LinuxAS4_DBCF_4Q_Linux_ins_DBCFStageLinux-5.03.1.0-5.03.1.0-0
DBCF_4Q_LinuxAS4_DBCF_4Q_Linux_ins_DBCFStageLinux-6.10.1.0-0- this
has an upgrade in t
55 matches
Mail list logo