Hi Nan,
yes it really looks like that.
I have puppet versin 3.3.1, but don't see an information in which version
it is solved.
Andreas
--
You received this message because you are subscribed to the Google Groups
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails fr
Thank you for the information. Now I have got a solution.
class facts::app_fact(
$app = hiera('app_fact',undef)
){
file{'/etc/facter':
ensure => directory,
owner => 'root',
group => 'root',
mode => '0755',
}
file{'/etc/facter/facts.d':
ensure => directory,
owne
Hi,
you can check it on the server with facter -p name_of_fact
in a class
notify{"My fact: $::name_of_fact":}
Andreas
--
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 e
All,
I've been working on a Hiera debugging tool, and it's now at the point
where I consider it to be a "minimally viable product".
Currently it will work with Puppet Enterprise and Open Source Puppet, and
you can supply identity for nodes by supplying YAML, JSON or a user (which
will be used
You could make a custom fact that indicates each site based on the IP
subnet that your pets reside on. Something as simple as an external fact
like:
#!/bin/sh
MYIP=`ifconfig | grep 'inet ' | grep -v 127.0.0.1 | awk '{ print $2 }' |
sed 's/addr://'`
case $MYIP in
10.1.3.*) my_site=minneapolis
While this isn't in manifests, I'd recommend you setup puppetdb, then hook
up the excellent puppetboard to it. It will give you visibility into such
things.
On Monday, November 3, 2014 1:43:50 PM UTC-6, Spriya wrote:
>
> Hi,
>
> I have created custom facts. how do i know if my custom facts exis
On Monday, November 3, 2014 10:39:14 AM UTC-6, Georgi Todorov wrote:
>
> On Friday, October 31, 2014 9:50:41 AM UTC-4, Georgi Todorov wrote:
>>
>> Actually, sometime last night something happened and puppet stopped
>> processing requests altogether. Stopping and starting httpd fixed this, but
On Monday, November 3, 2014 9:53:29 AM UTC-6, kbrede wrote:
>
> We're a small organization and all my servers are pets. I've made an
> effort to keep site specific data out of the manifest, but I haven't been
> able to completely.
> Hiera has been a big help in getting us most of the way.
>
>
Hello,
I am trying to install the module ppbrown-svcprop on my newly set up puppet
on Solaris 11 and constantly get the following error:
Error: can't convert nil into String
Error: Try 'puppet help module install' for usage
Googling did point me into the direction of a problem with the modulepa
Hi,
While implementing custom facts in our environment I did some
experimenting with structured
facts in our Puppet manifests. Puppet is 3.7.2, Facter is 2.3.0, Master
and Agent run on the
same VM, future parser is on and stringify_facts is disabled.
I failed at using one of my custom facts (
Tags are an interesting way to tackle this issue. Thanks for pointing that
out.
On Monday, October 27, 2014 5:34:06 PM UTC-4, Ramin K wrote:
>
> On 10/27/14 7:43 AM, jcbollinger wrote:
> >
> > On Friday, October 24, 2014 12:51:27 PM UTC-5, Mark Rosedale wrote:
> >
> > Hello,
> >
> >
On Tuesday, November 4, 2014 9:50:15 AM UTC-5, jcbollinger wrote:
>
> By far the biggest difference is is File retrieval time. This will be for
> File resources where you specify content via a 'source' parameter rather
> than via a 'content' property. The agent must make a separate request to
So I'm setting up puppet environments. This is what I have in my
puppet.conf under the [master] section
environmentpath = $confdir/environments
Now if I set environment inside the puppet.conf it will grab the
environment I have set up ($confdir/environments/test), but if I set it in
hiera it
FYI, here you can see some sample hiera data:
https://gist.github.com/alvagante/b8f67647c78590f3e67a
On Tuesday, October 28, 2014 8:17:24 PM UTC+2, Anthony Clark wrote:
>
> It was indeed an issue with the network class not being included in the
> particular environment I was using.
>
> I've remed
Hello friends. I'm having a hard time recovering a catalog for the first time
in a local agent with a master on amazon. Only the master is on Amazon. When
I use "puppet agent --test" he says "err: Could not retrieve catalog from
remote server: Server hostname 'puppetmaster' did not match server
Puppet 3.7.3 is a bug fix release in the Puppet 3.7 series. It gives Windows
users the useful new `$system32` fact (due to packages now pulling in Facter
2.3), and fixes some bugs with directory environments, the `PATH` variable on
Windows, and the future parser. It also lays groundwork for some
16 matches
Mail list logo