Hi Nan,
thanks a lot. That works and gave me the right direction, in the end
one can use:
resource_type.validproperties (or self.class.resource_type.validproperties)
Next time I'll check out puppet-dev.
Bye
Frederik
P.S.: BTW nice introductory book ;-)
On Wed, Sep 17, 2014 at 6:43 PM, Nan
On 17/09/14 17:29, Trevor Vaughan wrote:
Ah, so looking at warranty.rb and then stdlib...puppet_vardir.rb, you
may be missing this:
begin
require 'facter/util/puppet_settings'
rescue LoadError = e
# puppet apply does not add module lib directories to the $LOAD_PATH
(See
# #4248). It
On Thursday, September 18, 2014 4:36:16 AM UTC-5, Jonathan Gazeley wrote:
On 17/09/14 17:29, Trevor Vaughan wrote:
Ah, so looking at warranty.rb and then stdlib...puppet_vardir.rb, you
may be missing this:
begin
require 'facter/util/puppet_settings'
rescue LoadError = e
On 18/09/14 14:27, jcbollinger wrote:
On Thursday, September 18, 2014 4:36:16 AM UTC-5, Jonathan Gazeley wrote:
Could not retrieve fact='warranty_start',
resolution='anonymous': undefined method `[]' for nil:NilClass
Could not retrieve fact='warranty_end',
On Wednesday, September 17, 2014 10:55:12 PM UTC-5, François Lafont wrote:
Thank you for your answer.
Le 17/09/2014 17:12, jcbollinger a écrit :
class my_module (
$var1 = $my_module::params::var1,
$var2 = $my_module::params::var2,
) inherits my_module::params {
On Thursday, September 18, 2014 9:26:12 AM UTC-5, Jonathan Gazeley wrote:
On 18/09/14 14:27, jcbollinger wrote:
2) The get_data() function relies on the ::serialnumber fact. I am
uncertain how that fact is computed, but maybe something changed that
affected its result.
On
On 18/09/14 15:53, jcbollinger wrote:
On Thursday, September 18, 2014 9:26:12 AM UTC-5, Jonathan Gazeley wrote:
On 18/09/14 14:27, jcbollinger wrote:
2) The get_data() function relies on the ::serialnumber fact. I
am uncertain how that fact is computed, but maybe something
Wondering if anyone has seen this issue before:
[root@xxpuppet2 puppet]# puppet agent -t
Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: end of file reached
Info: Retrieving pluginfacts
Info: Retrieving plugin
Error: /File[/var/lib/puppet/lib]: Failed to
On Thu, Sep 18, 2014 at 9:37 AM, Steve Perry askil...@gmail.com wrote:
Wondering if anyone has seen this issue before:
[root@xxpuppet2 puppet]# puppet agent -t
Warning: Unable to fetch my node definition, but the agent run will
continue:
Warning: end of file reached
Info: Retrieving
Hello all,
I have been banging my head against this one for a couple of days. I am
trying to use Powershell to comb the Windows registry for installed
applications, such as VMware Tools, to create a custom facter. If I run
this code from a PS prompt it works, and returns the expected data:
PS
Hi!
We use puppet 3.6.2 with several environments. One of them is vagrant based
environment called 'localdev' which is intended for local use only. Also we
keep all the secret data like passwords and related stuff in csv files which
reside in separate repository. We use extlookup() function to
I almost forgot. I have also tried setting the exec line up as a variable,
and returning that variable, to no effect.
--
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 email
Thanks for the reply Kylo -
We were running puppet 3.7.1-1. After seeing this, I checked the keep
alive settings in httpd.conf and KeepAlive was off. After enabling
KeepAlive and setting it to 15 seconds, I was still seeing the same issue.
I took a snapshot of the virtual machine and then
Old topic but i was wondering how secure is the git masterless setup.
Do you have to separate each node configuration in a git branch or sub
directory?
I mean if you git clone the whole repo isn't a bit dangerous to have all
the configuration on the node?
In a master/agent configuration the
It depends on how you organize/protect your repos.
If you use something like Gitolite, you can restrict branches to specific
users which would let you enforce central isolation.
However, a mistake on a branch or permissions could indeed lead to
sensitive information leaks.
Trevor
On Thu, Sep
On Thu, Sep 18, 2014 at 2:11 PM, Brian Morris nomadicextre...@gmail.com
wrote:
Hello all,
I have been banging my head against this one for a couple of days. I am
trying to use Powershell to comb the Windows registry for installed
applications, such as VMware Tools, to create a custom facter.
On Thu, Sep 18, 2014 at 3:54 PM, Rob Reynolds r...@puppetlabs.com wrote:
On Thu, Sep 18, 2014 at 2:11 PM, Brian Morris nomadicextre...@gmail.com
wrote:
Hello all,
I have been banging my head against this one for a couple of days. I am
trying to use Powershell to comb the Windows registry
Holy cow, Rob... that was great info! All I did was change System32 to
sysnative, and it worked on the first try. All of that frustration boiled
down to one part of one path...
Thank you for the link, too. It helps to understand why this happens.
Cheers to you!
On Thu, Sep 18, 2014 at 1:59 PM,
I decided to try out 'parser = future' today, and the first thing
to fail was puppetlabs-apache, with errors along the lines of:
Filepath: /srv/puppet/env/puppet/modules/apache/templates/httpd.conf.erb
Line: 19
Detail: comparison of Float with String failed
There's
+1 for a plan for this
On Thu, Sep 18, 2014 at 2:16 PM, Tim Skirvin tskir...@fnal.gov wrote:
I decided to try out 'parser = future' today, and the first thing
to fail was puppetlabs-apache, with errors along the lines of:
Filepath:
Hi,
Le 18/09/2014 16:40, jcbollinger a écrit :
Sorry, I worded that very poorly.
Really no problem. ;)
Class my_module inherits my_module::params. Absent my_module declaring its
own local variables $foo1 and $foo2, the inheritance results in variables
$::my_module::params::foo1 and
On Thu, Sep 18, 2014 at 2:17 PM, Brian Morris nomadicextre...@gmail.com
wrote:
Holy cow, Rob... that was great info! All I did was change System32 to
sysnative, and it worked on the first try. All of that frustration boiled
down to one part of one path...
Thank you for the link, too. It
Thank you for that, Josh, as well as for creating the Powershell module for
Puppet. I hope to meet both you and Rob at PuppetConf next week.
On Thu, Sep 18, 2014 at 4:24 PM, Josh Cooper j...@puppetlabs.com wrote:
On Thu, Sep 18, 2014 at 2:17 PM, Brian Morris nomadicextre...@gmail.com
wrote:
Things like
require: File['somefile']
or
require:
File: somefile
both crash, and burn.
Not having a require also causes failure as it tries to do things it
can't without the prerequisite.
After hours of searching I couldn't find any examples to work from.
--
teknotus (Take Notice)
--
Greetings,
(puppet-server-3.5.1 on CentOS 6.4)
I'm writing my own nodejs manager in Puppet and I want to enforce a version
number
I have generated the module skeleton with the command: # puppet module
generate company-nodejs
in /etc/puppet/modules
I then created
The Puppet file you pass to an apply is basically a full site.pp, so try
adding a node default {…} around your resources.
See https://github.com/jhermann/devpi-puppet/blob/master/site.pp#L31 for an
example.
--
You received this message because you are subscribed to the Google Groups
26 matches
Mail list logo