Thanks but I still get a syntax error when doing
file{"bar":
require => A:foo['baz']
}
On Wednesday, November 6, 2013 10:01:10 PM UTC-5, Trevor Vaughan wrote:
>
> Try A:Foo instead of A::foo.
>
> Trevor
>
>
> On Wed, Nov 6, 2013 at 3:45 PM, L
In module A:
define A::foo()
In module B:
require A
file{"bar":
require => A::foo['baz']
}
A::foo{"baz":}
However puppet doesn't seem to like the syntax around
require=>A::foo['baz'].
Is there a way to do this?
Thanks in advance.
--
You received this message because you are subsc
On Monday, May 13, 2013 3:56:02 PM UTC-4, LTH wrote:
>
> We have several servers using various environments. However we have
> noticed when a server requests any of the non-production environments, that
> the production environment's last access time still changes along wit
thing else going on?
Thanks in advance.
-LTH
--
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...@googlegroups.com.
To post to this
I'm using puppet 3.1 and I want to figure out why hiera seems to be looking
in the wrong place and getting the wrong value.
I found a post from this group saying to run puppet -d on the master and
look in the log. Having done that I still don't see anything hiera related
except for where puppe
We have a custom package provider (cpanm) which uses a custom fact
(perl_installsitebin) to determine the location of the executable it uses
to install the various perl modules.
It normally works wonderfully, until the puppetmaster is restarted. Then
on the first run the agent will error out w
Trying the firewall module and we're getting a strange error.
/var/lib/puppet/lib/puppet/provider/firewallchain/iptables_chain.rb:34:
warning: already initialized constant Mapping
/var/lib/puppet/lib/puppet/provider/firewallchain/iptables_chain.rb:37:
warning: already initialized constant Inter
We've been doing a
puppet parser validate
before putting a manifest into production. however that doesn't seem to
catch dependency loops.
Is there a way to test for such problems?
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view t
In an .erb template, I want to test if a value is in an array (and if yes
do something).
I thought the way to do it might me something like:
<% if @testservers.include? @fqdn %>
environment = test
<% else %>
environment = production
<% end %>
However that blows up complaining that .include is a
Is there a way to tell puppet not to try and parse certain files?
It keeps trying to parse backup files and I get errors like:
err: Could not load downloaded file
/var/lib/puppet/lib/puppet/parser/functions/private_path.rb~: Function
private_path already defined
In this case there's a real priv
On Monday, July 30, 2012 11:53:55 AM UTC-4, Christopher Wood wrote:
>
> On Mon, Jul 30, 2012 at 08:48:24AM -0700, lth wrote:
> >On Monday, July 30, 2012 11:34:22 AM UTC-4, Christopher Wood wrote:
> >
> > Then the module3 class is only evaluated once. Rem
On Monday, July 30, 2012 11:34:22 AM UTC-4, Christopher Wood wrote:
>
>
> Then the module3 class is only evaluated once. Remember dependencies if
> you need module3 evalated before other stuff.
>
>
Thanks for the reply.
I think maybe that should have been my question. Both modules need to have
I have two modules both of which require a 3rd module. The problem of
course is that if I use both modules on a node, I end up with a "Duplicate
declaration" error of the third module.
What's the right way to handle two modules that both require a 3rd one?
--
You received this message because
e' applications
> (with some exceptions).
>
> A tool, such as LDAP or Kerberos will probably serve your purposes
> much better over time.
>
> Trevor
>
> On Mon, May 21, 2012 at 3:08 PM, lth wrote:
> > We have several webservers that we are going to manage with puppet
We have several webservers that we are going to manage with puppet. We
want to make sure the users are the same on all of them.
My plan was to create a separate manifest for each user within a users
module. However if someone changes their password one one server how do we
make sure that pu
in test2::bar, do I still need require =>
[Class['test2::foo'] on the exec? In testing this, it seems that I don't.
On Thu, May 17, 2012 at 10:53 AM, LTH wrote:
>
>> Hello,
>>
>> I'm having some trouble with subclasses accessing other subclasses wit
ll test2::baz, it does more than I
wanted. Am I not understanding something? How do I just do bar and foo?
Thanks in advance,
-LTH
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To view this discussion on the web visit
http
We think we were getting this because Passenger wasn't finding Bundler's
Gemfile in spite of being in the bundle. We fixed it by changing the
DocumentRoot from /etc/puppet/rack/public to /etc/puppet/public (since
/etc/puppet is where the Gemfile is).
Thanks again,
-LTH
On Wednesd
gsystem': cannot load such file -- puppet/provider/confine/
operatingsystem Could not load confine test 'operatingsystem': cannot
load such file -- puppet/provider/confine/operatingsystem
Application root:
/usr/local/build/puppet-bundle
-LTH
On Mar 28, 4:13 pm, "Kinzel, David&quo
erprise Linux Server release 5.7 (Tikanga)
Thanks in advance.
-LTH
--
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
puppet-user
20 matches
Mail list logo