Displaying 6 results from an estimated 6 matches for "uptime_second".
Did you mean:
uptime_seconds
2012 Dec 14
11
Puppet and Mcollective yaml file changing when it shouldn't
...uple different entries each run.
Here is the file resource --
"/var/tmp/facts.yaml":
owner => root,
group => root,
mode => 400,
loglevel => debug,
content => inline_template("<%= scope.to_hash.reject { |k,v| k.to_s
=~ /(uptime_seconds|uptime_hours|timestamp|free)/ }.to_yaml %>")
Any thoughts or suggestions? Seems like an odd one to me.
-Z
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/m...
2012 Jul 10
2
Refresh not working with launchd service provider?
...<string>/usr/local/bin/example.sh</string>
</array>
</dict>
</plist>
Here''s the example.pp file:
$service_name = ''net.davidlballenger.example''
$file_path = "/var/tmp/${service_name}"
file { $file_path :
content => $uptime_seconds ,
}
service { $service_name :
ensure => running,
enable => true,
subscribe => File[ $file_path ],
}
The File resource is updated with the facter variable $uptime_seconds each time it runs. And the Service subscribes to the that File resource.
Assuming the script and...
2009 Dec 09
3
facter 1.5.7 all lsb* items missing
....8.5
selinux => false
serialnumber => VMware-50 10 78 a0 ba 0f ad 0a-3d 47 f5 59 99 22 bd b8
sshdsakey =>
sshrsakey =>
swapfree => 1.45 GB
swapsize => 2.00 GB
timezone => CST
type => Other
uniqueid => xxxxxx
uptime => 17 days
uptime_days => 17
uptime_hours => 416
uptime_seconds => 1499360
virtual => vmware
--
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-users+unsubscribe@googlegroups....
2012 Oct 16
0
Tracing puppet processing for HP-UX user passwords
...pt/thunderbird:/opt/sentinel/bin:/opt/langtools/bin:/opt/wlm/bin:/opt/gwlm/bin:/sbin:/home/root:/usr/local/bin
ps => ps -ef
puppetversion => 2.7.19
rubysitedir => /usr/local/lib/hpux32/ruby/site_ruby/1.8
rubyversion => 1.8.7
uptime => 6 days
uptime_days => 6
uptime_hours => 164
uptime_seconds => 593014
virtual => hpvm
--
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/VUF2tqWzNWoJ.
To post to this group, send email to puppet-users@goo...
2012 Jun 18
8
Conditional with variable from facter
Hi.
I have the following facts available:
# facter | grep oper
operatingsystem => CentOS
operatingsystemrelease => 6.2
Now, if I wish to use conditionals on these facts, I have to do it like
this:
case $operatingsystem {}
case $::operatingsystemrelease {}
I''m puzzled as to why can''t I just use $operatingsystemrelease, and what
do these two semicolons mean?
Thank
2013 Apr 18
4
fact_stomp_server
Does anyone have any insight into this error message?
err: Could not retrieve catalog from remote server: Error 400 on SERVER:
The fact named fact_stomp_server does not appear to be a valid hostname.
The value of '''' does not match ''^[a-zA-Z0-9.-]+$''. A common cause of this
problem is running puppet agent as a normal user instead of root, or the
fact is