Hi,
I just came across this problem due to an upgrade of util-linux-ng on
RHEL6 this morning :(
I have not seen any github PR related to this problem on puppetlabs-lvm
module so I will propose a patch (if it works) to replace "mount -f
--guest-fstype /dev/..." by "file -sL /dev/..."
Cheers
We just download the RPMs and place them in a custom repository. That way we
don't mess with the exec stuff or anything. Is there any reason you don't use
the RPMs
- Original Message -
| Hi all,
| Can u pls provide me the solution for this
| class main {
| $software = "/app/tcs/
Dear John,
Thanks a lot for your response. I found where was the problem and I have it
working.
The solituion consist in always declare shorewall as the last class and you
can write erb template as my first example and will work.
I wanted to thank you for all you help and time.
So finally my
If it's an acceptable compromise, you could do this:
@@my_nagios_host { "host1": hostrgoup => "cloud-app", ... }
@@my_nagios_host { "host2": hostrgoup => "cloud-app", ... }
define my_nagios_host($hostgroup, ...) {
nagios_host { $name: ... }
realize(Nagios_hostgroup[$hostgroup])
}
All your h
Logged a bug:
http://projects.puppetlabs.com/issues/19410
On Friday, 22 February 2013 09:47:33 UTC, Mathieu Bornoz wrote:
>
> Hi,
>
> I just came across this problem due to an upgrade of util-linux-ng on
> RHEL6 this morning :(
>
> I have not seen any github PR related to this problem on puppe
Hello Alessandro,
Thank you very much for your quick reply, now it is bit more clear to me
and I will start implementing Puppi today.
One more quick question :-) I need to deploy two 'war' files to the same
server, which means same 'deploy_root' but two 'war' files and I don't
think I can use
Hello all
Can someone please help me or answer if this is possible
I'm using the puppet forge IIS module, and want to use variables within the
syntax dependent up ip address
for example:
colo_a = 1.1.1.0
colo_b = 2.2.2.0
if $network_local_area_connection = 1.1.1.0
add colo_a
elseif $network_l
Hi folks,
I'm using Puppet 3.0.1 and hiera 1.1.1, and this is my hierarchy now:
:hierarchy:
- %{fqdn}
- %{environment}
- common
but I'd like to achieve something like this:
if my node has environment=vagrant, then Hiera sources should be:
- /var/lib/hiera/vagrant.yaml
- /var/lib/hiera/deve
yarlagadda ramya writes:
> hi all,
>
> I wote a module for downloading jdk, jboss, mysql and installing them..now i
> would like to apply a condition to it...in such a way that..if its already
> downloaded, it should not download it..
>
> can some one please help me with this...
>
Are you using
On 2/22/13 2:20 PM, jim wrote:
> Hello all
>
> Can someone please help me or answer if this is possible
>
> I'm using the puppet forge IIS module, and want to use variables within
> the syntax dependent up ip address
>
> for example:
>
> colo_a = 1.1.1.0
> colo_b = 2.2.2.0
>
> if $network_loca
Hi Guys
all of our windows hosts, has the following naming convention:
3 characters for the product - Letter for location - class of service (3
characters) - node number (2 digits)
e.g
pos-a-www-02
or
ocs-b-sql-01
therefore my regex would look something like
/^pos-(a|b)-www-\d\d$/
or
/^ocs-(a
Or does Puppet put everything into lowercase, as just checked my windows
host and its name is in uppercase but when I look at inventory for this
host the hostname is in lower case ???
regards
jim
On Friday, 22 February 2013 14:43:17 UTC, jim wrote:
>
> Hi Guys
>
> all of our windows hosts, ha
sorry the clientcert is lowercase the hostname is still upper case so my
question on case insensitive is still valid
regards
jim
On Friday, 22 February 2013 14:45:03 UTC, jim wrote:
>
> Or does Puppet put everything into lowercase, as just checked my windows
> host and its name is in uppercase
Yes, puppet will downcase the fqdn and make this the default certname.
Which is why I swore never to uppercase any host names again, it's
confusing.
The $fqdn or $hostname are not used for selecting the node { }
definition as far as I know. The $certname is what matters (or should
be, anything els
Hi all,
Is it possible to have a custom utils lib in puppet ?
By exemple I want to have a custom class used in many custom facts and many
custom function :
module_utils/lib/puppet/my_class.rb
And in my custom fact I can call this class :
> require 'module_utils'
Facter.add("custom_fact") do
>
I think you're missing what I'm trying to convey. When you run via
Apache or Nginx you are doing SSL termination at the apache and
forwarding the requests to a puppetmaster application if you use say
passenger. Its not so different than an F5. While I'm not giving you
exact details on how to do it
Oh and to add to my message. The benefit of this is there is no
tomfoolery with multiple CAs and the confusion that will cause. If the
concern is about letting one puppet client connect to two different
pools then you can limit who can retrieve their catalog either through
the auth.conf or directiv
Hello,
I've installed the puppet module mysql however I'm noticing its only
reading the init.pp when puppet does its run.. For some reason its ignoring
all of the other pp files in under the directory such as the
backup.pp,sever.pp or ruby.pp
what am I doing wrong.. I even run a puppet apply
Hi,
On 02/22/2013 05:21 PM, Raymond Regnier wrote:
> Hello,
>
> I've installed the puppet module mysql however I'm noticing its only
> reading the init.pp when puppet does its run.. For some reason its
> ignoring all of the other pp files in under the directory such as the
> backup.pp,sever.pp o
On 02/21/2013 03:23 PM, Jonathan Gazeley wrote:
>
> Thanks for your message. I discovered through testing that the
> autoloader does not support this behaviour. I had sort of resolved to
> implement your suggestion although it seems a little bit messy.
>
> Taking a step back, are there any better
Hi,
No i'm trying to have puppet run all of the pp files under the module's
manifest directory
all it does is run init.pp
could it be because I'm not specifying every specifc pp file in my site.pp
file on the master?
On Fri, Feb 22, 2013 at 11:38 AM, Felix Frank <
felix.fr...@alumni.tu-berlin.de
No I'm trying to have it run all pp files under the module's manifest
directory.. its only just running init.pp..
could it be because I haven't listed each individual pp file under my
site.pp file ?
On Friday, February 22, 2013 11:38:13 AM UTC-5, Felix.Frank wrote:
>
> Hi,
>
> On 02/22/2013 05
Hi,
it might be sensible to ask that to puppet-dev.
Anyway, is the call that causing you problems raising an exception?
Could you catch/rescue that? Just an idle idea...
Cheers,
Felix
On 02/22/2013 03:20 AM, Micah Anderson wrote:
>
> Hi,
>
> I've made some changes to the vcsrepo module[0] pro
On 02/22/2013 05:43 PM, Raymond Regnier wrote:
> Hi,
>
> No i'm trying to have puppet run all of the pp files under the module's
> manifest directory
> all it does is run init.pp
>
> could it be because I'm not specifying every specifc pp file in my
> site.pp file on the master?
But that's the t
So I'm just trying to run the mysql module and have all of my clients pick
it up
for example I've created my own httpd and iptables modules and I have them
include in my site.pp file.. however both of those modules just have a
init.pp under their respective manifest directory.
They run fine wh
WIth the puppet module structure, you don't import any pp files from the
modules ever. You only use include.
If you look at the github for the module, it explains which classes do what.
https://github.com/puppetlabs/puppetlabs-mysql
The base class (mysql) only installs the client. mysql::server
Hello all again
just another quick question,
we have some machines in different colo's on different subnets,
colo a - 1.1.1.0/24
colo b - 2.2.2.0/24
If for example I was using a module from puppet forge for IIS, could I use
variables within my manifest syntax to reference different colo's fo
Hello all,
I'm installing/upgrading JDK using this manifest:
package { 'jdk':
ensure=> 'latest',
source=> file('packages/files/jdk-7u15-linux-x64.rpm'),
provider => 'rpm',
}
This package installs JDK to /usr/java/jdk1.7.0_15 dir and redirects
/usr/java/default
A new release of the puppetlabs/postgresql module is now available on the Forge:
https://forge.puppetlabs.com/puppetlabs/postgresql/2.1.1
Changelog
This release provides a bug fix for RHEL 5 and Centos 5 systems, or
specifically systems using PostgreSQL 8.1 or older. On those systems
on
so my site.pp looks like this
node default {
include httpd
include iptables
i*nclude mysql
include mysql::server*
then on my
node.pp file
i have node "my ipdaddress here" {
include httpd
I'm trying to create a function that I can call in a manifest like this:
$doc = doc('apache::service')
In the function, I want it to actually find the filename for the
'apache::service' class... from there, I'm going to run some code that will
generate the puppet-doc in text format, and then
I do this kind of thing here:
https://github.com/puppetlabs/puppetlabs-kwalify/blob/master/lib/puppet/parser/functions/validate_resource.rb#L24
ken.
On Fri, Feb 22, 2013 at 6:05 PM, Matt W wrote:
> I'm trying to create a function that I can call in a manifest like this:
>
> $doc = doc('apache
On Friday, February 22, 2013 4:20:21 AM UTC-6, Marc Bolós wrote:
>
>
> So finally my conclusion is that when you declase a node, includes order
> matters.
>
>
Yes, it does.
John
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscri
Jordan Sissel wrote up a little thing to do this:
https://github.com/jordansissel/puppet-examples/tree/master/where-art-thou/
-=Eric
On Friday, February 22, 2013 10:05:18 AM UTC-8, Matt W wrote:
>
> I'm trying to create a function that I can call in a manifest like this:
>
> $doc = doc('apach
/option notation doesn't work in puppet. However, (?option:...) notation
does work.
http://docs.puppetlabs.com/puppet/3/reference/lang_datatypes.html#regex-options
So use /(?i:^pos-(a|b)-www-\d\d$)/ and see if that does what you want.
On Friday, February 22, 2013 6:51:48 AM UTC-8, Felix.Frank
What is the right path for ruby gems on puppet master.
Scenario:
I have installed hiera couple of months back. So the gem was installed
under
/opt/puppet/lib/gems/1.8/gems/hiera-0.3.0
/opt/puppet/lib/gems/1.8/gems/hiera-puppet-0.3.0
Later when I updated to new version of hiera then it insta
Michael, I'll try and help. I had a set of servers at my last employer
where I had to run two separate agents from cron. That particular team had
been using Puppet to manage an application which was no longer being
actively developed and was on life support.
Therefore, when I deployed Puppet acr
Yeah, this is interesting... it will essentially report where the template file
came from. It doesn't get me the path name to the manifest that called it,
which is what i'm looking for.
On Feb 22, 2013, at 10:24 AM, Eric Sorenson
wrote:
> Jordan Sissel wrote up a little thing to do this:
>
Another way this could work, by the way, is if I can somehow reference the
"calling class filename". Ie, if
/foo/class.pp:
class foo {
document_me()
}
If I can somehow reference "/foo/class.pp:2", like some of the error log
messages do, that would work as well.
--Matt
On Feb 22, 2013, at
Forgot to add my environment details.
Ubuntu12.04LTS, PE 2.7, Hiera1.2
Regards
Sai.
On Friday, February 22, 2013 1:29:45 PM UTC-5, Sai_Emc wrote:
> What is the right path for ruby gems on puppet master.
>
> Scenario:
> I have installed hiera couple of months back. So the gem was installed
>
Hi Krishna,
to deploy 2 different wars you can place 2 different puppi defines on the
same node:
puppi::project::war { 'myapp':
source =>
"http://repo.example42.com/deploy/${environment}/myapp.war";,
deploy_root => '/store/tomcat/webapps',
}
puppi::project::war { 'other':
so how do you get the db.pp to work?
On Friday, February 22, 2013 12:31:01 PM UTC-5, joe wrote:
>
> WIth the puppet module structure, you don't import any pp files from the
> modules ever. You only use include.
>
> If you look at the github for the module, it explains which classes do
> what.
>
Hiera was properly working in my environment. But puppet was looking at old
version even when I have the latest hiera gem installed. So I could'nt
use json backend. But puppet is not looking at my latest hiera gem. Not
sure when went wrong here.
Scenario:
I have installed hiera couple of month
I can see json_backend working in latest hiera. Tried from command line its
working . puppetmaster was looking at old hiera-0.3.0 gem even whem latest
hiera is installed. Posted a different topic for that.
Thanks.
Sai
EMC
On Thursday, February 21, 2013 5:50:32 PM UTC-5, Sai_Emc wrote:
> Wonde
On Friday, February 22, 2013 2:03:30 PM UTC-6, Sai_Emc wrote:
>
> Hiera was properly working in my environment. But puppet was looking at
> old version even when I have the latest hiera gem installed. So I could'nt
> use json backend. But puppet is not looking at my latest hiera gem. Not
> sur
Thanks... I ended up with this:
> #
> # my_puppet_doc.rb
> #
>
> require 'puppet/util/rdoc'
>
> module Puppet::Parser::Functions
> newfunction(:my_puppet_doc, :type => :rvalue, :doc => <<-EOS
>
> This function returns the 'puppet doc' header from the module
> that called it. Usage:
>
> $doc
Tried /opt/puppet/bin/gem , no use puppet is still failing with errors
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not autoload hiera_include: no such file to load --
/opt/puppet/lib/site_ruby/1.8/puppet/parser/functions/hiera_include.rb at
/etc/puppetlab
[ pid=1870 thr=69908823898540 file=utils.rb:176 time=2013-02-22
16:39:47.170 ]: *** Exception RuntimeError in
PhusionPassenger::Rack::ApplicationSpawner (can't activate rack (~> 1.1.0,
runtime) for [], already activated rack-1.5.2 for []) (process 1870, thread
#):
from ./config/../vendor/ra
I can get this working via running via WEBrick, but get the error when
running it via passenger in apache.
Not sure yet how to get this working via apache so I can SSL and LDAP
authenticate it.
On Friday, February 22, 2013 2:46:57 PM UTC-8, Tom Blich wrote:
>
>
>
> [ pid=1870 thr=6990882389854
Had puppet-dashboard-1.2.21 running via instructions provided here:
http://docs.puppetlabs.com/dashboard/passenger.html
Upgraded to puppet-dashboard-1.2.22 and now get the following error:
[ pid=8729 thr=70328297972140 file=utils.rb:176 time=2013-02-22
19:12:17.188 ]: *** Exception RuntimeEr
It looks like its trying to use a specific rack gem version but you do
not have that version installed or you have two versions installed and
its picking up the latest. It could be that you also have another
passenger application where the versions conflict?
(can't activate rack (~> 1.1.0, runtime
Hi
I have written a puppet module called vsdeploy which gives you many options
for deploying from subversion and git to your nodes, and it's available on
the Puppet Forge. Read more about what it can do and how to use it
here:
http://www.practicalclouds.com/content/guide/pclouds-vcsdeploy-dep
Strange.
How about the output of:
python -c 'import yum ; conf = yum.YumBase().conf ; print
conf.yumvar["releasever"] ; print conf.distroverpkg'
In a sane world this will print "6" and "redhat-release" (and the
correct package would have installed originally).
On Wed, Feb 20, 2013 at 10:51 PM
53 matches
Mail list logo