Displaying 20 results from an estimated 4000 matches similar to: "Use onlyif in EXEC"
2012 Feb 29
3
Modifying a FACT Value In a Manifest
In my network every subnets default gateway is X.X.X.1. That router
gateway is always running ntpd which I want to give be default as the ntp
server in every hosts ntp.conf.
Since there is no official "default gateway" fact yet, what I want to be
able to do in my manifest is take the $ipaddress fact and turn it into the
gateway for that subnet.
For example...
IP = 10.1.1.12
GW =
2011 Nov 18
10
msi package provider: Invalid parameter install_options
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,
source =>
2011 Nov 28
4
Puppet Windows: Spaces in file paths a problem?
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 I read that.
Thanks a lot,
Mohamed.
--
You received this message because you are
2011 Nov 29
5
puppetlabs-firewall: source param as array
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
2011 Apr 13
17
Deploy puppet via NFS?
In our environ, there are several services that are deployed via an
NFS mount, so that the executables and configs are consistent across
the board.
Is there any reason why this couldn''t be done with Puppet? For
example, each individual system would contain its own /etc/puppet and
rc.d and pid files -- but the primary deployment would come from
NFS.
For that matter, as Enterprise
2011 Oct 12
4
Python yaml help
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
kernelmajversion: "2.6"
My code:
class PuppetFacts(yaml.YAMLObject):
yaml_tag =
2011 Feb 10
3
Unwanted whitespace generated by template
I have this in a template:
===============cut here=====================
# Allow ICMP traffic
-A RH-Firewall-1-INPUT -p icmp --icmp-type any -j ACCEPT
<% if netbackup_master_servers %>
<% netbackup_master_servers.each do |master_server| -%>
# Allow communication with NetBackup master server <%= master_server[0] %>
-A RH-Firewall-1-INPUT -p tcp -m tcp -s <%= master_server[1]
2011 Nov 22
3
Puppet Windows: msi packages removal
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 rememebr to delete that too.... Is this design not a problem?
Thanks,
Mohamed.
--
You received this
2011 Jan 25
5
puppet ca: Invalid method to apply
What does this message mean:
[root@pirates puppet]# rm -rf /var/lib/puppet/ssl/
[root@pirates puppet]# puppet cert --version
2.6.3
[root@pirates puppet]# puppet cert
notice: Signed certificate request for ca
notice: Rebuilding inventory file
Invalid method to apply
It seems to have created the ca and other things just fine.
Thanks,
Mohamed.
--
You received this message because you are
2011 Nov 19
2
Facter Windows: domain is "none"
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>facter fqdn
NCS-VDI-05.none
C:\Temp>facter hostname
NCS-VDI-05
2010 Oct 06
5
How do you ensure safety from errors/bugs in large deployments?
Hello all,
This is not a puppet proper issue of course.. but I was wondering if
any of you could share some thoughts...
When you deploy a system like Puppet at a large park of systems, you
instantly increase the efficacy of mistakes and bugs in destroying the
environment....
How do you deal with that? I would be interested in any experience or
input, especially puppet proper best practices...
2010 Oct 05
32
puppet push mode
Hello All,
I am trying to put puppet into push mode only. The instructions I''ve seen
have said to put listen=true in puppet.conf but that doesn''t seem to have
stopped the pull every 30 minutes. What else needs to be set?
Thanks,
Jim
--
“Twenty years from now you will be more disappointed by the things that you
didn’t do than by the ones you did do. So throw off the bowlines.
2011 Jan 07
4
facter --puppet does not report "environment"
Is it normal that "facter --puppet" does not show the environment
variable? is there a way to have it include it?
Thanks a lot,
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 unsubscribe from this group, send email to
2011 Mar 15
2
How do you distribute ruby-augeas for ruby-entreprise?
We are using ruby-entreprise, instead of redhat''s default ruby.... I
was trying to deploy the needed gem using:
/opt/ruby-enterprise/bin/gem install --no-rdoc --no-ri
/tmp/ruby-augeas-0.3.0.gem
But found out this would require gcc to be installed!
How can I preb-build this gem to remove the need for gcc on the nodes?
is there an option of the gem command to generate a distributable
2011 Nov 18
5
Puppet on windows: File resource problem
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 => SYSTEM, group
=> SYSTEM, mode => 664, require =>
2011 Apr 07
4
$environment in File source not working
am I doing something wrong?
this seems to never find my .$env file:
source => [
"puppet:///modules/gu_puppet/puppet.conf.$fqdn",
"puppet:///modules/gu_puppet/puppet.conf.$environment",
"puppet:///modules/gu_puppet/puppet.conf.$operatingsystem",
"puppet:///modules/gu_puppet/puppet.conf"
]
It
2011 Mar 31
5
Exclude a resource from reports
A little while back I asked how to make puppet not report on a
resource.. and was shown the loglevel metaparam:
Quoting bellman@nsc.liu.se:
There is a metaparameter called ''loglevel''. If you set that
to something lower than "notice" (i.e. either "info" or "debug"),
then Puppet won''t report that it applied the resource...
So I made my
2006 Aug 01
2
Indexing issue
Hi,
R is having the following weird behavior and I am not sure if that is a
feature or a bug:
I am working on the following "3D" array:
> bIm
, , 1
[,1]
[1,] TRUE
[2,] TRUE
[3,] TRUE
[4,] TRUE
[5,] TRUE
> class(bIm)
[1] "array"
> dim(bIm)
[1] 5 1 1
When I try to get the first 2D subarray, the whole thing folds into a
vector:
> bIm[,,1]
[1] TRUE TRUE TRUE
2011 Aug 07
3
Workaround to "Provider groupadd does not support features manages_members" ?
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.
Mohamed.
--
You received this message because you are
2010 Aug 19
7
External CA: Could not run: Could not retrieve certificate for puppetsrv and not running on a valid certificate authority
Hi Experts,
I''m trying to generate my own certificates (all of them, including certs for
CA, server and client) for puppet to use.
and I''m getting "Could not run: Could not retrieve certificate for puppetsrv
and not running on a valid certificate authority"
Just wondering what the problem could be?
What I did is:
1. generate a self signed CA cert, and save the