hi,
Could you test the same with puppet apply on the client itself
On 16 June 2015 at 07:42, Franck wrote:
> We've been experiencing a lot of "Command exceeded timeouts" on basic
> shell commands using the "exec" type for tasks that should execute fairly
> fast:
>
> Jun 15 15:45:44 host1 puppet
Hello,
Any hint on this ?
Thanks.
On Wednesday 14 January 2015 05:22 PM, Ashish Jaiswal wrote:
Hi,
I have a custom facter which spits out like this
# facter -p
xfs_mounts => ["/docroot", "/ecr", "/intprd", "/mysql"]
Now I want to iterate ove
Hi,
I have a custom facter which spits out like this
# facter -p
xfs_mounts => ["/docroot", "/ecr", "/intprd", "/mysql"]
Now I want to iterate over this. so thought lambda is the one.
$a=$xfs_mounts
each($a) | $value | { device { $value : } }
which is not working, giving error as follo
Hi,
Something like this .
$baseos_dir = [
"/opt/",
"/opt/bin/",
"/opt/other",
"/opt/other/src",
"/opt/other/nosrc",
"/opt/other/downloads",
"/opt/other/javalib",
"/opt/man",
"/opt/man/m
false
end
end
end
On Thursday 20 November 2014 09:45 AM, Ashish Jaiswal wrote:
Hi,
Just a quick hack.
javaversion.rb
require 'facter'
Facter.add(:is_javaversion) do
setcode do
a = File.readlines('javaversion.txt').map { |x| x.
Hi,
Just a quick hack.
javaversion.rb
require 'facter'
Facter.add(:is_javaversion) do
setcode do
a = File.readlines('javaversion.txt').map { |x| x.chomp }.join
if Facter.value(:java_known_weblogic_version1) == a
true
e
Hi,
This is what you are looking for, I guess.
@datacenter.rb
require 'facter'
Facter.add(:datacenter) do
setcode do
datacenters = { '10.220' => 'HOUSTON', '10.221' =>
'AUSTIN' }
ip = Facter.value(:ipaddress)
network = datacenters.keys.
Hello,
> 3. How to install a package from the tarballs and specify some
parameters to the install process?
There is already a nice defination called netinstall, I have used it and
tweak a lill bit for my enviornment.
https://github.com/example42/puppi/blob/master/manifests/netinstall.pp
On
, Ashish Jaiswal wrote:
Hello,
Just trying to write a custom function. Basically looking to pass an
argument from manifest and value should get calculated.
module Puppet::Parser::Functions
newfunction(:shmmax, :type => :rvalue) do |args|
def shmmax(a
in
sysctl.conf file
Its just fails, Any pointer what is wrong here ?
Regards,
Ashish Jaiswal.
--
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
Hi,
Basically you don't need to cache it, you can store the reports in
puppetdb or in filebucket.
https://docs.puppetlabs.com/references/3.7.latest/type.html#file-attribute-mtime
Or let us know what is your actual goal. You don't want your file to get
change, if change (check mtime) then rep
Hi,
You can check for the mtime in file resource.
On Friday 10 October 2014 10:50 AM, ganesh634 wrote:
How can i identify if the file content is changed in subsequent client
run.
Need this information for new resource implementation, which will take
action
only if file contents are modifie
Hi,,
Have you tried deleting the existing directory of master and agent..
rm -frv /var/lib/puppet/ssl
Try this and see if this work!!
Regards,
Ashish Jaiswal
On Aug 28, 2012 8:58 PM, "Bai Shen" wrote:
> I'm trying to get puppet to connect to my puppetmaster, but I keep
Hi,
To me it seems to be permission issue on SSL directory on master .. can you
let me what is the permission on SSL directory ..
This is just a wild guess..
Regards,
Ashish Jaiswal
On Aug 28, 2012 12:53 PM, "Edward Tuan" wrote:
> I've been confused by this question for n
Hi..
Can you check date and time on both master and agent.. it should be in sync
with master..
Regards,
Ashish Jaiswal
On Aug 28, 2012 2:38 PM, "Ajeet Raina" wrote:
> Hi,
>
> I have a puppet master and agent installed. I want to generate and
> configure master-agent ce
>>> >> --
>>> >> 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@google
16 matches
Mail list logo