manage iptables when
some rules cannot be managed by puppet, while most can?
Thanks a lot,
Mohamed.
On Sun, Apr 22, 2012 at 11:12 AM, Mohamed Lrhazi wrote:
> If negation is not possible, then maybe I can just use two rules?
>
> firewall { '100 snat for network foo2':
>
#x27;192.168.122.0/24'],
table => 'nat',
}
firewall { '101 snat for network foo2':
chain => 'POSTROUTING',
jump => 'MASQUERADE',
proto => 'all',
source => ['192.168.122.0/24'],
table => 'nat
Hello,
How do I code this rule, which I believe says: NOT dest = 192.168.122.0/24 :
-A POSTROUTING -s 192.168.122.0/24 ! -d 192.168.122.0/24 -p tcp -j
MASQUERADE --to-ports 1024-65535
Thanks,
Mohamed.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users"
The numbering in the firewall resource names is not meant for ordering
their executing, but for guaranteeing their uniqueness.
I too found that using stages is the only usable way out of this.
Just out of curiosity, what do you mean by:
> We ended
> up in situations where the drop rules would ki
Maybe you could test setting the start command of that service
explicitly to be:
/usr/sbin/svcadm disable myservice && /usr/sbin/svcadm enable myservice
http://docs.puppetlabs.com/references/stable/type.html#service
Mohamed.
On Tue, Mar 13, 2012 at 3:03 PM, Afroz Hussain wrote:
> Hi,
>
> Is
You might want to rephrase your question, as it is not obvious, at
least not to me.
Mohamed.
On Tue, Mar 13, 2012 at 4:26 PM, Trammael wrote:
>
>
> On Monday, March 12, 2012 5:52:53 PM UTC-5, ed209 wrote:
>>
>> Checkout the 'creates' property, it seems like a cleaner way of doing
>> this:
>>
>>
http://docs.puppetlabs.com/references/stable/configuration.html
On Fri, Mar 9, 2012 at 11:22 AM, Hugo Deprez wrote:
> Dear community,
>
> I just saw that when I execute puppetd -vt I can have up to 80 DNS request
> for the puppet server records.
> I specified in the puppet.conf :
>
> server=pupp
I just tried something which seems to workaround the cyclic dependency issue:
- put the exec definition in the class that runs in the post stage.
- in site.pp put the default:
Firewall {
notify => Exec["persist-firewall"],
}
Thanks,
Mohamed.
On Fri, Mar 9, 2012 at 9:47 AM, M
Hi Christian,
I am running into this same issue... Did you resolve it?
Thanks a lot,
Mohamed.
On Wed, Feb 15, 2012 at 3:36 PM, Christian McHugh
wrote:
> I've got slightly more info. In trying to figure this out I ran across
> http://projects.puppetlabs.com/issues/10665 where it was suggested
>
device: "fas3319-518.example.com:/vol/onecrddb_data/test2"
Thanks all,
Mohamed.
On Thu, Mar 1, 2012 at 1:41 PM, Mohamed Lrhazi wrote:
> Thanks guys. The hash thing sounds like my problem... but I still get
> the same error!!
>
> undefined method `[]' for nil:NilCl
Thanks guys. The hash thing sounds like my problem... but I still get
the same error!!
undefined method `[]' for nil:NilClass at
/etc/puppet/environments/production_ml623/modules/gu_misc/manifests/init.pp:81
on node onecrddb-test-1
where line 81 is:
create_resources(mount_nfs_shares, $nfs_mo
I have not used the create_resources function before, looks like
exactly what I need indeed.
How do I use it with a define.. my ENC outputs something like:
nfs_mounts:
- mount_point: "/data"
mount_device: "fas3319-518.example.com:/vol/onecrddb_data/test"
- mount_point:
Thank you guys, and thanks Nan. I see my mistakes now.
Mohamed.
On Mon, Feb 27, 2012 at 4:39 PM, Kelsey Hightower wrote:
> On Mon, Feb 27, 2012 at 4:33 PM, Nan Liu wrote:
>>
>> On Mon, Feb 27, 2012 at 1:17 PM, Mohamed Lrhazi wrote:
>> > From my ENC, I return somethin
s/init.pp:68
on node nodename.example.com
[daemon.err] name is not an hash or array when accessing it with 0 at
/etc/puppet/environments/production_ml623/modules/gu_misc/manifests/init.pp:68
on node nodename.example.com
On Mon, Feb 27, 2012 at 4:17 PM, Mohamed Lrhazi wrote:
> From my ENC, I return something
>From my ENC, I return something like, for a given node:
nfs_mounts:
- [/data, fas3319-518.example.com:/vol/crddb_data/test]
and in my manifests I added:
define mount_nfs_shares() {
$mount_point = $name[0]
$mount_device = $name[1]
notice("mount_point: ",$mount
You should try: mcollective-us...@googlegroups.com
On Tue, Feb 21, 2012 at 10:46 AM, Kenneth Lo wrote:
> We've been using mcollective primarily for coordinate service restart across
> nodes as well as facts-finding, which are all well and good.
>
> One thing we would like to utilize this tool is
When I run a puppet apply against this:
notice("operatingsystem: $operatingsystem")
case $operatingsystem {
redhat: { notice("Matched redhat in switch") }
default: { notice("Did not match redhat in switch") }
}
if ($operatingsystem == "redhat") {
notice("Matched redhat in if")
} else {
On Fri, Dec 9, 2011 at 7:43 AM, shaunington wrote:
> $ip = Getip['ec2-176-34-227-1.eu-west-1.compute.amazonaws.com']
Never used that syntax... I would try:
$ip = getip('ec2-176-34-227-1.eu-west-1.compute.amazonaws.com')
--
You received this message because you are subscribed to the Google Grou
On the client, run puppet agent --test --trace --debug
That would show you what the puppet client is doing
If you still have problems:
in "include test" what is test? a module? show the full content of it.
I personally use modules for everything and I always have the files
distributed at th
-state NEW -j ACCEPT
Am wondering if there is a workaround to this issue?
Thanks a lot,
Mohamed.
On Wed, Nov 30, 2011 at 1:10 PM, Ken Barber wrote:
> Agreed.
>
> On Wed, Nov 30, 2011 at 5:31 PM, Mohamed Lrhazi wrote:
>> Right. hostnames are attractive ideal use case:
>&
king reasonably good
> and should be merged in soon.
>
> ken.
>
> On Wed, Nov 30, 2011 at 3:34 PM, Mohamed Lrhazi wrote:
>> Just saw this bug report: http://projects.puppetlabs.com/issues/10723
>>
>> Sorry. Thanks.
>>
>> On Tue, Nov 29, 2011 at 8:50 PM
Just saw this bug report: http://projects.puppetlabs.com/issues/10723
Sorry. Thanks.
On Tue, Nov 29, 2011 at 8:50 PM, Mohamed Lrhazi wrote:
> Hello,
>
> The source and destination parameters accept both IP address or a
> hostname. If using a hostname, the firewall module thi
ly the same thing.
>
> We have feature requests raised that may actually make the resource
> order part of the final ordering, but this is still pending design and
> discussion (and code obviously :-).
>
> ken.
>
> On Tue, Nov 29, 2011 at 7:52 PM, Mohamed Lrhazi wrote:
&
Hello,
The source and destination parameters accept both IP address or a
hostname. If using a hostname, the firewall module thinks the rule
changed each time it runs reporting:
notice: /Firewall[300 allow netbackup traffic from
nbmaster2-63.example.com]/source: current_value 192.168.63.42/32,
sh
uld not.
Looking at the code it seems the module cannot provide anything
iptables itself does not, and iptables does not provide for list of
ips/networks in source and dest.
Thanks,
Mohamed.
On Tue, Nov 29, 2011 at 5:25 PM, Mohamed Lrhazi wrote:
> Cool. Thanks guys.
>
> On Tue, Nov 2
Cool. Thanks guys.
On Tue, Nov 29, 2011 at 5:23 PM, Jacob Helwig wrote:
> On 2011-11-29 13:05 , Mohamed Lrhazi wrote:
>> Hi,
>>
>> am trying this rule:
>>
>>
>> firewall { '100 allow ssh from GUNET':
>> proto
Hi,
am trying this rule:
firewall { '100 allow ssh from GUNET':
proto => 'tcp',
dport => '22',
source => ['10.0.0.0/8','192.168.0.0/16',],
action => accept,
}
and it only seems to add a rule for the first subnet. The second is
silently igno
To clarify why I am asking how does this work...The doc has this
intriguing advise: "If you wish to ensure any reject rules are
executed last, try using stages..." Isn't the "rule order" integer in
the resource name solving that problem?
Thanks,
Mohamed.
On Tue, Nov 29,
Hello,
Could someone clarify the philosiphy of this module... I need a way to
manage iptables on all my systmes, and trying to imagine how this
module would fit in,
How does this module work? Does it check each supplied rule, for a
node, against its current rules, then insert rule if missing? or
On Mon, Nov 28, 2011 at 6:28 PM, Josh Cooper wrote:
> Hi Mohamed,
>
> On Mon, Nov 28, 2011 at 1:15 PM, Mohamed Lrhazi wrote:
>>
>> I found where I read what I read... not directly Puppet, but Ruby:
>>
>> https://github.com/oneclick/rubyinstaller/wiki/Troublesho
s,
Mohamed.
On Mon, Nov 28, 2011 at 4:11 PM, Mohamed Lrhazi wrote:
> I thought I read somewhere in Puppet docs/wiki... that it is
> "recommended" to avoid spaces in file paths, or some similar verbiage,
> but now I cant find it.
>
> Does Puppet have any known issues with
I thought I read somewhere in Puppet docs/wiki... that it is
"recommended" to avoid spaces in file paths, or some similar verbiage,
but now I cant find it.
Does Puppet have any known issues with spaces in file paths? It would
of course scare Windows admins away... So I hope I am wrong in
thinking
Thanks JacobDid that answer my TypeError as well?
Mohamed.
On Wed, Nov 23, 2011 at 5:28 PM, Jacob Helwig wrote:
> On 2011-11-23 13:02 , Mohamed Lrhazi wrote:
>> am trying this:
>>
>> scheduled_task { 'Puppet Run':
>> ensure =&g
am trying this:
scheduled_task { 'Puppet Run':
ensure=> present,
enabled => true,
command => 'C:\\ruby187\\bin\\puppet.bat',
arguments => 'agent --verbose --logdest C:\\Temp\puppet.log',
trigger => {
schedule => daily,
quot;
Thanks,
Mohamed.
On Tue, Nov 22, 2011 at 7:32 PM, Mohamed Lrhazi wrote:
> I think the documentation about package providers should include
> something about this...
> Right now a provider has these features:
>
> holdable install_options installable purgeable un
can effectively detect whether the package is
installed or not, as opposed to "can remember if it did install it or
not".
Thanks a lot,
Mohamed.
On Tue, Nov 22, 2011 at 2:25 PM, Jacob Helwig wrote:
> On 2011-11-22 07:10 , Mohamed Lrhazi wrote:
>> I noticed that is if I uninst
I noticed that is if I uninstall an MSI that was installed by Puppet,
Puppet does not notice.
Looking at the source I see it might be checking for a state file to
know whether a package is installed or not:
C:\ProgramData\PuppetLabs\puppet\var\db\package\msi\SplunkForwarder.yml
So one has to reme
readability
> by avoiding resource-level logic.
>
> On Mon, Nov 21, 2011 at 10:11 AM, Evan Hisey wrote:
>> On Sun, Nov 20, 2011 at 8:05 PM, Mohamed Lrhazi wrote:
>>> I stated tweaking my puppet modules and site.pp to support the new
>>> OS.. things like:
>>&
I stated tweaking my puppet modules and site.pp to support the new
OS.. things like:
if ( $operatingsystem == "windows" ) {
Exec { path =>
"C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Ruby187\\bin"
}
} else {
And now am th
in32.sourceforge.net/downlinks/diffutils.php
- Run it: C:\Temp\diffutils-2.8.7-1.exe /silent
- Add "diff' to puppet.conf:
diff = "C:\Program Files\GnuWin32\bin\diff"
et voila.
Thanks,
Mohamed.
On Sun, Nov 20, 2011 at 7:21 PM, Josh Cooper wrote:
> On Sat, Nov 19, 2011 at 6:35 PM,
, 2011 at 6:02 PM, Mohamed Lrhazi wrote:
>>
>> I could swear this worked fine earlier.. Now facter, and hence puppet,
>> do not see the domain name anymore:
>>
>> What could cause this?
>>
>> C:\Temp>facter --version
>> 1.6.2
>>
>>
abs.com/issues/10417 Windows doesn't
> have a 'diff.exe' command by default.
> You can work around this by setting show_diff = false or by specifying
> appropriate values for 'diff' and 'diff_args'
> Josh
>
> On Fri, Nov 18, 2011 at 1:42 PM, Mohamed
Try adding -x to the bash (first line) to output each command as they are run...
What if you removed everything in the script but the shutdown
command.. does it work?
Mohamed.
On Sat, Nov 19, 2011 at 11:25 AM, Harish Agarwal wrote:
> I did the echo above and didn't get any output It's as
Maybe you need something like this:
http://www.oracle-base.com/articles/misc/OuiSilentInstallations.php
On Fri, Nov 18, 2011 at 9:23 PM, Douglas Garstang
wrote:
> This is pretty ugly.
>
> I'm using puppet to install Oracle, ie an exec{} wrapped around:
>
> /u01/oracle_extract/linux.x64_11gR2_dat
Cool. Thanks guys.
On Fri, Nov 18, 2011 at 9:18 PM, Nan Liu wrote:
> MSI wasn't added until 2.7.4, so error occurs during compilation on
> master, and you want the master version >= agent version.
>
> Nan
>
> On Fri, Nov 18, 2011 at 9:05 PM, Mohamed Lrhazi wrote:
&g
I just thought about that... It is: 2.7.1
On Fri, Nov 18, 2011 at 9:03 PM, Nan Liu wrote:
> On Fri, Nov 18, 2011 at 8:29 PM, Mohamed Lrhazi wrote:
>> OK. I figured how to use "apply", but it would not reproduce the
>> problem. the msiexec actually executes!
>&
I could swear this worked fine earlier.. Now facter, and hence puppet,
do not see the domain name anymore:
What could cause this?
C:\Temp>facter --version
1.6.2
C:\Temp>facter | findstr kernel
kernel => windows
kernelmajversion => 6.1
kernelrelease => 6.1.7601
kernelversion => 6.1.7601
C:\Temp>
OK. I figured how to use "apply", but it would not reproduce the
problem. the msiexec actually executes!
This module though, http://paste.ubuntu.com/742840/, causes the error:
http://paste.ubuntu.com/742841/
Thanks a lot,
Mohamed.
On Fri, Nov 18, 2011 at 8:05 PM, Mohamed Lrhazi wrot
Sorry I have not used apply before... I tried this, but does seem to
be right: http://paste.ubuntu.com/742820/
On Fri, Nov 18, 2011 at 7:30 PM, Josh Cooper wrote:
> Hi Mohamed,
> On Fri, Nov 18, 2011 at 4:24 PM, Mohamed Lrhazi wrote:
>>
>> Actually hold on.. am not sure w
e",
notify => Exec["reset_password"],
}
The Package resource indeed just says it does not like
"install_options" parameter!
Thanks,
Mohamed.
On Fri, Nov 18, 2011 at 6:33 PM, Josh Cooper wrote:
> Hi Mohamed,
> On Thu, Nov 17, 2011 at 8:10 PM, Moham
I'll try the msi args you have... my puppet and facter both directly
from github!
On Fri, Nov 18, 2011 at 6:33 PM, Josh Cooper wrote:
> Hi Mohamed,
> On Thu, Nov 17, 2011 at 8:10 PM, Mohamed Lrhazi wrote:
>>
>> C:\Users\ml623>puppet --version
>> 2.7.7
>>
ifying
> appropriate values for 'diff' and 'diff_args'
> Josh
>
> On Fri, Nov 18, 2011 at 1:42 PM, Mohamed Lrhazi wrote:
>>
>> Anybody knows what this error, bellow, means, the target file,
>> C:/Splunk/etc/system/local/inputs.conf, does exi
Anybody knows what this error, bellow, means, the target file,
C:/Splunk/etc/system/local/inputs.conf, does exist.
sometimes, if I delete the file, it does actually create it, but never
update it if it exists and changed...
The resource is defined as:
file { "splunk_inputs": owner
C:\Users\ml623>puppet --version
2.7.7
Puppet complains about a package resource I am trying to use saying:
Invalid parameter install_options
The resource is defined as:
package { "splunk":
name => $gu_splunk::client::splunk_package,
provider => 'msi',
ensure => installed,
thing like:
<%
hostname = scope.lookupvar('::hostname')
sandbox_servers = scope.lookupvar('::oracle_rac_sandbox_servers')
other_servers = scope.lookupvar('some_module::some_servers')
%>
Mohamed.
On Tue, Oct 25, 2011 at 9:38 PM, Mohamed Lrhazi w
I am trying to convert this:
<% if oracle_rac_sandbox_servers.include?(hostname) -%>
Into a format valid for the 2.8 version I try:
<% if
scope.lookupvar('::oracle_rac_sandbox_servers').include?(scope.lookupvar('::hostname'))
-%>
but I get syntax error, unexpected tIDENTIFIER, expecting ')
> -Dan
>
> On Mon, Oct 17, 2011 at 8:25 AM, Mohamed Lrhazi wrote:
>>
>> To be clearer.. am asking about "ENC setting the environment", just
>> 'finding it out".
>>
>>
>> On Mon, Oct 17, 2011 at 11:23 AM, Mohamed Lrhazi wrote:
>
To be clearer.. am asking about "ENC setting the environment", just
'finding it out".
On Mon, Oct 17, 2011 at 11:23 AM, Mohamed Lrhazi wrote:
> On Mon, Oct 17, 2011 at 8:53 AM, jcbollinger
> wrote:
>>
>>
>> On Oct 16, 6:38 pm, Mohamed Lrhazi wrot
On Mon, Oct 17, 2011 at 8:53 AM, jcbollinger wrote:
>
>
> On Oct 16, 6:38 pm, Mohamed Lrhazi wrote:
>> I tried to work around the problem by having a copy of the ENC per
>> environment, which would work for me too... but then that does not
>> work either:
>>
my
"puppet agent" call specified a different environment.
I guess the above is evaluated on master's start up, only once, not
per client invocation.
Thanks a lot,
Mohamed.
On Sun, Oct 16, 2011 at 1:26 PM, Mohamed Lrhazi wrote:
> Hello,
>
> I started writing an ENC and run
Hello,
I started writing an ENC and run into what seems like a chicken and
egg problem...
I was starting off by getting the client's facts from the inventory
service by getting:
https://puppetmaster:8140/production/facts/$client_hostname
and then was getting the "environment" from the fact name
/archives/2008/06/16/rework_of_puppet_facts_for_etcfactstxt.php
And so it is normal that the text file based custom facts do not exist
in the first run...
Thanks,
Mohamed.
On Thu, Oct 13, 2011 at 8:59 AM, jcbollinger wrote:
>
>
> On Oct 12, 4:23 pm, Mohamed Lrhazi wrote:
>> I have a cus
n__.PuppetFacts""")
facts_raw2 = facts_raw2.replace('"--- !ruby/sym _timestamp":',
'timestamp:')
Thanks,
Mohamed.
On Wed, Oct 12, 2011 at 5:23 PM, Jacob Helwig wrote:
> On Wed, 12 Oct 2011 17:13:36 -0400, Mohamed Lrhazi wrote:
>>
>
I have a custom fact called: gu_app_oracle_rac
Which gets set, indirectly, by puppet itself... and so in the very
first run it does not exist... I will be changing the whole business
of how I set these facts, but I need a quick workaround to the
following issue...
I have some templates using tha
On Wed, Oct 12, 2011 at 5:04 PM, Jacob Helwig wrote:
> On Wed, 12 Oct 2011 11:01:28 -0400, Mohamed Lrhazi wrote:
>>
>> Sorry for being off topic. am trying the following and yaml fails to
>> construct the object:
>>
>> The inventory document, from Puppet dashbo
Sorry for being off topic. am trying the following and yaml fails to
construct the object:
The inventory document, from Puppet dashboard inventory service, looks like:
--- !ruby/object:Puppet::Node::Facts
name: pirates.uis.example.com
values:
productname: VMware Virtual Platform
kerne
Cool. Thanks you so much guys.
Mohamed.
On Mon, Aug 8, 2011 at 2:39 AM, Peter Meier wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hi
>
>> I wanted to manage a couple of groups membership, under RedHat,
>> without managing the users (as they are LDAP users) but found out it
>> is n
Hello,
I wanted to manage a couple of groups membership, under RedHat,
without managing the users (as they are LDAP users) but found out it
is not supported Is there a workaround to this?
I tried:
group { "jbossd":
gid => 520,
members => ["user1","user2"],
}
Thanks a lot
There is bug open for your first question:
http://projects.puppetlabs.com/issues/3535
On Fri, May 6, 2011 at 12:47 PM, Christopher Lee wrote:
> Hello,
> I am playing with Puppet Dashboard and I have a few questions.
> First, as we start using puppet we are planning on running puppet agent from
>
On a "build" machine:
- Install an independent version of Ruby, I would recommend
http://www.rubyenterpriseedition.com/
Make sure *that* ruby is installed fully into one directory, such as
/my-opt/ruby-enterprise, nothing in /usr/this or /var/that or
whatever.
- Using *that* freshly installe
should be
work fine too.
Thanks,
Mohamed,
On Mon, Apr 25, 2011 at 9:39 PM, Mohamed Lrhazi wrote:
> and I was assuming puppet/facter/any other gems, would be installed as
> gems using REE.
> thats how I did it on Solaris and it works fine.
>
>
> On Mon, Apr 25, 2011 at 9:36 PM, Moh
and I was assuming puppet/facter/any other gems, would be installed as
gems using REE.
thats how I did it on Solaris and it works fine.
On Mon, Apr 25, 2011 at 9:36 PM, Mohamed Lrhazi wrote:
> there should be dependencies for REE.. is all goes under /opt/ruby-enterprise.
>
>
>
>
rise-ruby (or standard) with those dependencies there.
> Enterprise Ruby seems to have rolled their own rpms, prefixed with
> "pe-".
>
> I suppose you'll find out what dependencies are missing if you try
> running it on another host via the NFS mount :-)
>
>
verage change control 'revert' is to code the reverse operation while
> you code the change.
> I would compare it to rc init scripts what have 'start' and 'stop'
> operations. It is all a matter of coding standards and defensive
> design.
> -Peter
>
How about scan the network and collect IPs that are UP... then check
puppets facts db for missing IPs ?
On Tue, Apr 19, 2011 at 5:44 PM, Corey Osman wrote:
> Has anybody written a script that will scan the network to find systems not
> running puppet and ultimately send an email with the finding
Thanks Felix But how is Filebucket currently used? Is there a
"puppet agent --restore" functionality that I missed?
On Tue, Apr 19, 2011 at 3:20 AM, Felix Frank
wrote:
> On 04/18/2011 11:22 PM, Mohamed Lrhazi wrote:
>> I forgot to think about a little detail, while in
I forgot to think about a little detail, while introducing Puppet to
our environment :)
For each change to production systems, one has to submit a script
detailing what changes will be made and how to revert them back.. I
was wondering if any of you, who implemented something similar, would
care t
That definitely explains the db part.. I still have no clue why the
puppet agent ganerated facts would be effected by the database on the
master though.
Thanks a lot.
On Mon, Apr 18, 2011 at 9:39 AM, Frank Sweetser wrote:
> On 4/18/2011 12:38 AM, Mohamed Lrhazi wrote:
>>
>> This
+
| [gu_app_baner] |
| [gu_app_banner]|
| [gu_app_bboard]|
| [gu_app_gdoc] |
| [gu_app_oracle_oem]|
| [gu_app_oracle_rac]|
| [gu_env] |
| [gu_environment] |
| [gu_host] |
++
9 rows in set (0.00 sec
ot;gu_environment ": unset
Any pointers highly appreciated.
Thanks.
On Sun, Apr 17, 2011 at 9:29 PM, Mohamed Lrhazi wrote:
> Am trying to debug a weird issue...It seems that my custom facts
> generated when puppet agent is run against my test master are not the
> same as when
Am trying to debug a weird issue...It seems that my custom facts
generated when puppet agent is run against my test master are not the
same as when run against my prod master. What could explain that?
A bit more specifically, my custom facts are generated by the fact:
http://www.devco.net/archives
tches.
>
> Cheers,
> Den
>
> On 18/04/2011, at 4:15, Mohamed Lrhazi wrote:
>
>> I have code like this:
>>
>> case "$operatingsystem" {
>> "redhat": {
>> include gu_splunk::redhat
>> }
>> &
Oh... is it because I have this in my site.pp:
stage { pre: before => Stage[main] }
class { "gu_splunk::solaris_old": stage => pre }
If so then whats the correct way of doing what I am trying to do?
Thanks a lot,
Mohamed.
On Sun, Apr 17, 2011 at 2:15 PM, Mohamed Lrhazi wrot
I have code like this:
case "$operatingsystem" {
"redhat": {
include gu_splunk::redhat
}
"solaris": {
include gu_splunk::solaris_old
include gu_splunk::solaris
}
}
In gu_splunk::solaris_old I have an Exec like this:
exec { "
I would try something like:
file { "/var/tmp/files":
ensure => "directory",
...
notify => Exec[
exec { "foo":
command => "echo * | xargs tar xf ",
cwd => "/var/tmp/files",
refreshonly => true,
}
On Fri, Apr 15, 2011 at 12:29 PM, Prateep wrote:
> Hi all,
>
> Newbie questio
Hello,
When viewing the details of a report, files that changed have two
hyper-links, one for each version of the file. Clicking either of such
links give me a 500 error (We're sorry, but something went wrong.)
How do I debug this issue? am running dashboard behind apache, and see
no errors in th
Sure. but if you already configured access to puppetmaster on HTTPS,
it would be nice to use it, instead of adding and maintaining another
setup for HTTP access.
On Thu, Apr 14, 2011 at 6:54 PM, Cody Robertson wrote:
> Although I don't know the answer I'm curious as to why you're worried about
>
If I were to do this on Linux, I would use Enterprise Ruby, install it
into /opt/companyname/ruby-enterprise, then install puppet as a gem
with that ruby.
Thanks,
Mohamed.
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To post to this group, s
In my case, the mount (/opt/csw) is defined in the "/etc/vfstab" of
all the Solaris machines.
On Wed, Apr 13, 2011 at 4:53 PM, Forrie wrote:
> Do you have puppet monitor that particular NFS mount and do you mount
> it read-only (presumably).
>
>
>
> On Apr 13, 3:
no one solution (Enterprise version
> similarly).
>
>
>
> On Apr 13, 2:56 pm, Mohamed Lrhazi wrote:
>> Thats how we deployed to our Solaris hosts, ruby, puppet and
>> mcollective, all from OpenCSW, all on a readonly mounted share
>> "/opt/csw"
>> Seems
Thats how we deployed to our Solaris hosts, ruby, puppet and
mcollective, all from OpenCSW, all on a readonly mounted share
"/opt/csw"
Seems to work fine so far.
On Wed, Apr 13, 2011 at 2:40 PM, Forrie wrote:
> In our environ, there are several services that are deployed via an
> NFS mount, so t
Can I import all my existing classes/modules into the dashboard, or do
I have to create them in the GUI?
Thanks,
Mohamed.
--
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 uns
h I haven't yet found
> anything useful in the logs.
>
> On Mar 21, 2011, at 9:41 PM, Mohamed Lrhazi wrote:
>
>> I enabled debug log level in apache virtual and it seems like
>> puppetmaster is trying to speak http, instead of https.
>> Is https not supported f
Great thanks a lot.
On Mon, Apr 11, 2011 at 4:54 AM, Allan Clark wrote:
>> Hi Allan, would mind sharing a piece of manifest/template showing how
>> I can use that statement?
>>
>
> The below code will look for the files mentioned in $filelist inside
> the files directory of the module "some_modul
There's some rake tasks, and other things, suggested here:
https://github.com/puppetlabs/puppet-dashboard
On Mon, Apr 11, 2011 at 5:29 AM, Vincent wrote:
> Hello,
>
> since the last upgrade to V1.1.0
> The dashboard is very slow
>
> I notice this slow queries in the log :
>
> Node Load (14178.9
Sound like you need MCollective: http://docs.puppetlabs.com/mcollective/
On Sun, Apr 10, 2011 at 6:12 PM, John Chris Richards
wrote:
> Hi all
>
> I wanna take a list of running services on the client instantly. Can I
> do this with puppet?
> For example, is it possible to write a custom facter
Did you find an answer to this question?
How do you I import my classes/modules into the dashboard, so I can
use it as node terminus?
Thanks,
Mohamed.
On Mon, Jan 10, 2011 at 11:01 AM, Adriana wrote:
> Hello,
> I would like to know if it is possible to automatically import the
> puppet classes
Thanks, I had to add environment to make it pick the right creds: sudo
rake RAILS_ENV=production reports:schematize
Also turns out I did not need this, as I was not running a previous
version of dashboard :)
On Sat, Apr 9, 2011 at 6:56 PM, Patrick wrote:
>
> On Apr 9, 2011, at 12:16 PM, M
On Fri, Apr 8, 2011 at 11:35 AM, Nigel Kersten wrote:
> On Thu, Apr 7, 2011 at 11:27 PM, Patrick wrote:
>>
>> On Apr 4, 2011, at 1:39 PM, Patrick wrote:
>>
>>>
>>> On Apr 4, 2011, at 11:48 AM, Jacob Helwig wrote:
>>>
1. Reports will need to be converted to a new schematized format when
I guess the answer is drop and recreate an empty db, then restart puppet master!
On Sat, Apr 9, 2011 at 2:47 PM, Mohamed Lrhazi wrote:
> Trying to follow this document:
> https://github.com/puppetlabs/puppet-docs/blob/master/source/guides/inventory_service.markdown
>
> puppet does
1 - 100 of 202 matches
Mail list logo