On 2013-03-07 22:14, Jakov Sosic wrote:
Hi.
I have a dilemma.
So far I've used this kind of syntax:
class foo (
$var1 = $foo::params::var1
$var2 = $foo::params::var2
$var3 = $foo::params::var3
){
...
some code
..
}
but, I've seen also this kind of usage:
class foo (
$va
Hi All,
If we have couple modules in Master server ,we can specifically add some
modules to our agent using this command.
puppet agent --test --tags=
This command will run if the modules are already there in master, to master
I am adding these modules using puppet enterprise console.Is there a
On Thu, Mar 7, 2013 at 5:50 PM, ad wrote:
> Hey David
>
> Below are some examples. Note these are used on embedded Windows 7
> (6.1.7601) and I've never tested them on servers (we run mostly Linux
> servers). I also have examples for XP (5.1.2600) if you want, it's a lot
> different.
>
> The firs
On Thu, Mar 7, 2013 at 1:38 PM, Nan Liu wrote:
> On Thu, Mar 7, 2013 at 8:47 AM, wrote:
>
>>
>> Hi,
>>
>> I'm very new to Ruby, and pretty new to Puppet so apologies if this is a
>> bit Puppet custom type development 101.
>>
>> We currently have a whole bunch of Windows services that are written
On Thu, Mar 7, 2013 at 2:43 PM, Mohamed Abbas wrote:
> On 3/7/13 1:51 PM, Nan Liu wrote:
>
> On Thu, Mar 7, 2013 at 12:42 PM, Mohamed Abbas wrote:
>
>> I'm wondering what is the canonical way of associating "specific"
>> versions of a module to a node? Is there a way of doing this in puppet? Let
Hey David
Below are some examples. Note these are used on embedded Windows 7
(6.1.7601) and I've never tested them on servers (we run mostly Linux
servers). I also have examples for XP (5.1.2600) if you want, it's a lot
different.
The first 6 are just for enabling the firewall and allowing exc
OH, I should mention: the str2bool function is from puppetlabs/stdlib
(http://forge.puppetlabs.com/puppetlabs/stdlib)
On Thursday, March 7, 2013 3:16:32 PM UTC-8, Pete wrote:
>
> Awesome!
> I was attempting to think of a quick fix for the problem but hadn't gotten
> around to it.
> My solution
Puppet Dashboard 1.2.23-rc2 is a maintenance release of the 1.2 series of
Puppet Dashboard with bug fixes and minor features. Puppet Dashboard
1.2.23-rc1 was never released because a bug was discovered before it
was released.
This release is available for download at:
https://downloads.puppetlabs.
On 8 March 2013 06:43, Nick Fagerlund wrote:
>
>
> On Thursday, March 7, 2013 11:28:23 AM UTC-8, Jakov Sosic wrote:
>>
>> On 03/07/2013 02:41 PM, llowder wrote:
>> >
>> >
>> > On Thursday, March 7, 2013 6:38:52 AM UTC-6, Ahmed Kamal wrote:
>> >
>> > I'm on 3.1, and I'm finding that "true" wor
On Thu, Mar 7, 2013 at 7:50 AM, jim wrote:
> Can anyone advise on this ??
>
Hmm. Do you have pluginsync set to true in puppet.conf? It's possible that
the provider in the dism module is not being distributed from the master to
the agent. Here's a doc on the subject if you need it.
http://docs.pu
just do <%= @foo_name %> the vars in the define is local scope, just use
> them
>
This worked great. I'm a little shaky on when I can use @variables. Is
there documentation you could point me at? Thanks again.
--
You received this message because you are subscribed to the Google Groups
On 3/7/13 1:51 PM, Nan Liu wrote:
On Thu, Mar 7, 2013 at 12:42 PM, Mohamed Abbas
mailto:m.magdi.ah...@gmail.com>> wrote:
I'm wondering what is the canonical way of associating "specific"
versions of a module to a node? Is there a way of doing this in
puppet? Let me explain a "Use Ca
On Thu, Mar 7, 2013 at 12:42 PM, Mohamed Abbas wrote:
> I'm wondering what is the canonical way of associating "specific" versions
> of a module to a node? Is there a way of doing this in puppet? Let me
> explain a "Use Case" of what I'm trying to accomplish:
>
> Say we have created a puppet model
On Thu, Mar 7, 2013 at 8:47 AM, wrote:
>
> Hi,
>
> I'm very new to Ruby, and pretty new to Puppet so apologies if this is a
> bit Puppet custom type development 101.
>
> We currently have a whole bunch of Windows services that are written in
> .Net. They are really simple and so we don't bother
Hi.
I have a dilemma.
So far I've used this kind of syntax:
class foo (
$var1 = $foo::params::var1
$var2 = $foo::params::var2
$var3 = $foo::params::var3
){
...
some code
..
}
but, I've seen also this kind of usage:
class foo (
$var1 = $::foo::params::var1
$var2 = $::foo::param
On 03/07/2013 05:47 PM, damian.folw...@gmail.com wrote:
> My question is, in the provider code what is the best way to dynamically
> determine the installutil path? All of the examples i can find setting
> a command are not dynamic (i.e. the full command path is known without
> looking at paramet
On Thursday, March 7, 2013 11:28:23 AM UTC-8, Jakov Sosic wrote:
>
> On 03/07/2013 02:41 PM, llowder wrote:
> >
> >
> > On Thursday, March 7, 2013 6:38:52 AM UTC-6, Ahmed Kamal wrote:
> >
> > I'm on 3.1, and I'm finding that "true" works as expected, but
> > "false" does not! I thin
Hello All,
I'm wondering what is the canonical way of associating "specific"
versions of a module to a node? Is there a way of doing this in puppet?
Let me explain a "Use Case" of what I'm trying to accomplish:
Say we have created a puppet model called apache to manage and configure
apache w
On 03/07/2013 06:31 PM, GregC wrote:
>
> How does Hiera know which hiera.rb to call. I have serveral hiera rb
> scripts here. How can I know which one Hiera will actually use?
>
> /etc/puppet/modules/hiera-puppet/lib/puppet/parser/functions/hiera.rb
> /usr/lib/ruby/gems/1.8/gems/hiera-0.3.0/lib/h
We use a "classifier pattern", using this as a starting point
http://nuknad.com/2011/02/11/self-classifying-puppet-nodes/
Basically, we have a few custom facts that tell a node what it is (the
facts are set via a small MCollective plugin), and then the facts are
consumed at Puppet runtime.
2 gotch
Hi,
I upgraded Puppet today to 3.1 and problem solved.
Thanx again.
On Wednesday, March 6, 2013 9:49:13 AM UTC+1, emzva...@gmail.com wrote:
>
>
> I'll try to upgrade Puppet to 3.1.
>
> Thanks.
>
> On Tuesday, March 5, 2013 4:22:30 PM UTC+1, Josh Cooper wrote:
>>
>>
>>
>> On Mar 5, 2013, at 3
- Original Message -
> From: "Bruce"
> To: puppet-users@googlegroups.com
> Sent: Thursday, March 7, 2013 8:16:26 PM
> Subject: Re: [Puppet Users] Re: Dynamic scoping deprecated - for defines also?
>
>
>
> That doesn't sound like a description of dynamic scoping. Best to show
> > exam
That doesn't sound like a description of dynamic scoping. Best to show
> examples
>
Sure thing.
class foo {
define add_foo ( $foo_name ) {
file { '/etc/some/file': content => template("foo/file.erb")
}
}
Then in file.erb:
<%= scope.lookupvar('foo::add_foo::foo_name') %>
So that
We have a small and growing Puppet infrastructure we started a few months
ago: about 30 modules and 40 hosts.
At this point, all of the modules we have written use parameterized
classes. That way, when we call the module from the host's node.pp file, we
can override defaults (if necessary).
We
- Original Message -
> From: "Bruce"
> To: puppet-users@googlegroups.com
> Sent: Thursday, March 7, 2013 8:08:54 PM
> Subject: [Puppet Users] Re: Dynamic scoping deprecated - for defines also?
>
> No response to this? I'm trying to clean up code to eventually move to
> 3.x, and I'm run
No response to this? I'm trying to clean up code to eventually move to
3.x, and I'm running into this as well. Have defines with variables and
then templates which reference those variables. How do I explicitly scope
it?
--
You received this message because you are subscribed to the Google
On 03/07/2013 02:41 PM, llowder wrote:
>
>
> On Thursday, March 7, 2013 6:38:52 AM UTC-6, Ahmed Kamal wrote:
>
> I'm on 3.1, and I'm finding that "true" works as expected, but
> "false" does not! I think "false" is interpreted as "undef" or so,
> thus taking value from the module's d
I am fairly new to Puppet, and am taking a script initially working with a
Vagrant setup and trying to run it standalone. I am simply declaring the
class for the module mysql in the script:
class { 'mysql': }
and when I try to run 'puppet apply' I get:
Puppet::Parser::AST::Resource failed
On Thu, Mar 7, 2013 at 7:55 AM, Paul Tötterman wrote:
> As someone who generally hates using execs unless I absolutely have to, I
>> would recommend using the Puppet Labs registry module. I can dig out some
>> examples tomorrow if you like.
>
>
> I'm a bit wary about prodding in the registry behin
How does Hiera know which hiera.rb to call. I have serveral hiera rb
scripts here. How can I know which one Hiera will actually use?
/etc/puppet/modules/hiera-puppet/lib/puppet/parser/functions/hiera.rb
/usr/lib/ruby/gems/1.8/gems/hiera-0.3.0/lib/hiera.rb
/usr/lib/ruby/gems/1.8/gems/hiera-puppet
On Thursday, March 7, 2013 5:02:44 AM UTC-6, Matthew Barker wrote:
>
>
> This module will reproduce the syslog messages I was referring to.
> http://pastebin.com/tBuyBEBW
>
>
Sorry, pastebin is blocked from me.
John
--
You received this message because you are subscribed to the Google Groups
Hi,
I'm very new to Ruby, and pretty new to Puppet so apologies if this is a
bit Puppet custom type development 101.
We currently have a whole bunch of Windows services that are written in
.Net. They are really simple and so we don't bother creating MSI installs
for them and just use Install
>
> As someone who generally hates using execs unless I absolutely have to, I
> would recommend using the Puppet Labs registry module. I can dig out some
> examples tomorrow if you like.
I'm a bit wary about prodding in the registry behind the back of windows
firewall, but please tell me if i
Can anyone advise on this ??
On Wednesday, 6 March 2013 13:42:10 UTC, jim wrote:
>
> Hello all
>
> Was wondering if someone could help or advise where i'm going wrong
>
> i'm trying to install Windows 2008 R2 Remote Desktop Services via Puppet
> using either DISM or Powershell modules from the f
Hi List,
Before starting up the belgian puppet user group, I was wondering if
there are people out there interested in helping setting up this user group.
I have googled after the existence, or the intention of starting a user
group in belgium, but did not found anything.
If you are interes
I also would. I was also thinking of making a native windows firewall
module/provider in my copious free time (sarcasm). If the registry version
of controlling firewall rules works fine though, that would probably be the
fastest and easiest way I can think of.
On Tuesday, March 5, 2013 9:36:1
On Thursday, March 7, 2013 6:38:52 AM UTC-6, Ahmed Kamal wrote:
>
> I'm on 3.1, and I'm finding that "true" works as expected, but "false"
> does not! I think "false" is interpreted as "undef" or so, thus taking
> value from the module's default params
>
False is being treated as the lookup fu
On Thursday, March 7, 2013 12:23:13 AM UTC+1, Ken Barber wrote:
>
>
>
> So the index 'idx_catalog_resources_tags' was removed in 1.1.0 I
> think, so that is no longer needed.
>
> This points back to making sure you schema matches exactly what a
> known good 1.1.1 has, as things have been misse
Hello Puppet Users !
We encounter a problem with the dashboard on this URI : /reports/changed
The /reports works fine with ~13 reports (up to 3 months and
auto-cleaning with rake reports:prune job)
I make a reports:prune:orphaned, juste in case, but without any success.
The most recent ch
Hello Puppet Users !
We encounter a problem with the dashboard on this URI : /reports/changed
The /reports works fine with ~13 reports (up to 3 months and
auto-cleaning with rake reports:prune job)
I make a reports:prune:orphaned, juste in case, but without any success.
The most recent c
I'm on 3.1, and I'm finding that "true" works as expected, but "false" does
not! I think "false" is interpreted as "undef" or so, thus taking value
from the module's default params
On Tuesday, March 5, 2013 10:08:44 PM UTC+2, Jakov Sosic wrote:
>
> Hi...
>
> I've been trying to set up boolean v
I got this working in the end.
The main areas were - the external_node needs to be on all puppet masters
and the puppet dashboard server. The cert locations should be the ones that
are created by the rake tools when enabling https on dashboard. You can see
these in the settings.yml file on th
The real question to me is: Which line needs removing to make the
warning go away?
I'd put my money on the "Unqualified ${test}" one, seeing as the string
concatenation fails too. The Scope(...) in the syslog is confusing.
So you may want to report a bug, but if you do, please limit the
manifest
Thanks Felix and John,
Here is a bit more info. I wrote this little test module to make sure I
wasn't seriously confused.
This module will reproduce the syslog messages I was referring to.
http://pastebin.com/tBuyBEBW
The message seems to occur regardless of what I do with the parameters
Thanks Felix & John,
Here is a bit more info. I fiddled a bit more and wrote this little
scope module to make sure I wasn't seriously confused.
Tonight, the message seems to be consistently happening regardless of
how I name the parameters in this one.
Not sure how I managed to get
Hi,
1. Please update to at least Puppet 2.7
2. Please provide your Apache/Passenger configuration, especially worker
pool size.
3. How is the load on your master faring? Is RAM sufficient, is there
swapping etc.?
On 03/07/2013 08:09 AM, sanjiv singh wrote:
> Any help on this
--
You receive
I would like to use the puppet-dashboard as an ENC. I am running the
dashboard with SSL and passenger. I have edited the
/usr/share/puppet-dashboard/bin/external_node script with the correct
dashboard URL. I have editing the config in puppet.conf to use the
external_node etc.. however when usin
Hi,
Am Mittwoch, 6. März 2013 11:45:31 UTC+1 schrieb R.I. Pienaar:
>
> Generally this happens because firewalls, NAT routers or session state
> tracking kills idle connections.
>
> When mcollective isn't used the connection is 100% idle so when these
> devices
> drop the connection the TCP lay
48 matches
Mail list logo