On 26 November 2014 at 21:52, R.I.Pienaar wrote:
> puppet apply -e '$FooBar="1" notice($FooBar)' --parser=future
> Error: Illegal variable name, The given name 'FooBar' does not conform to
> the naming rule /^((::)?[a-z]w*)*((::)?[a-z_]w*)$/ at line 1:1
>
> Which is weird because 'fooBar' also do
Hi,
I tried that also whether the fact is returing nil or by writing into
separate facts
Here is the code:
Facter.add("java_foundversion#{java_count}_foundversion") do
setcode do
java_version[1]
end
end
#end
#end
#end
#end
Facter.add("java_foundversion#{java_count}_path") do
setcode do
If that's happening, then one of the facts must be returning nil.
On Wed, Nov 26, 2014 at 10:25 AM, Spriya
wrote:
> Hi,
>
> When i am concatenating using your method. Its only returning one values.
> It should have version in front of path
>
> Facter.add("java_foundversion#{java_count}_foundver
Hi,
When i am concatenating using your method. Its only returning one values.
It should have version in front of path
Facter.add("java_foundversion#{java_count}_foundversion#{java_count}_path")
do
setcode do
java_version[1] + java_path
end
end
The output of facts
/opt/puppet/bin/facter
@ATXPUG has gotten off to a great start this year and I would like to
invite everyone to join us for our last two meet ups of the year!
December 4th 2014 - ATXPUG will be doing an on-site collaborative effort
with the #puppethack online hackday at HomeAway. There will be food, lunch,
coffee a
- Original Message -
> From: "jcbollinger"
> To: "puppet-users"
> Sent: Wednesday, November 26, 2014 1:47:41 PM
> Subject: [Puppet Users] Re: Puppet 4.0 Future Parser, Variable Case
> On Tuesday, November 25, 2014 7:38:09 PM UTC-6, Matthew Walster wrote:
>>
>> There seems to be a littl
On Tuesday, November 25, 2014 7:38:09 PM UTC-6, Matthew Walster wrote:
>
> There seems to be a little ambiguity in the documentation for the future
> parser, I was wondering if someone could clear this up for me -- I'm
> referencing
> https://docs.puppetlabs.com/puppet/latest/reference/experim
Hi,
please note that
create_resources('iis::manage_site', hiera_hash('iis::sites', []))
is not the most atomic way of looking up hiera data at all. You could do
the same thing like this:
$sites = hiera('iis::sites', {})
create_resources('iis::manage_site', $sites)
This gives you the advantage
Hi,
You need:
puppet:///modules/...
https://docs.puppetlabs.com/guides/file_serving.html
for details.
Den
> On 26 Nov 2014, at 17:43, Jegadeesh Kumar wrote:
>
> source => "puppet://modules/files/etc/motd"
--
You received this message because you are subscribed to the Google G
Hi All,
I am building a cluster of nodes in a master-less configuration.
I wanted to ask for some assistance in setting a fact based on an included
role, early on in the configuration so that this fact is available for all
profiles further down the deployment track.
I have the necessary config
There seems to be a little ambiguity in the documentation for the future
parser, I was wondering if someone could clear this up for me -- I'm
referencing
https://docs.puppetlabs.com/puppet/latest/reference/experiments_future.html
:
"Variable names may not contain capital letters. They are limi
I am a new bee in puppet world.
I wrote one class to copy a file from puppet master to puppet agent. i
puppet client says following error.
Error: /Stage[main]/Motd/File[motd]: Could not evaluate: Could not retrieve
file metadata for puppet://modules/files/etc/motd: getaddrinfo: Temporary
fai
12 matches
Mail list logo